smartcontracts / simple-optimism-node

The easiest way to run an Optimism node
MIT License
337 stars 115 forks source link

Migration have error expected storage slots #48

Closed hungzinza closed 11 months ago

hungzinza commented 1 year ago

My test-node was stopped at height 4,061,223 Network: goerli I run bedrock-init to upgrade it. I enable flag: no-check when run command

/bin/op-migrate \
  --l1-rpc-url $OP_NODE__RPC_ENDPOINT \
  --ovm-addresses $WITNESS_OUT_PATH/data/ovm-addresses.json \
  --evm-addresses $WITNESS_OUT_PATH/data/evm-addresses.json \
  --ovm-messages $WITNESS_OUT_PATH/data/ovm-messages.json \
  --evm-messages $WITNESS_OUT_PATH/data/evm-messages.json \
  --ovm-allowances $WITNESS_OUT_PATH/data/ovm-allowances.json \
  --network $ETH_NETWORK \
  --no-check \
  --deploy-config ../packages/contracts-bedrock/deploy-config/$ETH_NETWORK.json \
  --rollup-config-out ../packages/contracts-bedrock/deploy-config/$ETH_NETWORK.json \
  --hardhat-deployments ../packages/contracts-bedrock/deployments,../packages/contracts/deployments,../packages/contracts-periphery/deployments \
  --db-path $LEGACY_GETH_COPY_DIR

I have an error:

expected 6 storage slots for L2CrossDomainMessenger but got 4

Screenshot from 2023-03-03 11-53-07

Please check it help me.

Chomtana commented 11 months ago

Stale pre-bedrock issue

Migration is not supported we recommend you to resync from a snapshot