Skip to content

Commit f8f211f

Browse files
authored
fix: operator reliability fixes (#62)
1 parent 712cc44 commit f8f211f

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ sp1-sdk = { version = "5.2.1", default-features = false, features = [
3333
] }
3434
sp1-zkvm = "5.0.0"
3535

36+
[profile.dev]
37+
debug = true
38+
39+
[profile.dev.package."*"]
40+
opt-level = 3
41+
debug-assertions = false
42+
3643
[patch.crates-io]
3744
sha2-v0-9-9 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "patch-sha2-0.9.9-sp1-4.0.0" }
3845
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "patch-sha2-0.10.8-sp1-4.0.0" }

contracts/foundry.lock

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"lib/Succinctx": {
3+
"rev": "71f2b3aa395f4e7f824e35f89e75d4a368f963b8"
4+
},
5+
"lib/blobstream-contracts": {
6+
"rev": "e88c524fd8edd41bda804ac24042191a396cef65"
7+
},
8+
"lib/openzeppelin-contracts": {
9+
"rev": "4764ea50750d8bda9096e833706beba86918b163"
10+
},
11+
"lib/openzeppelin-contracts-upgradeable": {
12+
"rev": "326456bf188686bf376802e981cf6f58d767f0b5"
13+
},
14+
"lib/sp1-contracts": {
15+
"rev": "2fcbf9257330ebe13df4cccd475b642812c03944"
16+
}
17+
}

script/src/relay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async fn send_kms_relay_request(args: &KMSRelayRequest) -> Result<KMSRelayRespon
7777
.post(format!("{relayer_endpoint}/relay"))
7878
.bearer_auth(api_key)
7979
.json(&args)
80-
.timeout(Duration::from_secs(30))
80+
.timeout(Duration::from_secs(180))
8181
.send()
8282
.await?;
8383

script/src/tendermint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ pub const DEFAULT_TENDERMINT_RPC_CONCURRENCY: usize = 5;
3434
/// The default sleep duration for Tendermint RPC requests in milliseconds.
3535
pub const DEFAULT_TENDERMINT_RPC_SLEEP_MS: Duration = Duration::from_millis(1250);
3636

37-
/// The maximum number of failures allowed when t
38-
pub const DEFAULT_FAILURES_ALLOWED: u32 = 5;
37+
/// The maximum number of failures allowed when retrying a Tendermint RPC request.
38+
pub const DEFAULT_FAILURES_ALLOWED: u32 = 20;
3939

4040
impl TendermintRPCClient {
4141
pub fn new(url: String) -> Self {

0 commit comments

Comments
 (0)