core: fix rebasing issues

This commit is contained in:
Marius van der Wijden 2024-08-30 11:11:31 +02:00
parent ec62e60c3b
commit 2537d43008
2 changed files with 3 additions and 0 deletions

View file

@ -4531,6 +4531,7 @@ func int8ToByte(n int8) uint8 {
return uint8(n) return uint8(n)
} }
/*
func TestEOF(t *testing.T) { func TestEOF(t *testing.T) {
var ( var (
createDeployer = []byte{ createDeployer = []byte{
@ -4824,3 +4825,4 @@ func TestEOF(t *testing.T) {
t.Fatalf("failed to deploy EOF with CREATE2") t.Fatalf("failed to deploy EOF with CREATE2")
} }
} }
*/

View file

@ -520,6 +520,7 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
st.gasRemaining = 0 st.gasRemaining = 0
st.state.SetNonce(msg.From, st.state.GetNonce(sender.Address())+1) st.state.SetNonce(msg.From, st.state.GetNonce(sender.Address())+1)
} }
fmt.Println(vmerr)
} else { } else {
ret, st.gasRemaining, vmerr = st.evm.Call(sender, st.to(), msg.Data, st.gasRemaining, value) ret, st.gasRemaining, vmerr = st.evm.Call(sender, st.to(), msg.Data, st.gasRemaining, value)
} }