diff --git a/core/block_validator.go b/core/block_validator.go index a3306365cc..5885df9ee2 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -93,7 +93,7 @@ func (v *BlockValidator) ValidateBody(block *types.Block) error { } // The individual checks for blob validity (version-check + not empty) - // happens in stateTransition. + // happens in state transition. } // Check blob gas usage. diff --git a/core/state_transition.go b/core/state_transition.go index d397a57844..ea7e3df2ff 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -188,7 +188,6 @@ func TransactionToMessage(tx *types.Transaction, s types.Signer, baseFee *big.In // state and would never be accepted within a block. func ApplyMessage(evm *vm.EVM, msg *Message, gp *GasPool) (*ExecutionResult, error) { evm.SetTxContext(NewEVMTxContext(msg)) - return newStateTransition(evm, msg, gp).execute() }