Skip to content

Commit

Permalink
add precompiled contracts for light client (#102)
Browse files Browse the repository at this point in the history
Co-authored-by: Keefe Liu <[email protected]>
  • Loading branch information
keefel and Keefe Liu authored Apr 30, 2024
1 parent e0289db commit c013d95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{
common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
common.BytesToAddress([]byte{9}): &blake2F{},
common.BytesToAddress([]byte{0x0a}): &kzgPointEvaluation{},

common.BytesToAddress([]byte{102}): &blsSignatureVerify{},
common.BytesToAddress([]byte{103}): &cometBFTLightBlockValidate{},
}

// PrecompiledContractsBLS contains the set of pre-compiled Ethereum
Expand Down

0 comments on commit c013d95

Please sign in to comment.