Skip to content

Commit

Permalink
Merge pull request #126 from OffchainLabs/scheduled-upgrade-getter
Browse files Browse the repository at this point in the history
Add ArbOS precompile method to get scheduled upgrade
  • Loading branch information
PlasmaPower authored Jan 29, 2024
2 parents f28f248 + 9a6bfad commit a099703
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/precompiles/ArbOwnerPublic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,13 @@ interface ArbOwnerPublic {
/// @notice Get the Brotli compression level used for fast compression
function getBrotliCompressionLevel() external view returns (uint64);

/// @notice Get the next scheduled ArbOS version upgrade and its activation timestamp.
/// Returns (0, 0) if no ArbOS upgrade is scheduled.
/// Available in ArbOS version 20.
function getScheduledUpgrade()
external
view
returns (uint64 arbosVersion, uint64 scheduledForTimestamp);

event ChainOwnerRectified(address rectifiedOwner);
}

0 comments on commit a099703

Please sign in to comment.