|
|
@ -1424,6 +1424,7 @@ func TestAdd(t *testing.T) { |
|
|
|
// 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)), |
|
|
|
|
|
|
|
Difficulty: common.Big0, |
|
|
|
BaseFee: chain.CurrentBlock().BaseFee, // invalid, but nothing checks it, yolo
|
|
|
|
BaseFee: chain.CurrentBlock().BaseFee, // invalid, but nothing checks it, yolo
|
|
|
|
} |
|
|
|
} |
|
|
|
// Inject the fake block into the chain
|
|
|
|
// Inject the fake block into the chain
|
|
|
|