Skip to content
Merged

testing #1469

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ commands:
command: pnpm setup # Run setup to configure the global bin directory
- run:
name: Install dependencies
command: npm install -g pnpm && pnpm install
command: npm install -g pnpm && pnpm install --no-frozen-lockfile
- save_cache:
key: v1-pnpm-cache-{{ checksum "pnpm-lock.yaml" }}
paths:
Expand Down
19 changes: 15 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "🔍 Running automatic fixes before pushing..."
pnpm fix

# Try multiple ways to run pnpm
if command -v pnpm >/dev/null 2>&1; then
# Direct pnpm if available in PATH
pnpm fix
elif [ -f "$(npm root -g)/pnpm/bin/pnpm.cjs" ]; then
# Try global NPM installation path
"$(npm root -g)/pnpm/bin/pnpm.cjs" fix
elif command -v npx >/dev/null 2>&1; then
# Fallback to npx if available
npx --no-install pnpm fix
else
echo "⚠️ Could not find pnpm. Skipping automatic fixes..."
exit 0 # Don't fail the push, just continue
fi

# Check if there are any changes after running fixes
if [ -n "$(git status --porcelain)" ]; then
Expand Down
8 changes: 6 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build]
command = "pnpm install --no-frozen-lockfile && pnpm build"
publish = ".next"

[build.environment]
PNPM_VERSION = "10.2.0"
NODE_VERSION = "20.11.0"
NODE_VERSION = "20.11.0"
NPM_FLAGS = "--no-frozen-lockfile"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"lint": "eslint . --ext mdx --max-warnings 0 && pnpm spellcheck:lint && pnpm check-breadcrumbs && pnpm check-redirects && pnpm validate-metadata && pnpm link-checker",
"fix": "eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm breadcrumbs && pnpm fix-redirects && pnpm metadata-batch-cli && pnpm fix-links",
"fix": "eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm fix-redirects && pnpm metadata-batch-cli && pnpm fix-links",
"spellcheck:lint": "cspell lint \"**/*.mdx\"",
"prepare": "husky",
"spellcheck:fix": "cspell --words-only --unique \"**/*.mdx\" | sort --ignore-case | uniq > words.txt",
Expand Down
2 changes: 1 addition & 1 deletion pages/app-developers/transactions/estimates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It's important to properly estimate the cost of a transaction on OP Mainnet befo
Here you'll learn how to estimate both of the components that make up the total cost of an OP Mainnet transaction, the [execution gas fee](./fees#execution-gas-fee) and the [L1 data fee](./fees#l1-data-fee).
Make sure to read the guide on [Transaction Fees on OP Mainnet](./fees) for a detailed look at how these fees work under the hood.

## Execution gas fee
## Execution gas fee

<Callout type="info">
Estimating the execution gas fee on OP Mainnet is just like estimating the execution gas fee on Ethereum.
Expand Down