Skip to content

Commit

Permalink
ignore poseidonch and codesize in snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Jan 10, 2025
1 parent cc7930b commit 7f40166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/state/snapshot/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,8 @@ func (dl *diskLayer) generate(stats *generatorStats) {
Balance *big.Int
Root common.Hash
KeccakCodeHash []byte
PoseidonCodeHash []byte
CodeSize uint64
PoseidonCodeHash []byte `rlp:"-"`
CodeSize uint64 `rlp:"-"`
}
if err := rlp.DecodeBytes(val, &acc); err != nil {
log.Crit("Invalid account encountered during snapshot creation", "err", err)
Expand Down

0 comments on commit 7f40166

Please sign in to comment.