Skip to content

Commit

Permalink
move arbos upgrade contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
DZGoldman committed Oct 17, 2023
1 parent 0309167 commit dcb85dc
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.16;

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

contract SetArbOS11ModuleRootAciton is SetWasmModuleRootAction {
constructor()
SetWasmModuleRootAction(
L1AddressRegistry(0xd514C2b3aaBDBfa10800B9C96dc1eB25427520A0),
// TODO
bytes32(0)
)
{
require(newWasmModuleRoot != bytes32(0), "TODO: remove");
}
}
17 changes: 17 additions & 0 deletions src/gov-action-contracts/AIPs/ArbOS11/SetArbOS11VersionAction.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.16;

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

contract SetArbOS11VersionAction is UpgradeArbOSVersionAction {
constructor()
UpgradeArbOSVersionAction(
uint64(11),
// TODO:
uint64(0)
)
{
require(upgradeTimeDelaySeconds != uint64(0), "TODO: remove");
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.16;

import "../../address-registries/L1AddressRegistry.sol";
import "../address-registries/L1AddressRegistry.sol";

/// @notice should be included in an operation batch in the L1 timelock along with UpgradeArbOSVersionAction
contract SetWasmModuleRootAction {
Expand Down

0 comments on commit dcb85dc

Please sign in to comment.