Skip to content

Commit

Permalink
fix: mismatch greedy builder in test code (ethereum#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
boosik authored Jul 13, 2023
1 parent 9acf640 commit 090a90c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/algo_greedy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ func TestBuildBlockGasLimit(t *testing.T) {
var result *environment
switch algo {
case ALGO_GREEDY_BUCKETS:
builder := newGreedyBuilder(chData.chain, chData.chainConfig, nil, env, nil, nil)
builder := newGreedyBucketsBuilder(chData.chain, chData.chainConfig, nil, nil, env, nil, nil)
result, _, _ = builder.buildBlock([]types.SimulatedBundle{}, nil, txs)
case ALGO_GREEDY:
builder := newGreedyBucketsBuilder(chData.chain, chData.chainConfig, nil, nil, env, nil, nil)
builder := newGreedyBuilder(chData.chain, chData.chainConfig, nil, env, nil, nil)
result, _, _ = builder.buildBlock([]types.SimulatedBundle{}, nil, txs)
}

Expand Down

0 comments on commit 090a90c

Please sign in to comment.