diff --git a/hardhat.config.ts b/hardhat.config.ts index 50e513e0..937cccec 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -62,6 +62,16 @@ const solidity = { evmVersion: 'cancun', }, }, + 'src/mocks/ArbNativeTokenManagerTest.sol': { + version: '0.8.24', + settings: { + optimizer: { + enabled: true, + runs: 100, + }, + evmVersion: 'cancun', + }, + }, }, } diff --git a/src/mocks/ArbNativeTokenManagerTest.sol b/src/mocks/ArbNativeTokenManagerTest.sol new file mode 100644 index 00000000..727691e3 --- /dev/null +++ b/src/mocks/ArbNativeTokenManagerTest.sol @@ -0,0 +1,13 @@ +// Copyright 2025, Offchain Labs, Inc. +// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.24; + +import "../precompiles/ArbNativeTokenManager.sol"; + +contract ArbNativeTokenManagerTest { + function mint(uint256 amount) external { + ArbNativeTokenManager(address(0x73)).mintNativeToken(amount); + } +}