Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: genesis config guide (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshvarma authored Aug 16, 2023
1 parent 5538413 commit 9b3b1ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/step4-fullzkevm.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ cp ~/zkevm/zkevm-contracts/deployments/goerli_***/genesis.json ~/zkevm/zkevm-nod
nano ~/zkevm/zkevm-node/mainnet/config/environments/public/public.genesis.config.json
```

Edit the file changing the following parameters from `~/zkevm/zkevm-contracts/deployments/goerli_***/deploy_output.json`. **Keep in mind that `polygonZkEVMGlobalExitRootAddress` is called `deploymentBlockNumber` in `deploy_output.json`**.
Edit the file changing the following parameters from `~/zkevm/zkevm-contracts/deployments/goerli_***/deploy_output.json`. **Keep in mind that `genesisBlockNumber` is called `deploymentBlockNumber` in `deploy_output.json`**.

```json
{
"l1Config": {
"chainId": 5,
"polygonZkEVMAddress": "",
"maticTokenAddress": "",
"polygonZkEVMGlobalExitRootAddress": "" // deploymentBlockNumber from ~/zkevm/zkevm-contracts/deployments/goerli_***/deploy_output.json
"polygonZkEVMGlobalExitRootAddress": ""
},
"genesisBlockNumber": 9050589,
"genesisBlockNumber": 9050589, // deploymentBlockNumber from ~/zkevm/zkevm-contracts/deployments/goerli_***/deploy_output.json
"root": "",
"genesis": {}
}
Expand Down

0 comments on commit 9b3b1ff

Please sign in to comment.