Skip to content

Commit 7162591

Browse files
committed
necessary diff
1 parent 7211b9a commit 7162591

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

core/state/statedb_arbitrum.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ import (
2323

2424
"github.com/ethereum/go-ethereum/common"
2525
"github.com/ethereum/go-ethereum/core/types"
26-
"github.com/ethereum/go-ethereum/core/vm"
2726
"github.com/ethereum/go-ethereum/crypto"
28-
"github.com/ethereum/go-ethereum/log"
2927
)
3028

3129
func (s *StateDB) Deterministic() bool {
@@ -80,14 +78,14 @@ func (s *StateDB) RecordProgram(program common.Address, version uint32) {
8078
return
8179
}
8280
rawCode := s.GetCode(program)
83-
compressedWasm, err := vm.StripStylusPrefix(rawCode)
84-
if err != nil {
85-
log.Error("Could not strip stylus program prefix from raw code: %v", err)
86-
return
87-
}
81+
// compressedWasm, err := vm.StripStylusPrefix(rawCode)
82+
// if err != nil {
83+
// log.Error("Could not strip stylus program prefix from raw code: %v", err)
84+
// return
85+
// }
8886
s.userWasms[call] = &UserWasm{
8987
NoncanonicalHash: s.NoncanonicalProgramHash(program, version),
90-
CompressedWasm: compressedWasm,
88+
CompressedWasm: rawCode,
9189
}
9290
}
9391
}

0 commit comments

Comments
 (0)