Skip to content

Commit

Permalink
Merge pull request #18 from alloy-rs/dani/fix-sol-import
Browse files Browse the repository at this point in the history
fix: use `alloy::sol` instead of `alloy::sol_types::sol`
  • Loading branch information
zerosnacks authored Mar 25, 2024
2 parents 94fe3c6 + 6846abf commit 2c009eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ alloy = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", features =
"transport-ws",
"pubsub",
] }
# TODO: sol! macro somehow requires this to be present
alloy-sol-types = { version = "0.6.4", default-features = false, features = [
"std",
] }


# async
tokio = "1"
Expand Down
1 change: 0 additions & 1 deletion examples/wallets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ repository.workspace = true

[dev-dependencies]
alloy.workspace = true
alloy-sol-types.workspace = true

eyre.workspace = true
reqwest.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion examples/wallets/examples/sign_permit_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
use alloy::{
primitives::{address, keccak256, U256},
signers::{wallet::LocalWallet, Signer},
sol_types::{eip712_domain, sol, SolStruct},
sol,
sol_types::{eip712_domain, SolStruct},
};
use eyre::Result;
use serde::Serialize;
Expand Down

0 comments on commit 2c009eb

Please sign in to comment.