mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
fix: remove unused log (#39)
This commit is contained in:
parent
40b7dbbd9b
commit
4ba3e5414d
1 changed files with 0 additions and 5 deletions
|
|
@ -26,7 +26,6 @@ import (
|
|||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/core/vm"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
)
|
||||
|
||||
|
|
@ -295,7 +294,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
|||
if err := st.preCheck(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.Info("PreCheck", "st.initialGas", st.initialGas, "st.gas", st.gas)
|
||||
|
||||
if st.evm.Config.Debug {
|
||||
st.evm.Config.Tracer.CaptureTxStart(st.initialGas)
|
||||
|
|
@ -316,7 +314,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.Info("IntrinsicGas", "st.initialGas", st.initialGas, "st.gas", st.gas)
|
||||
if st.gas < gas {
|
||||
return nil, fmt.Errorf("%w: have %d, want %d", ErrIntrinsicGas, st.gas, gas)
|
||||
}
|
||||
|
|
@ -342,7 +339,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
|||
st.state.SetNonce(msg.From(), st.state.GetNonce(sender.Address())+1)
|
||||
ret, st.gas, vmerr = st.evm.Call(sender, st.to(), st.data, st.gas, st.value)
|
||||
}
|
||||
log.Info("evm.Call", "st.initialGas", st.initialGas, "st.gas", st.gas)
|
||||
|
||||
if !rules.IsLondon {
|
||||
// Before EIP-3529: refunds were capped to gasUsed / 2
|
||||
|
|
@ -365,7 +361,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
|||
fee.Mul(fee, effectiveTip)
|
||||
st.state.AddBalance(st.evm.Context.Coinbase, fee)
|
||||
}
|
||||
log.Info("TransitionDb.return", "st.initialGas", st.initialGas, "st.gas", st.gas)
|
||||
|
||||
return &ExecutionResult{
|
||||
UsedGas: st.gasUsed(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue