ArbitrumFoundation / governance

Apache License 2.0
73 stars 27 forks source link

Proposal data for ArbOS 30 upgrade #280

Closed gvladika closed 2 months ago

gvladika commented 5 months ago

This PR adds proposal payload for ArbOS30 upgrade.

At the moment upgrade actions are not deployed yet (they're being audited), so we provide example of generated proposal data using dummy placeholder values.

Proposal payload is generated in following way:

UPGRADE_CHALLENGE_MANAGER_ACTION_FOR_ARB_ONE="0x0000000000000000000000000000000000000100"
UPGRADE_CHALLENGE_MANAGER_ACTION_FOR_NOVA="0x0000000000000000000000000000000000000101"
SET_ARBOS_30_VERSION_ACTION_ARB1="0x0000000000000000000000000000000000000200"
SET_ARBOS_30_VERSION_ACTION_NOVA="0x0000000000000000000000000000000000000300"
ADD_WASM_CACHE_MANAGER_ACTION_ARB1="0x0000000000000000000000000000000000000201"
ADD_WASM_CACHE_MANAGER_ACTION_NOVA="0x0000000000000000000000000000000000000301"

yarn gen:proposalData \
 --govChainProviderRPC https://arb1.arbitrum.io/rpc \
 --actionChainIds 1 1 42161 42170 42161 42170 \
 --actionAddresses $UPGRADE_CHALLENGE_MANAGER_ACTION_FOR_ARB_ONE $UPGRADE_CHALLENGE_MANAGER_ACTION_FOR_NOVA $SET_ARBOS_30_VERSION_ACTION_ARB1 $SET_ARBOS_30_VERSION_ACTION_NOVA $ADD_WASM_CACHE_MANAGER_ACTION_ARB1 $ADD_WASM_CACHE_MANAGER_ACTION_NOVA \
 --pathToDescription ./scripts/proposals/ArbOS30AIP/description.txt \
--writeToJsonPath ./scripts/proposals/ArbOS30AIP/ArbOS-30-AIP-data.json  

Once all contracts are audited, actions will be deployed and proposal data will be re-generated with production values and added to this PR.