Skip to content

Commit

Permalink
update arbos11 action contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
DZGoldman committed Nov 2, 2023
1 parent 92657b4 commit 3c2cdcb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ pragma solidity 0.8.16;
import "../../arbos-upgrade/UpgradeArbOSVersionAction.sol";
import "../../address-registries/L1AddressRegistry.sol";

/// @notice identical copies of this contract to be deployed on Arb One and Nova for ArbOS11 upgrades
contract SetArbOS11VersionAction is UpgradeArbOSVersionAction {
constructor()
UpgradeArbOSVersionAction(
uint64(11),
// TODO:
uint64(0)
)
{
require(upgradeTimeDelaySeconds != uint64(0), "TODO: remove");
}
constructor() UpgradeArbOSVersionAction(uint64(11), uint64(1 weeks)) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ pragma solidity 0.8.16;
import "../../arbos-upgrade/SetWasmModuleRootAction.sol";
import "../../address-registries/L1AddressRegistry.sol";

contract SetArbOS11ModuleRootAciton is SetWasmModuleRootAction {
/// @notice action deployed on L1 to set Arb One's wasm module root for ARBOS11 upgrade
contract SetArbOneArbOS11ModuleRootAciton is SetWasmModuleRootAction {
constructor()
SetWasmModuleRootAction(
L1AddressRegistry(0xd514C2b3aaBDBfa10800B9C96dc1eB25427520A0),
// TODO
bytes32(0)
bytes32(0x92a7978d7ef64fa82a33c9d9af77647d9014c345a24ebf41635bc89e1c45e35b)
)
{
require(newWasmModuleRoot != bytes32(0), "TODO: remove");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.16;

import "../../arbos-upgrade/SetWasmModuleRootAction.sol";
import "../../address-registries/L1AddressRegistry.sol";

/// @notice action deployed on L1 to set nova's wasm module root for ARBOS11 upgrade
contract SetNovaArbOS11ModuleRootAction is SetWasmModuleRootAction {
constructor()
SetWasmModuleRootAction(
L1AddressRegistry(0x2F06643fc2CC18585Ae790b546388F0DE4Ec6635),
bytes32(0x92a7978d7ef64fa82a33c9d9af77647d9014c345a24ebf41635bc89e1c45e35b)
)
{}
}

0 comments on commit 3c2cdcb

Please sign in to comment.