Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Arbitrum: don't set gas in hardhat config
Browse files Browse the repository at this point in the history
This fixes the test

  Records Merkle Tree tests
    shows that inserting too many leaves triggers an error

Similarly to what we found in
#271

The remaining failures in `hardhat test --network arbitrum` are caused
by checking exact gas costs which differ on arbitrum and concern the
following tests.

  Records Merkle Tree Benchmarks
    The Records Merkle root is updated with the frontier.
      1) shows how much gas is spent by updateRecordsMerkleTree

  Rescue benchmarks
    Gas spent for computing the Rescue function
      2) checks gas usage of TestRescue.hash
      3) checks gas usage of TestRescueNonOptimized.hash

Part of #25.
  • Loading branch information
sveitser committed Jan 12, 2022
1 parent 2eef761 commit a71cd06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const config: HardhatUserConfig = {
arbitrum: {
url: `https://rinkeby.arbitrum.io/rpc`,
gasPrice: 1_000_000_000,
gas: 25_000_000,
accounts: { mnemonic: process.env.RINKEBY_MNEMONIC },
},
// Network config from
Expand Down

0 comments on commit a71cd06

Please sign in to comment.