Skip to content

Commit

Permalink
fix build error, bump ver
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Jan 17, 2025
1 parent 1be0672 commit f006d83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 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
Expand Up @@ -5,7 +5,7 @@ default-members = ["core"]

[workspace.package]
edition = "2021"
version = "0.2.33"
version = "0.2.34"
license = "Apache-2.0"
readme = "README.md"
authors = ["erhant"]
Expand Down
6 changes: 4 additions & 2 deletions core/src/node/core.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use super::{DriaOracle, DriaOracleConfig};
use alloy::contract::CallBuilder;
use alloy::hex::FromHex;
use alloy::primitives::utils::parse_ether;

#[cfg(feature = "anvil")]
use alloy::providers::ext::AnvilApi;

use alloy::providers::{PendingTransactionBuilder, WalletProvider};
use alloy::transports::RpcError;
use alloy::{
Expand Down Expand Up @@ -43,7 +45,7 @@ impl DriaOracle {
provider
.anvil_set_balance(
config.wallet.default_signer().address(),
parse_ether(Self::ANVIL_FUND_ETHER).unwrap(),
alloy::primitives::utils::parse_ether(Self::ANVIL_FUND_ETHER).unwrap(),
)
.await?;

Expand Down

0 comments on commit f006d83

Please sign in to comment.