Skip to content

Commit

Permalink
Remove builder_clients_marketplace from txn task (#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinI authored Aug 1, 2024
1 parent 469717d commit 9fe6b46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion crates/hotshot/src/tasks/task_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>> CreateTaskState<TYPES, I>
.cloned()
.map(BuilderClient::new)
.collect(),
builder_clients_marketplace: Vec::new(),
decided_upgrade_certificate: Arc::clone(&handle.hotshot.decided_upgrade_certificate),
auction_results_provider: Arc::clone(&handle.hotshot.auction_results_provider),
}
Expand Down
5 changes: 1 addition & 4 deletions crates/task-impls/src/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ pub struct TransactionTaskState<TYPES: NodeType, I: NodeImplementation<TYPES>> {
/// Builder 0.1 API clients
pub builder_clients: Vec<BuilderClientBase<TYPES>>,

/// Builder 0.3 API clients
pub builder_clients_marketplace: Vec<BuilderClientMarketplace<TYPES>>,

/// This Nodes Public Key
pub public_key: TYPES::SignatureKey,
/// Our Private Key
Expand Down Expand Up @@ -283,7 +280,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>> TransactionTaskState<TYPES,
futures.push(async_timeout(
self.builder_timeout.saturating_sub(start.elapsed()),
async {
let client = crate::builder::v0_3::BuilderClient::new(url);
let client = BuilderClientMarketplace::new(url);
client.bundle(*block_view).await
},
));
Expand Down

0 comments on commit 9fe6b46

Please sign in to comment.