diff --git a/tests/0002-diff-go-ethereum.patch b/tests/0002-diff-go-ethereum.patch new file mode 100644 index 0000000000..8ee7c49e33 --- /dev/null +++ b/tests/0002-diff-go-ethereum.patch @@ -0,0 +1,18 @@ +diff --git a/core/vm/contracts.go b/core/vm/contracts.go +index 000000000..000000000 100644 +--- a/core/vm/contracts.go ++++ b/core/vm/contracts.go +@@ -340,13 +340,6 @@ var PrecompiledContractsOsaka = PrecompiledContracts{ + common.BytesToAddress([]byte{0x10}): &bls12381MapG1{}, + common.BytesToAddress([]byte{0x11}): &bls12381MapG2{}, + +- common.BytesToAddress([]byte{0x64}): &tmHeaderValidate{}, +- common.BytesToAddress([]byte{0x65}): &iavlMerkleProofValidatePlato{}, +- common.BytesToAddress([]byte{0x66}): &blsSignatureVerify{}, +- common.BytesToAddress([]byte{0x67}): &cometBFTLightBlockValidateHertz{}, +- common.BytesToAddress([]byte{0x68}): &verifyDoubleSignEvidence{}, +- common.BytesToAddress([]byte{0x69}): &secp256k1SignatureRecover{}, +- + common.BytesToAddress([]byte{0x1, 0x00}): &p256Verify{eip7951: true}, + } + diff --git a/tests/run-evm-tests.sh b/tests/run-evm-tests.sh index 174c387d4f..0595044307 100755 --- a/tests/run-evm-tests.sh +++ b/tests/run-evm-tests.sh @@ -2,6 +2,7 @@ cd .. git submodule update --init --depth 1 --recursive git apply tests/0001-diff-go-ethereum.patch +git apply tests/0002-diff-go-ethereum.patch cd tests rm -rf spec-tests && mkdir spec-tests && cd spec-tests wget https://github.com/ethereum/execution-spec-tests/releases/download/v5.1.0/fixtures_develop.tar.gz