Skip to content

Commit

Permalink
Merge pull request #213 from bitfinity-network/EPROD-1095_set_min_gas…
Browse files Browse the repository at this point in the history
…_price

[EPROD-1095] min_gas_price endpoints should accept decimal number
  • Loading branch information
ufoscout authored Dec 13, 2024
2 parents 27316a2 + 3c147d5 commit f8f0c47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ homepage = "https://github.com/bitfinity-network/bitfinity-evm-sdk"
include = ["src/**/*", "LICENSE", "README.md"]
license = "MIT"
repository = "https://github.com/bitfinity-network/bitfinity-evm-sdk"
version = "0.37.0"
version = "0.38.0"

[workspace.dependencies]
did = { path = "src/did" }
Expand Down
4 changes: 2 additions & 2 deletions src/evm-canister-client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ impl<C: CanisterClient> EvmCanisterClient<C> {
/// Sets the min gas price
pub async fn admin_set_min_gas_price(
&self,
min_gas_price: U256,
min_gas_price: u128,
) -> CanisterClientResult<Result<()>> {
self.client
.update("admin_set_min_gas_price", (min_gas_price,))
Expand Down Expand Up @@ -565,7 +565,7 @@ impl<C: CanisterClient> EvmCanisterClient<C> {
}

/// Returns the min gas price
pub async fn get_min_gas_price(&self) -> CanisterClientResult<U256> {
pub async fn get_min_gas_price(&self) -> CanisterClientResult<u128> {
self.client.query("get_min_gas_price", ()).await
}

Expand Down

0 comments on commit f8f0c47

Please sign in to comment.