• Mark Tyneway's avatar
    op-chain-ops: address aliasing helpers (#3562) · f9660910
    Mark Tyneway authored
    * op-chain-ops: address aliasing helpers
    
    Implement address aliasing helpers in go. Fuzz them to make
    sure that roundtrip aliasing is reliable. Add foundry fuzz
    tests that are used to generate test vectors.
    
    Note that the JS implementation does not take into account
    the modular arithmetic, I do not believe that it is used anywhere
    important currently.
    See:
    https://github.com/ethereum-optimism/optimism/blob/develop/packages/core-utils/src/optimism/alias.ts
    
    Perhaps we should move our differential fuzzing to use go
    instead of typescript or along with the typescript because
    most utilities that we wrote in JS are now also written in go.
    
    * chore: make mod-tidy
    
    * op-bindings: regenerate
    
    * contracts-bedrock: gas snapshot
    
    * specs: update address-aliasing
    f9660910
Name
Last commit
Last update
..
bindings Loading commit data...
gen Loading commit data...
hardhat Loading commit data...
predeploys Loading commit data...
solc Loading commit data...
Makefile Loading commit data...
doc.go Loading commit data...
gen_bindings.sh Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...