Skip to content

Commit

Permalink
Added near-fetch 0.5.1 to fix unreachable code issues on status.await
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoticTempest committed Sep 5, 2024
1 parent ca3a497 commit a74c620
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chain-signatures/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chain-signatures/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ url = { version = "2.4.0", features = ["serde"] }

near-account-id = "1.0.0"
near-crypto = "0.23.0"
near-fetch = "0.5.0"
near-fetch = "0.5.1"
near-lake-framework = { git = "https://github.com/near/near-lake-framework-rs", branch = "node/1.40-and-async-run" }
near-lake-primitives = { git = "https://github.com/near/near-lake-framework-rs", branch = "node/1.40-and-async-run" }
near-primitives = "0.23.0"
Expand Down
2 changes: 2 additions & 0 deletions chain-signatures/node/src/protocol/cryptography.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ impl CryptographicProtocol for RunningState {
// block height is up to date, such that they too can process signature requests. If they cannot
// then they are considered unstable and should not be a part of signature generation this round.
let stable = ctx.mesh().stable_participants().await;
tracing::trace!(?stable, "stable participants");

let mut sign_queue = self.sign_queue.write().await;
crate::metrics::SIGN_QUEUE_SIZE
.with_label_values(&[my_account_id.as_str()])
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/chain-signatures/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration-tests/chain-signatures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ k256 = { version = "0.13.1", features = ["sha256", "ecdsa", "serde"] }
# near dependencies
near-account-id = "1"
near-crypto = "0.23.0"
near-fetch = "0.5.0"
near-fetch = "0.5.1"
near-jsonrpc-client = "0.10.1"
near-primitives = "0.23.0"
near-lake-framework = { git = "https://github.com/near/near-lake-framework-rs", branch = "node/1.40" }
Expand Down

0 comments on commit a74c620

Please sign in to comment.