Skip to content

Commit

Permalink
tests: fix evm CI
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 committed Feb 5, 2025
1 parent 499b7d3 commit fb8696a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/0001-diff-go-ethereum.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
From 0cca8c531b5af345104311d72ff78a512a00cd33 Mon Sep 17 00:00:00 2001
From dba05084d6425657211702dd690ebef0c9c45448 Mon Sep 17 00:00:00 2001
From: buddh0 <[email protected]>
Date: Fri, 22 Nov 2024 09:58:24 +0800
Date: Wed, 5 Feb 2025 20:34:36 +0800
Subject: [PATCH] diff go ethereum

---
Expand All @@ -10,10 +10,10 @@ Subject: [PATCH] diff go ethereum
3 files changed, 2 insertions(+), 21 deletions(-)

diff --git a/core/vm/contracts.go b/core/vm/contracts.go
index ab8a9e9db..acedafe40 100644
index ddde8b0c9..39065b2f7 100644
--- a/core/vm/contracts.go
+++ b/core/vm/contracts.go
@@ -92,9 +92,6 @@ var PrecompiledContractsIstanbul = PrecompiledContracts{
@@ -91,9 +91,6 @@ var PrecompiledContractsIstanbul = PrecompiledContracts{
common.BytesToAddress([]byte{0x7}): &bn256ScalarMulIstanbul{},
common.BytesToAddress([]byte{0x8}): &bn256PairingIstanbul{},
common.BytesToAddress([]byte{0x9}): &blake2F{},
Expand All @@ -23,7 +23,7 @@ index ab8a9e9db..acedafe40 100644
}

var PrecompiledContractsNano = PrecompiledContracts{
@@ -247,13 +244,6 @@ var PrecompiledContractsCancun = PrecompiledContracts{
@@ -246,13 +243,6 @@ var PrecompiledContractsCancun = PrecompiledContracts{
common.BytesToAddress([]byte{0x8}): &bn256PairingIstanbul{},
common.BytesToAddress([]byte{0x9}): &blake2F{},
common.BytesToAddress([]byte{0x0a}): &kzgPointEvaluation{},
Expand All @@ -37,10 +37,10 @@ index ab8a9e9db..acedafe40 100644
}

// PrecompiledContractsHaber contains the default set of pre-compiled Ethereum
@@ -302,15 +292,6 @@ var PrecompiledContractsPrague = PrecompiledContracts{
common.BytesToAddress([]byte{0x11}): &bls12381Pairing{},
common.BytesToAddress([]byte{0x12}): &bls12381MapG1{},
common.BytesToAddress([]byte{0x13}): &bls12381MapG2{},
@@ -299,15 +289,6 @@ var PrecompiledContractsPrague = PrecompiledContracts{
common.BytesToAddress([]byte{0x0f}): &bls12381Pairing{},
common.BytesToAddress([]byte{0x10}): &bls12381MapG1{},
common.BytesToAddress([]byte{0x11}): &bls12381MapG2{},
-
- common.BytesToAddress([]byte{0x64}): &tmHeaderValidate{},
- common.BytesToAddress([]byte{0x65}): &iavlMerkleProofValidatePlato{},
Expand All @@ -54,10 +54,10 @@ index ab8a9e9db..acedafe40 100644

var PrecompiledContractsBLS = PrecompiledContractsPrague
diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go
index 5fbde1804..6b2950194 100644
index 299ee4c55..6610fa7f9 100644
--- a/core/vm/jump_table.go
+++ b/core/vm/jump_table.go
@@ -98,7 +98,7 @@ func newCancunInstructionSet() JumpTable {
@@ -119,7 +119,7 @@ func newCancunInstructionSet() JumpTable {
}

func newShanghaiInstructionSet() JumpTable {
Expand All @@ -67,7 +67,7 @@ index 5fbde1804..6b2950194 100644
enable3860(&instructionSet) // Limit and meter initcode

diff --git a/params/protocol_params.go b/params/protocol_params.go
index d86070983..d108626a3 100644
index c83e330a8..903e758df 100644
--- a/params/protocol_params.go
+++ b/params/protocol_params.go
@@ -23,7 +23,7 @@ import (
Expand Down

0 comments on commit fb8696a

Please sign in to comment.