Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Jun 22, 2024
1 parent d47907c commit 7aaa4aa
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions core/vm/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"github.com/scroll-tech/go-ethereum/common/math"
"github.com/scroll-tech/go-ethereum/core/types"
"github.com/scroll-tech/go-ethereum/crypto"
"github.com/scroll-tech/go-ethereum/crypto/codehash"
"github.com/scroll-tech/go-ethereum/log"
"github.com/scroll-tech/go-ethereum/params"
)
Expand Down Expand Up @@ -203,16 +202,6 @@ func (l *StructLogger) CaptureStart(env *EVM, from common.Address, to common.Add
Nonce: env.StateDB.GetNonce(to),
Balance: (*hexutil.Big)(value),
}

code := input

codeInfo := CodeInfo{
CodeSize: uint64(len(code)),
KeccakCodeHash: codehash.KeccakCodeHash(code),
PoseidonCodeHash: codehash.PoseidonCodeHash(code),
Code: code,
}
l.bytecodes[codeInfo.PoseidonCodeHash] = codeInfo
} else {
traceCodeWithAddress(l, to)
}
Expand Down

0 comments on commit 7aaa4aa

Please sign in to comment.