Skip to content

Commit

Permalink
Merge pull request #152 from PeggyJV/bolten/reduce-gas-limit
Browse files Browse the repository at this point in the history
Reduce gas limit
  • Loading branch information
EricBolten committed Jul 12, 2022
2 parents faed359 + 65721f7 commit 511b8f3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sommelier_steward"
version = "1.0.1"
version = "2.0.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion steward/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "steward"
authors = []
version = "2.0.0"
version = "2.0.1"
edition = "2018"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions steward/src/cork.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl steward::contract_call_server::ContractCall for CorkHandler {
error!("cork query client connection failed: {}", err);
return Err(Status::new(
Code::Internal,
"failed to query chain to validate cellar id",
format!("failed to query chain to validate cellar id: {}", err),
));
}
};
Expand Down Expand Up @@ -81,10 +81,10 @@ impl steward::contract_call_server::ContractCall for CorkHandler {
error!("failed to submit cork: {}", err);
return Err(Status::new(
Code::Internal,
"failed to send cork to sommelier",
format!("failed to send cork to sommelier: {}", err),
));
}
info!("submitted cork for {}!", cellar_id);
info!("submitted cork for {}", cellar_id);

Ok(Response::new(SubmitResponse {}))
}
Expand Down
2 changes: 1 addition & 1 deletion steward/src/somm_send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async fn __send_messages(

let fee = Fee {
amount: vec![fee],
gas_limit: 500_000_000u64 * (messages.len() as u64),
gas_limit: 500_000u64 * (messages.len() as u64),
granter: None,
payer: None,
};
Expand Down

0 comments on commit 511b8f3

Please sign in to comment.