You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SCR_CHAIN_NAME="Swell Network Testnet"
SCR_SUPERCHAIN_TARGET=sepolia
SCR_CHAIN_SHORT_NAME=swell
SCR_STANDARD_CHAIN_CANDIDATE=true
SCR_MONOREPO_DIR="<your path>"
SCR_DEPLOYMENTS_DIR="<above>"# download from https://operator-public.s3.us-west-2.amazonaws.com/swell/testnet/rollup.json
SCR_ROLLUP_CONFIG=""# download from https://operator-public.s3.us-west-2.amazonaws.com/swell/testnet/genesis.json
SCR_GENESIS=""
SCR_DEPLOY_CONFIG="<above>"
SCR_GENESIS_CREATION_COMMIT="5e14a61547a45eef2ebeba677aee4a049f106ed8"# op-contracts/v.1.7.0-beta.1+l2-contracts# Your chain's endpoint for ETHEREUM JSON-RPC requests
SCR_PUBLIC_RPC="https://swell-testnet.alt.technology"# new OP Stack L2 RPC URL# Your chain's sequencer endpoint for eth_sendRawTransaction.# This can be set the same as SCR_PUBLIC_RPC if you don't have a separate endpoint.
SCR_SEQUENCER_RPC="https://swell-testnet.alt.technology"# new OP Stack L2 sequencer RPC URL# Your chain's block explorer (e.g. Blockscout, Etherscan)
SCR_EXPLORER="https://swell-testnet-explorer.alt.technology"# new OP Stack L2 block explorer URL
execute just add-chain, pass
execute just validate 1924, pass
execute just validate-genesis-allocs 1924 meet error:
2024/11/18 23:50:22 executing /usr/bin/bash ./monorepo-outputs.sh 18.12.1 pnpm install --no-frozen-lockfile go run op-node/cmd/main.go genesis l2 --deploy-config=./packages/contracts-bedrock/deploy-config/1924.json --outfile.l2=expected-genesis.json --outfile.rollup=rollup.json --l1-deployments=./packages/contracts-bedrock/deployments/1924/.deploy --l1-rpc=https://ethereum-sepolia-rpc.publicnode.com
Installing and selecting correct Node version...
Now using node v18.12.1 (npm v8.19.2)
Now using node v18.12.1 (npm v8.19.2)
Running install command...
ERR_PNPM_NO_PKG_MANIFEST No package.json found in /home/king/workspace/blockchain/ethereum-optimism/optimism-temporary
Installing and selecting correct go version...
Already installed!
Now using version go1.21
Running l2 genesis creation command...
t=2024-11-18T23:50:27+0800 lvl=info msg="Deploy config" path=./packages/contracts-bedrock/deploy-config/1924.json
t=2024-11-18T23:50:27+0800 lvl=crit msg="Application failed" message="missing l2-allocs"
v18.12.1 is already installed.
exit status 1
=== FAIL: github.com/ethereum-optimism/superchain-registry/validation/genesis TestGenesisAllocs
Expected behavior
pass this check.
Environment Information:
Operating System: [e.g. Ubuntu 22.04]
Package Version (or commit hash): superchain-registry: a560627d56d9b12c7c649e782110101a9579a2c4
Additional context
This error due for the command:
executing /usr/bin/bash ./monorepo-outputs.sh 18.12.1 pnpm install --no-frozen-lockfile go run op-node/cmd/main.go genesis l2 --deploy-config=./packages/contracts-bedrock/deploy-config/1924.json --outfile.l2=expected-genesis.json --outfile.rollup=rollup.json --l1-deployments=./packages/contracts-bedrock/deployments/1924/.deploy --l1-rpc=https://ethereum-sepolia-rpc.publicnode.com
op-node genesis l2 requires --l2-allocs, but in this test, from the error log, the test does not provide this parameter.
So it panic for reason: msg="Application failed" message="missing l2-allocs"
The text was updated successfully, but these errors were encountered:
@atenjin Could you please let me know where you got the deployments output and the addresses.json? It looks like there might be not enough contract addresses.
Bug Description
Can not execute
just validate-genesis-allocs <chain-id>
in localSteps to Reproduce
chain info:
This rollup is deployed through op-deployer tool v0.0.3 https://github.com/ethereum-optimism/optimism/releases/tag/op-deployer%2Fv0.0.3
and genesis.json rollup.json address.json, deploy-config.json are all generated by this tool.
address.json which is used for
SCR_DEPLOYMENTS_DIR
deploy-config.json:
Reproduce steps
just add-chain
, passjust validate 1924
, passjust validate-genesis-allocs 1924
meet error:Expected behavior
pass this check.
Environment Information:
a560627d56d9b12c7c649e782110101a9579a2c4
Additional context
This error due for the command:
op-node genesis l2
requires--l2-allocs
, but in this test, from the error log, the test does not provide this parameter.So it panic for reason:
msg="Application failed" message="missing l2-allocs"
The text was updated successfully, but these errors were encountered: