forked from cerc-io/plugeth
core: infer blobGasUsed in chain maker (#28212)
Same way that the gasUsed in header is updated when a tx is added we should update blob gas used instead of requiring caller to set it manually.
This commit is contained in:
@@ -1448,9 +1448,6 @@ func setupReceiptBackend(t *testing.T, genBlocks int) (*testBackend, []common.Ha
|
||||
b.AddTx(tx)
|
||||
txHashes[i] = tx.Hash()
|
||||
}
|
||||
if i == 5 {
|
||||
b.SetBlobGas(params.BlobTxBlobGasPerBlob)
|
||||
}
|
||||
b.SetPoS()
|
||||
})
|
||||
return backend, txHashes
|
||||
|
||||
Reference in New Issue
Block a user