diff --git a/arbitrum-docs/run-arbitrum-node/more-types/02-run-validator-node.md b/arbitrum-docs/run-arbitrum-node/more-types/02-run-validator-node.md index 7ee7d114e..a43e3b939 100644 --- a/arbitrum-docs/run-arbitrum-node/more-types/02-run-validator-node.md +++ b/arbitrum-docs/run-arbitrum-node/more-types/02-run-validator-node.md @@ -57,6 +57,7 @@ Here we describe different strategies that validators follow and provide instruc ```shell docker run --rm -it -v /some/local/dir/arbitrum:/home/user/.arbitrum @latestNitroNodeImage@ --parent-chain.connection.url=https://l1-mainnet-node:8545 --chain.id=42161 --node.staker.enable --node.staker.strategy=Defensive --parent-chain.wallet.password="SOME SECURE PASSWORD" ``` +- For Orbit chains, you need to set the `--chain.info-json=` flag instead of `--chain.id=` - To verify validator is working, this log line shows the wallet is setup correctly: ```shell INFO [09-28|18:43:49.367] running as validator txSender=0x... actingAsWallet=0x... whitelisted=true strategy=Defensive @@ -66,3 +67,10 @@ Here we describe different strategies that validators follow and provide instruc - `txSender` and `actingAsWallet` should both be present and not `nil` - The log line `validation succeeded` shows that the L2 block validator is working - The log line `found correct assertion` shows that the L1 validator is working + +#### Orbit chains: grant whitlelist + +- You need to be the chain owner to include a new validator address in the allowlist: +- Find your `upgradeExecutor` contract address. +- Send transactions to the `executeCall` method of the`upgradeExecutor` contract and set the `target` address to your Rollup contract's address, set the `targetCalldata` to `0xa3ffb772{Your new allowlist validator address}`. (`0xa3ffb772` is the signature of `setValidator(address[],bool[])`) +- Call your Rollup contract's `isValidator(address)` and check the result. diff --git a/website/sidebars.js b/website/sidebars.js index 545e8316d..119d4b2d9 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -324,6 +324,13 @@ const sidebars = { // q: why use an anchor html tag here? // a: see note at end of file }, + { + type: 'html', + value: + 'Add new validators to Orbit chain ', + // q: why use an anchor html tag here? + // a: see note at end of file + }, { type: 'doc', id: 'launch-orbit-chain/concepts/anytrust-orbit-chain-keyset-generation',