Commit 3a126a19 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into willc/delete-flags

parents 4006ef3a 03323455
This diff is collapsed.
...@@ -8,12 +8,12 @@ import { Messenger_Initializer, Reverter, CallerCaller } from "./CommonTest.t.so ...@@ -8,12 +8,12 @@ import { Messenger_Initializer, Reverter, CallerCaller } from "./CommonTest.t.so
contract CrossDomainMessenger_Test is Messenger_Initializer { contract CrossDomainMessenger_Test is Messenger_Initializer {
// Ensure that baseGas passes for the max value of _minGasLimit, // Ensure that baseGas passes for the max value of _minGasLimit,
// this is about 4 Billion. // this is about 4 Billion.
function test_baseGas() external { function test_baseGas() external view {
L1Messenger.baseGas(hex"ff", type(uint32).max); L1Messenger.baseGas(hex"ff", type(uint32).max);
} }
// Fuzz for other values which might cause a revert in baseGas. // Fuzz for other values which might cause a revert in baseGas.
function testFuzz_baseGas(uint32 _minGasLimit) external { function testFuzz_baseGas(uint32 _minGasLimit) external view {
L1Messenger.baseGas(hex"ff", _minGasLimit); L1Messenger.baseGas(hex"ff", _minGasLimit);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment