• Inphi's avatar
    feat(ctb): Refactor LibPosition.sol to rep gindex (#6046) · 7ce6e3fa
    Inphi authored
    * feat(ctb): Refactor LibPosition.sol to rep gindex
    
    Generalized Indices are a more succinct and easy to understand model for
    positions in the dispute game tree. Implementation is often more
    efficient too and can avoid branching logic for tree traversal.
    
    * update .gas-snapshot
    
    * update .gas-snapshot
    
    * Fix `FaultDisputeGame` tests
    
    * lint; gas snapshot
    
    * Update packages/contracts-bedrock/contracts/dispute/lib/LibPosition.sol
    Co-authored-by: default avatarclabby <ben@clab.by>
    
    * opt rightIndex
    
    * opt rightIndex
    
    * opt depth
    
    * update gas-snapshot
    
    ---------
    Co-authored-by: default avatarclabby <ben@clab.by>
    7ce6e3fa
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...
Clones.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...
CrossDomainOwnable3.t.sol Loading commit data...
DeployerWhitelist.t.sol Loading commit data...
DisputeGameFactory.t.sol Loading commit data...
Encoding.t.sol Loading commit data...
FaultDisputeGame.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...
LibClock.t.sol Loading commit data...
LibPosition.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...
ResolvedDelegateProxy.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...
StandardBridge.t.sol Loading commit data...
SystemConfig.t.sol Loading commit data...
TransferOnion.t.sol Loading commit data...