Skip to content

chore: Upstream resync/merge, Apr15 #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
b40cf42
validation/standard: Add op-program/v1.5.0-rc.4 prestates (#937)
sebastianst Mar 11, 2025
84bce73
add snaxchain (#862)
emiliano-conduitxyz Mar 12, 2025
c1bcf36
adding settlus sepolia to superchain (#924)
bbehrman10 Mar 13, 2025
2c60e57
Add v3.0.0-rc.2 following backport (#939)
mslipper Mar 14, 2025
3288ed0
Fix codegen (#944)
mslipper Mar 19, 2025
f8084c7
Update standard prestates with latest rc (#943)
mbaxter Mar 19, 2025
1ab4870
Update hardfork-activation-inheritance.md (#945)
geoknee Mar 20, 2025
1a5d7a2
bugfix: Versions check OPCM (#942)
mslipper Mar 25, 2025
1c314dc
feat: adds settlus mainnet (#925)
bbehrman10 Mar 26, 2025
934ea2d
Update params for U14 operator fee (#949)
mslipper Mar 26, 2025
5f53347
Add op-program release 1.5.0 to standard-prestates (#952)
pauldowman Mar 28, 2025
ab269b0
Update base devnet pectra blob schedule fix time (#957)
cody-wang-cb Mar 31, 2025
1dd628c
[cyber-testnet] add `pectra_blob_schedule_time` hardfork time (#946)
atenjin Mar 31, 2025
e8d75a1
[funki-testnet] add `pectra_blob_schedule_time` hardfork time (#947)
atenjin Mar 31, 2025
e9cd97b
Set Isthmus activations for sepolia and devnets (#956)
sebastianst Mar 31, 2025
4561af7
Lisk sepolia: superchain config update (#955)
anirudhmakhana Mar 31, 2025
68f1478
Update worldchain.toml (#941)
sbvegan Mar 31, 2025
877ef2c
Add new value for EIP-1559 elasticity for WorldChain Sepolia and Main…
delyand Mar 31, 2025
f86350d
Make opcm checksum (#958)
ControlCplusControlV Mar 31, 2025
a867965
Update Unichain Sepolia SuperchainConfig (#959)
winnsterx Apr 1, 2025
f420e28
Update README.md (#961)
geoknee Apr 3, 2025
9dc8a7d
Add Boba Sepolia (#962)
mslipper Apr 3, 2025
d219063
chore: update monorepo import (include op-fetcher) (#966)
bitwiseguy Apr 7, 2025
fb90035
Add v1.6.0-rc.1 prestate (#965)
ajsutton Apr 7, 2025
84838da
Revert "Add new value for EIP-1559 elasticity for WorldChain Sepolia …
sebastianst Apr 9, 2025
5dc054c
ops: integrate op-fetcher (#951)
bitwiseguy Apr 10, 2025
51804a3
codegen: initial use of op-fetcher (#963)
bitwiseguy Apr 10, 2025
4791054
mainnet: Schedule Isthmus hardfork on Mainnet Superchain (#972)
sebastianst Apr 11, 2025
65e2a87
feat: add Boba Sepolia (28882)
mmontour1306 Apr 15, 2025
4f4e5be
feat: add Boba Sepolia Devnet (288882)
mmontour1306 Apr 15, 2025
9b50716
feat: add Boba Mainnet (288)
mmontour1306 Apr 15, 2025
0518c64
feat: add Boba BNB Testnet (9728)
mmontour1306 Apr 15, 2025
0bd2931
feat: add extra bytecodes
mmontour1306 Apr 15, 2025
c1672ae
feat: add extra "boba.json" files
mmontour1306 Apr 16, 2025
0cf3f2f
chore: merge Boba info into common files
mmontour1306 Apr 16, 2025
53ddcb8
chore: Merge commit 'f420e28' into upstream-resync-apr15
mmontour1306 Apr 16, 2025
40382af
chore: Merge commit '9dc8a7d' into upstream-resync-apr15
mmontour1306 Apr 16, 2025
4036020
chore: Merge commit '4791054' into upstream-resync-apr15
mmontour1306 Apr 16, 2025
df5b020
fix: remove "-x" permissions on compressed json files.
mmontour1306 Apr 16, 2025
75f148d
fix: add a definition so that bnb-testnet is recognized as a superchain
mmontour1306 Apr 16, 2025
c0ecd94
fix: set superchain_level=0 and add "governed_by_optimism = false"
mmontour1306 Apr 16, 2025
2fbb547
fix: Update boba.toml syntax
mmontour1306 Apr 16, 2025
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
79 changes: 75 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,79 @@ jobs:
cd ops
go run ./cmd/print_staging_report/main.go

check-codegen:
circleci_ip_ranges: true
docker:
- image: <<pipeline.parameters.default_docker_image>>
steps:
- utils/checkout-with-mise
- run:
name: check-codegen-for-changed-chains
command: |
set -e

# Get list of changed files
CHANGED_FILES=$(git diff --name-only origin/main... | grep "^superchain/configs/.*\.toml$" || true)
if [ -z "$CHANGED_FILES" ]; then
echo "No .toml files changed in superchain/configs, skipping codegen check"
exit 0
fi

# Extract chain_ids from changed .toml files
CHAIN_IDS=""
CHAIN_ID_COUNT=0
CHANGED_FILE_COUNT=0

for file in $CHANGED_FILES; do
# If the file is the superchain.toml file, skip it
if [[ "$file" == *"superchain.toml" ]]; then
continue
fi

CHANGED_FILE_COUNT=$((CHANGED_FILE_COUNT + 1))
# Use yq to extract chain_id from TOML
CHAIN_ID=$(yq -p=toml -o=json '.chain_id' "$file" | grep -v "null" | tr -d '"')

if [ -n "$CHAIN_ID" ]; then
if [ -z "$CHAIN_IDS" ]; then
CHAIN_IDS="$CHAIN_ID"
else
CHAIN_IDS="$CHAIN_IDS,$CHAIN_ID"
fi
CHAIN_ID_COUNT=$((CHAIN_ID_COUNT + 1))
echo "Found chain_id $CHAIN_ID in $file"
fi
done
echo "Found $CHAIN_ID_COUNT chain_ids in $CHANGED_FILE_COUNT files"

cd ops
if [ "$CHAIN_ID_COUNT" -ne "$CHANGED_FILE_COUNT" ] && [ "$CHANGED_FILE_COUNT" -gt 0 ]; then
# This accounts for changes to superchain.toml files
echo "Running codegen for all chains\n"
go run ./cmd/codegen \
--l1-rpc-urls="<< pipeline.parameters.sepolia_rpc_url >>,<< pipeline.parameters.mainnet_rpc_url >>"
else
echo "Running codegen for the following chain_ids: $CHAIN_IDS\n"
go run ./cmd/codegen \
--l1-rpc-urls="<< pipeline.parameters.sepolia_rpc_url >>,<< pipeline.parameters.mainnet_rpc_url >>" \
--chain-ids="$CHAIN_IDS"
fi

if [ -n "$(git status --porcelain)" ] ; then
echo "\n❌ Changes detected after running codegen. Run the following command locally and commit the changes:\n"
echo "go run ./cmd/codegen \\"
# Show the appropriate command flags based on which mode was run
if [ "$CHAIN_ID_COUNT" -ne "$CHANGED_FILE_COUNT" ] && [ "$CHANGED_FILE_COUNT" -gt 0 ]; then
echo " --l1-rpc-urls=\"<urls>\""
else
echo " --l1-rpc-urls=\"<urls>\" \\"
echo " --chain-ids=\"$CHAIN_IDS\""
fi
exit 1
else
echo "\n✅ All codegen files are up to date"
fi

workflows:
main:
jobs:
Expand All @@ -136,13 +209,12 @@ workflows:
- run-tool:
name: check-genesis-integrity
tool: check_genesis_integrity
- run-tool:
- check-codegen:
name: check-codegen
tool: codegen
check_diff: true
- run-tool:
name: check-staging-synced
tool: sync_staging
args: --l1-rpc-urls="<< pipeline.parameters.sepolia_rpc_url >>,<< pipeline.parameters.mainnet_rpc_url >>"
check_diff: true
- check-staging-empty:
name: check-staging-empty
Expand All @@ -155,4 +227,3 @@ workflows:
tool: check_chainlist
- run-staging-report:
name: run-staging-report

8 changes: 6 additions & 2 deletions CHAINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| Ethernity | ❌ | ✅ | https://ernscan.io | `https://mainnet.ethernitychain.io` | `https://mainnet.ethernitychain.io` |
| Funki | ❌ | ❌ | https://funki.superscan.network | `https://rpc-mainnet.funkichain.com` | `https://rpc-mainnet.funkichain.com` |
| HashKey Chain | ❌ | ❌ | https://explorer.hsk.xyz | `https://mainnet.hsk.xyz` | `https://hashkeychain-mainnet.alt.technology` |
| Ink | ✅ | | https://explorer.inkonchain.com | `https://rpc-gel.inkonchain.com` | `https://rpc-gel.inkonchain.com` |
| Ink | ✅ | | https://explorer.inkonchain.com | `https://rpc-gel.inkonchain.com` | `https://rpc-gel.inkonchain.com` |
| Lisk | ❌ | ✅ | https://blockscout.lisk.com | `https://rpc.api.lisk.com` | `https://rpc.api.lisk.com` |
| Lyra Chain | ❌ | ✅ | https://explorer.lyra.finance | `https://rpc.lyra.finance` | `https://rpc.lyra.finance` |
| Metal L2 | ✅ | ✅ | https://explorer.metall2.com | `https://rpc.metall2.com` | `https://rpc.metall2.com` |
Expand All @@ -23,7 +23,9 @@
| Polynomial | ❌ | ✅ | https://polynomialscan.io | `https://rpc.polynomial.fi` | `https://rpc.polynomial.fi` |
| RACE Mainnet | ❌ | ❌ | https://racescan.io/ | `https://racemainnet.io` | `https://racemainnet.io` |
| Redstone | ❌ | ❌ | https://explorer.redstone.xyz | `https://rpc.redstonechain.com` | `https://rpc.redstonechain.com` |
| Settlus Mainnet | ❌ | ❌ | mainnet.settlus.network | `https://settlus-mainnet.g.alchemy.com/public` | `https://settlus-mainnet-sequencer.g.alchemy.com/` |
| Shape | ❌ | ❌ | https://shape-mainnet.explorer.alchemy.com/ | `https://mainnet.shape.network/` | `https://shape-mainnet-sequencer.g.alchemy.com` |
| SnaxChain | ❌ | ✅ | https://explorer.snaxchain.io | `https://mainnet.snaxchain.io` | `https://mainnet.snaxchain.io` |
| Soneium | ✅ | ✅ | https://soneium.blockscout.com/ | `https://rpc.soneium.org` | `https://rpc.soneium.org` |
| Superseed | ❌ | ❌ | https://explorer.superseed.xyz | `https://mainnet.superseed.xyz` | `https://mainnet.superseed.xyz` |
| Swan Chain Mainnet | ❌ | ❌ | https://swanscan.io | `https://mainnet-rpc.swanchain.org` | `https://sequencer-mainnet.swanchain.org` |
Expand All @@ -39,17 +41,19 @@
|---|---|---|---|---|---|
| Base Sepolia Testnet | ❌ | ✅ | https://sepolia-explorer.base.org | `https://sepolia.base.org` | `https://sepolia-sequencer.base.org` |
| Binary Sepolia | ❌ | ❌ | https://explorer.sepolia.thebinaryholdings.com | `https://rpc.testnet.thebinaryholdings.com` | `https://sequencer.rpc.bnry.testnet.zeeve.net` |
| Boba Sepolia Testnet | ❌ | ❌ | https://testnet.bobascan.com | `https://sepolia.boba.network` | `https://sepolia.boba.network` |
| Creator Chain Testnet | ❌ | ✅ | https://explorer.creatorchain.io | `https://rpc.creatorchain.io` | `https://rpc.creatorchain.io` |
| Cyber Testnet | ❌ | ❌ | https://testnet.cyberscan.co/ | `https://rpc.testnet.cyber.co` | `https://cyber.alt.technology/` |
| Ethernity Testnet | ❌ | ✅ | https://testnet.ernscan.io | `https://testnet.ethernitychain.io` | `https://testnet.ethernitychain.io` |
| Funki Sepolia Testnet | ❌ | ❌ | https://sepolia-sandbox.funkichain.com/ | `https://funki-testnet.alt.technology` | `https://funki-testnet.alt.technology` |
| Ink Sepolia | ✅ | ✅ | https://explorer-sepolia.inkonchain.com | `https://rpc-gel-sepolia.inkonchain.com` | `https://rpc-gel-sepolia.inkonchain.com` |
| Lisk Sepolia Testnet | ❌ | | https://sepolia-blockscout.lisk.com | `https://rpc.sepolia-api.lisk.com` | `https://rpc.sepolia-api.lisk.com` |
| Lisk Sepolia Testnet | ❌ | | https://sepolia-blockscout.lisk.com | `https://rpc.sepolia-api.lisk.com` | `https://rpc.sepolia-api.lisk.com` |
| Metal L2 Testnet | ✅ | ✅ | https://testnet.explorer.metall2.com | `https://testnet.rpc.metall2.com` | `https://testnet.rpc.metall2.com` |
| Mode Testnet | ✅ | ✅ | https://sepolia.explorer.mode.network | `https://sepolia.mode.network` | `https://sepolia.mode.network` |
| OP Sepolia Testnet | ✅ | ✅ | https://sepolia-optimistic.etherscan.io | `https://sepolia.optimism.io` | `https://sepolia-sequencer.optimism.io` |
| Pivotal Sepolia | ❌ | ❌ | https://sepolia.pivotalscan.org/ | `https://sepolia.pivotalprotocol.com/` | `https://sepolia.pivotalprotocol.com/` |
| RACE Testnet | ❌ | ❌ | https://testnet.racescan.io/ | `https://racetestnet.io` | `https://racetestnet.io` |
| Settlus Sepolia | ❌ | ❌ | sepolia.settlus.network | `https://settlus-septestnet.g.alchemy.com/public` | `https://settlus-sep-testnet-sequencer.g.alchemy.com/` |
| Shape Sepolia Testnet | ❌ | ❌ | https://shape-sepolia.explorer.alchemy.com/ | `https://sepolia.shape.network/` | `https://shape-sepolia-sequencer.g.alchemy.com` |
| Soneium Testnet Minato | ✅ | ✅ | https://soneium-minato.blockscout.com/ | `https://rpc.minato.soneium.org` | `https://rpc.minato.soneium.org` |
| Unichain Sepolia Testnet | ✅ | ✅ | https://sepolia.uniscan.xyz | `https://sepolia.unichain.org` | `https://sepolia-sequencer.unichain.org` |
Expand Down
Loading