Skip to content

Commit 6035584

Browse files
authored
Remove unnecessary prepare_chain call. (#4370)
## Motivation In #3099 I added a `prepare_chain` call that shouldn't be necessary, because `test_end_to_end_listen_for_new_rounds::storage_test_service_grpc` was flaky for me locally. I believe the underlying issue may have been fixed in #4361. ## Proposal Remove the unnecessary call again. ## Test Plan It now passed for me locally 10 times in debug and 10 times in release mode. (I believe we didn't see the failure in CI.) ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links - Fixes #3100. - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 99fd9b8 commit 6035584

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

linera-client/src/client_context.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ impl<Env: Environment, W: Persist<Target = Wallet>> ClientContext<Env, W> {
422422

423423
loop {
424424
// Try applying f. Return if committed.
425-
client.prepare_chain().await?;
426425
let result = f(client).await;
427426
self.update_wallet_from_client(client).await?;
428427
let timeout = match result? {

0 commit comments

Comments
 (0)