blobpool wip add

This commit is contained in:
lightclient 2025-01-27 09:03:19 -07:00
parent 418e96b958
commit b74866bcf9
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -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))