• Mark Tyneway's avatar
    contracts-bedrock: use kwargs syntax for nonce versioning in tests · 47dbd11b
    Mark Tyneway authored
    Use the named function arguments syntax for encoding the
    nonce in the L1CrossDomainMessenger tests. This reduces
    the cognitive overhead of ensuring that the tests
    are correct. I had to spend the mental energy figuring out
    what the arguments were over and over again so i elimated
    the problem by moving to the kargs syntax.
    
    I believe that tests should require the least amount of
    mental overhead as possible to confirm their correctness.
    This is a single commit that reduces the mental overhead
    of ensuring our test suite is correct.
    47dbd11b
Name
Last commit
Last update
..
invariants Loading commit data...
AddressAliasHelper.t.sol Loading commit data...
BenchmarkTest.t.sol Loading commit data...
Bytes.t.sol Loading commit data...
CommonTest.t.sol Loading commit data...
CrossDomainMessenger.t.sol Loading commit data...
CrossDomainOwnable.t.sol Loading commit data...
CrossDomainOwnable2.t.sol Loading commit data...
DeployerWhitelist.t.sol Loading commit data...
Encoding.t.sol Loading commit data...
FeeVault.t.sol Loading commit data...
GasPriceOracle.t.sol Loading commit data...
GovernanceToken.t.sol Loading commit data...
Hashing.t.sol Loading commit data...
L1Block.t.sol Loading commit data...
L1BlockNumber.t.sol Loading commit data...
L1CrossDomainMessenger.t.sol Loading commit data...
L1ERC721Bridge.t.sol Loading commit data...
L1StandardBridge.t.sol Loading commit data...
L2CrossDomainMessenger.t.sol Loading commit data...
L2ERC721Bridge.t.sol Loading commit data...
L2OutputOracle.t.sol Loading commit data...
L2StandardBridge.t.sol Loading commit data...
L2ToL1MessagePasser.t.sol Loading commit data...
LegacyERC20ETH.t.sol Loading commit data...
LegacyMessagePasser.t.sol Loading commit data...
MerkleTrie.t.sol Loading commit data...
MintManager.t.sol Loading commit data...
OptimismMintableERC20.t.sol Loading commit data...
OptimismMintableERC20Factory.t.sol Loading commit data...
OptimismMintableERC721.t.sol Loading commit data...
OptimismMintableERC721Factory.t.sol Loading commit data...
OptimismPortal.t.sol Loading commit data...
Proxy.t.sol Loading commit data...
ProxyAdmin.t.sol Loading commit data...
RLP.t.sol Loading commit data...
RLPReader.t.sol Loading commit data...
RLPWriter.t.sol Loading commit data...
ResourceMetering.t.sol Loading commit data...
SafeCall.t.sol Loading commit data...
Semver.t.sol Loading commit data...
SequencerFeeVault.t.sol Loading commit data...
SystemConfig.t.sol Loading commit data...
TransferOnion.t.sol Loading commit data...