Skip to content

Commit

Permalink
replace eth checksum depedency
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Mar 28, 2024
1 parent 22e2a21 commit 1852a5b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 135 deletions.
146 changes: 24 additions & 122 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 @@ -159,7 +159,7 @@ keccak-hash = { version = "0.10.0", default-features = false }
secrecy = "0.8.0"
sha2 = { version = "0.10.8", default-features = false }
zeroize = { version = "1", default-features = false }
eth_checksum = { version = "0.1.2", default-features = false }
ethaddr = { version = "0.2.2", default-features = false }

[profile.dev.package.smoldot-light]
opt-level = 2
Expand Down
4 changes: 2 additions & 2 deletions signer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ std = ["regex/std", "sp-crypto-hashing/std", "pbkdf2/std", "sha2/std", "hmac/std
# https://github.com/rust-bitcoin/rust-bitcoin/issues/930#issuecomment-1215538699
sr25519 = ["schnorrkel"]
ecdsa = ["secp256k1"]
eth = ["keccak-hash", "secp256k1", "bip32", "eth_checksum"]
eth = ["keccak-hash", "secp256k1", "bip32", "ethaddr"]

# Make the keypair algorithms here compatible with Subxt's Signer trait,
# so that they can be used to sign transactions for compatible chains.
Expand Down Expand Up @@ -52,7 +52,7 @@ bip32 = { workspace = true, features = ["alloc", "secp256k1"], optional = true }
schnorrkel = { workspace = true, optional = true }
secp256k1 = { workspace = true, optional = true, features = ["alloc", "recovery"] }
keccak-hash = { workspace = true, optional = true }
eth_checksum = { workspace = true, optional = true }
ethaddr = { workspace = true, optional = true }

# We only pull this in to enable the JS flag for schnorrkel to use.
getrandom = { workspace = true, optional = true }
Expand Down
Loading

0 comments on commit 1852a5b

Please sign in to comment.