mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
blobpool wip add
This commit is contained in:
parent
418e96b958
commit
b74866bcf9
1 changed files with 3 additions and 2 deletions
|
|
@ -1565,8 +1565,9 @@ func TestAdd(t *testing.T) {
|
||||||
if tt.block != nil {
|
if tt.block != nil {
|
||||||
// Fake a header for the new set of transactions
|
// Fake a header for the new set of transactions
|
||||||
header := &types.Header{
|
header := &types.Header{
|
||||||
Number: big.NewInt(int64(chain.CurrentBlock().Number.Uint64() + 1)),
|
Number: big.NewInt(int64(chain.CurrentBlock().Number.Uint64() + 1)),
|
||||||
BaseFee: chain.CurrentBlock().BaseFee, // invalid, but nothing checks it, yolo
|
Difficulty: common.Big0,
|
||||||
|
BaseFee: chain.CurrentBlock().BaseFee, // invalid, but nothing checks it, yolo
|
||||||
}
|
}
|
||||||
// Inject the fake block into the chain
|
// Inject the fake block into the chain
|
||||||
txs := make([]*types.Transaction, len(tt.block))
|
txs := make([]*types.Transaction, len(tt.block))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue