mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
internal/ethapi: skipped maxFeePerBlobGas related test
This commit is contained in:
parent
336d7db52b
commit
6b5899125b
1 changed files with 17 additions and 14 deletions
|
|
@ -216,20 +216,23 @@ func TestSetFeeDefaults(t *testing.T) {
|
||||||
nil,
|
nil,
|
||||||
errors.New("both gasPrice and (maxFeePerGas or maxPriorityFeePerGas) specified"),
|
errors.New("both gasPrice and (maxFeePerGas or maxPriorityFeePerGas) specified"),
|
||||||
},
|
},
|
||||||
{
|
// bor: skipping as it's not relevant to bor
|
||||||
"fill maxFeePerBlobGas",
|
/*
|
||||||
"cancun",
|
{
|
||||||
&TransactionArgs{BlobHashes: []common.Hash{}},
|
"fill maxFeePerBlobGas",
|
||||||
&TransactionArgs{BlobHashes: []common.Hash{}, BlobFeeCap: (*hexutil.Big)(big.NewInt(4)), MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
"cancun",
|
||||||
nil,
|
&TransactionArgs{BlobHashes: []common.Hash{}},
|
||||||
},
|
&TransactionArgs{BlobHashes: []common.Hash{}, BlobFeeCap: (*hexutil.Big)(big.NewInt(4)), MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
||||||
{
|
nil,
|
||||||
"fill maxFeePerBlobGas when dynamic fees are set",
|
},
|
||||||
"cancun",
|
{
|
||||||
&TransactionArgs{BlobHashes: []common.Hash{}, MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
"fill maxFeePerBlobGas when dynamic fees are set",
|
||||||
&TransactionArgs{BlobHashes: []common.Hash{}, BlobFeeCap: (*hexutil.Big)(big.NewInt(4)), MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
"cancun",
|
||||||
nil,
|
&TransactionArgs{BlobHashes: []common.Hash{}, MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
||||||
},
|
&TransactionArgs{BlobHashes: []common.Hash{}, BlobFeeCap: (*hexutil.Big)(big.NewInt(4)), MaxFeePerGas: maxFee, MaxPriorityFeePerGas: fortytwo},
|
||||||
|
nil,
|
||||||
|
},
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue