• Adrian Sutton's avatar
    op-program: Delegate oracle precompile override gas calculations to the original precompile (#9721) · f15821af
    Adrian Sutton authored
    * op-program: Generic precompile oracle
    
    The generic precompile oracle replaces the point evaluation precompile
    oracle. The new oracle can be used to retrieve the return data and
    status of any precompile, including bn256Pairing and ecrecover.
    
    * op-challenger: Use generic precompile oracle
    
    Replace the KZG point evaluation oracle with a generic precompile oracle
    
    * op-program: Simplify required gas logic.
    Use FromHex instead of Hex2Bytes
    
    * op-program: Set beacon URL when capturing and verifying sepolia chain data
    
    * op-program: Actually use the beacon URL
    
    * op-program: Use default l1-rpckind if not set rather than overriding to debug_geth
    
    * Use freshly generated sepolia test data
    
    * Use sepolia compatibility data
    
    * Fix spelling
    
    * update PreimageOracle.sol snapshot
    
    * op-program: Delegate oracle precompile override gas calculations to the original precompile
    
    Ensures that any future gas schedule changes for precompiles are automatically picked up and reduces the amount of duplicated code.
    
    * op-geth: Update to latest optimism branch commit
    
    ---------
    Co-authored-by: default avatarinphi <mlaw2501@gmail.com>
    Co-authored-by: default avatarrefcell <abigger87@gmail.com>
    f15821af
precompiles.go 7.71 KB