From 1c58f0e215ce6132e54e02daaf100f8825304ec6 Mon Sep 17 00:00:00 2001 From: Matthew Di Ferrante Date: Fri, 25 Apr 2025 22:02:11 +0200 Subject: [PATCH 1/2] Merge pull request #291 from PrimeIntellect-ai/fix/invalid-gas-estimate-submit-work increase gas allowance to handle invalid estimate in submit_work --- .../src/web3/contracts/implementations/compute_pool_contract.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/shared/src/web3/contracts/implementations/compute_pool_contract.rs b/crates/shared/src/web3/contracts/implementations/compute_pool_contract.rs index 1e737a34..31deb5e4 100644 --- a/crates/shared/src/web3/contracts/implementations/compute_pool_contract.rs +++ b/crates/shared/src/web3/contracts/implementations/compute_pool_contract.rs @@ -160,6 +160,7 @@ impl ComputePool { "submitWork", &[pool_id.into(), node.into(), submit_data.into()], )? + .gas(1_000_000) .send() .await? .watch() From 85c7e35926862300a58528a8d7a1f5b577b98197 Mon Sep 17 00:00:00 2001 From: Jannik Straube Date: Fri, 25 Apr 2025 22:10:01 +0200 Subject: [PATCH 2/2] bump version --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7aa50181..151948ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2364,7 +2364,7 @@ dependencies = [ [[package]] name = "discovery" -version = "0.2.6" +version = "0.2.7" dependencies = [ "actix-web", "alloy", @@ -4403,7 +4403,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "orchestrator" -version = "0.2.6" +version = "0.2.7" dependencies = [ "actix-web", "alloy", @@ -6562,7 +6562,7 @@ dependencies = [ [[package]] name = "validator" -version = "0.2.6" +version = "0.2.7" dependencies = [ "actix-web", "alloy", @@ -7206,7 +7206,7 @@ dependencies = [ [[package]] name = "worker" -version = "0.2.6" +version = "0.2.7" dependencies = [ "actix-web", "alloy", diff --git a/Cargo.toml b/Cargo.toml index 4055959a..f0f9d047 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ redis = "0.28.1" redis-test = "0.8.0" [workspace.package] -version = "0.2.6" +version = "0.2.7" edition = "2021" [workspace.features]