Skip to content

Commit

Permalink
bump tm and remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev Bear committed Jan 15, 2023
1 parent d6a0eef commit 6273323
Show file tree
Hide file tree
Showing 28 changed files with 9 additions and 2,891 deletions.
9 changes: 0 additions & 9 deletions core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ var PrecompiledContractsIstanbulForBSC = map[libcommon.Address]PrecompiledContra
libcommon.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{},
libcommon.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
libcommon.BytesToAddress([]byte{9}): &blake2F{},

libcommon.BytesToAddress([]byte{100}): &tmHeaderValidate{},
libcommon.BytesToAddress([]byte{101}): &iavlMerkleProofValidate{},
}

var PrecompiledContractsNano = map[libcommon.Address]PrecompiledContract{
Expand All @@ -107,9 +104,6 @@ var PrecompiledContractsNano = map[libcommon.Address]PrecompiledContract{
libcommon.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{},
libcommon.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
libcommon.BytesToAddress([]byte{9}): &blake2F{},

libcommon.BytesToAddress([]byte{100}): &tmHeaderValidateNano{},
libcommon.BytesToAddress([]byte{101}): &iavlMerkleProofValidateNano{},
}

var PrecompiledContractsIsMoran = map[libcommon.Address]PrecompiledContract{
Expand All @@ -122,9 +116,6 @@ var PrecompiledContractsIsMoran = map[libcommon.Address]PrecompiledContract{
libcommon.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{},
libcommon.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
libcommon.BytesToAddress([]byte{9}): &blake2F{},

libcommon.BytesToAddress([]byte{100}): &tmHeaderValidate{},
libcommon.BytesToAddress([]byte{101}): &iavlMerkleProofValidateMoran{},
}

// PrecompiledContractsBerlin contains the default set of pre-compiled Ethereum
Expand Down
242 changes: 0 additions & 242 deletions core/vm/contracts_lightclient.go

This file was deleted.

Loading

0 comments on commit 6273323

Please sign in to comment.