core: polish code

This commit is contained in:
Gary Rong 2024-11-26 14:16:36 +08:00
parent beb45ec9c8
commit 57d0f643f6
2 changed files with 1 additions and 2 deletions

View file

@ -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.

View file

@ -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()
}