Commit 84462918 authored by vicotor's avatar vicotor

fix bug

parent fb8f3a91
...@@ -56,15 +56,15 @@ func NewEVMBlockContext(header *evmtypes.Header, chain ChainContext, author *met ...@@ -56,15 +56,15 @@ func NewEVMBlockContext(header *evmtypes.Header, chain ChainContext, author *met
} else { } else {
beneficiary = *author beneficiary = *author
} }
//if header.BaseFee != nil { if header.BaseFee != nil {
// baseFee = new(big.Int).Set(header.BaseFee) baseFee = new(big.Int).Set(header.BaseFee)
//} }
//if header.ExcessBlobGas != nil { //if header.ExcessBlobGas != nil {
// blobBaseFee = eip4844.CalcBlobFee(chain.Config(), header) // blobBaseFee = eip4844.CalcBlobFee(chain.Config(), header)
//} //}
//if header.Difficulty.Sign() == 0 { if header.Difficulty.Sign() == 0 {
// random = &header.MixDigest random = &header.MixDigest
//} }
return vm.BlockContext{ return vm.BlockContext{
CanTransfer: CanTransfer, CanTransfer: CanTransfer,
Transfer: Transfer, Transfer: Transfer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment