forked from cerc-io/plugeth
all: replace data gas to blob gas in comments (#27825)
* eth: excessDataGas -> excessBlobGas * consensus: data gas -> blob gas * core: data gas -> blob gas * params: data gas -> blob gas
This commit is contained in:
@@ -184,7 +184,7 @@ func newBlobTxMeta(id uint64, size uint32, tx *types.Transaction) *blobTxMeta {
|
||||
// - Local txs are meaningless. Mining pools historically used local transactions
|
||||
// for payouts or for backdoor deals. With 1559 in place, the basefee usually
|
||||
// dominates the final price, so 0 or non-0 tip doesn't change much. Blob txs
|
||||
// retain the 1559 2D gas pricing (and introduce on top a dynamic data gas fee),
|
||||
// retain the 1559 2D gas pricing (and introduce on top a dynamic blob gas fee),
|
||||
// so locality is moot. With a disk backed blob pool avoiding the resend issue,
|
||||
// there's also no need to save own transactions for later.
|
||||
//
|
||||
|
||||
@@ -122,7 +122,7 @@ func (bc *testBlockChain) CurrentBlock() *types.Header {
|
||||
}
|
||||
baseFee := lo
|
||||
|
||||
// The excess data gas at 2^27 translates into a blob fee higher than mainnet
|
||||
// The excess blob gas at 2^27 translates into a blob fee higher than mainnet
|
||||
// ether existence, use that as a cap for the tests.
|
||||
lo = new(big.Int)
|
||||
hi = new(big.Int).Exp(big.NewInt(2), big.NewInt(27), nil)
|
||||
|
||||
Reference in New Issue
Block a user