diff --git a/scripts/printMetadataHashes.ts b/scripts/printMetadataHashes.ts index b1e1b876..07fcae42 100644 --- a/scripts/printMetadataHashes.ts +++ b/scripts/printMetadataHashes.ts @@ -16,14 +16,16 @@ async function main() { 'Outbox', 'SequencerInbox', 'Bridge', + 'RollupEventInbox', 'ERC20Inbox', 'ERC20Outbox', 'SequencerInbox', 'ERC20Bridge', + 'ERC20RollupEventInbox', 'RollupProxy', 'RollupAdminLogic', 'RollupUserLogic', - 'ChallengeManager', + 'EdgeChallengeManager', ] // Print the current git tag diff --git a/src/mocks/BigMap.sol b/src/mocks/BigMap.sol new file mode 100644 index 00000000..95eea195 --- /dev/null +++ b/src/mocks/BigMap.sol @@ -0,0 +1,23 @@ +// Copyright 2025, Offchain Labs, Inc. +// For license information, see: +// https://github.com/OffchainLabs/nitro/blob/master/LICENSE.md +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.0; + +contract BigMap { + mapping(uint256 => uint256) public data; + uint256 size; + + function clearAndAddValues(uint256 clear, uint256 add) external { + uint256 i = size; + while (i < size + add) { + data[i] = 8675309; + i++; + } + size = i; + for (uint256 j = 0; j < clear; j++) { + data[j] = 0; + } + } +}