Skip to content

Commit 7f40166

Browse files
committed
ignore poseidonch and codesize in snapshot
1 parent cc7930b commit 7f40166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/state/snapshot/generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ func (dl *diskLayer) generate(stats *generatorStats) {
618618
Balance *big.Int
619619
Root common.Hash
620620
KeccakCodeHash []byte
621-
PoseidonCodeHash []byte
622-
CodeSize uint64
621+
PoseidonCodeHash []byte `rlp:"-"`
622+
CodeSize uint64 `rlp:"-"`
623623
}
624624
if err := rlp.DecodeBytes(val, &acc); err != nil {
625625
log.Crit("Invalid account encountered during snapshot creation", "err", err)

0 commit comments

Comments
 (0)