Skip to content

Commit

Permalink
patch deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jun 26, 2024
1 parent 2926716 commit 5c67f10
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 14 deletions.
74 changes: 63 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ tracing-subscriber = { version = "0.3.16", features = [ "env-filter", "json" ] }
url = "2.4.0"

starknet = "0.11.0"
# Ref: <https://github.com/xJonathanLEI/starknet-rs/pull/612>
starknet-core = ">=0.11.1"

[dependencies]
camino.workspace = true
Expand All @@ -53,6 +51,13 @@ tracing-subscriber.workspace = true
url.workspace = true
tokio = { version = "1.15.0", features = ["full"], optional = true }

[patch.crates-io]
# Remove this patch once `starknet-rs` has been updated to use a version of `starknet-types-core` which includes the specified rev.
# This specific rev is to implement `FromStr` for `Felt`
starknet-types-core = { git = "https://github.com/starknet-io/types-rs", rev = "d3d77a5" }
# To enable std feature on `starknet-types-core`, remove this patch once the following PR is merged: <https://github.com/xJonathanLEI/starknet-rs/pull/615>
starknet-core = { git = "https://github.com/kariy/starknet-rs", rev = "fffe8e9" }

[features]
default = []
abigen-rs = ["cainome-rs-macro"]
Expand Down
1 change: 0 additions & 1 deletion src/bin/cli/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pub struct CainomeArgs {
#[arg(requires = "rpc_url")]
#[arg(requires = "contract_name")]
#[arg(help = "Address of the contract to fetch the ABI from.")]
// #[arg(value_parser = Felt::from_hex)]
pub contract_address: Option<Felt>,

#[arg(long)]
Expand Down

0 comments on commit 5c67f10

Please sign in to comment.