Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow complex calldata when initializing contracts #2625

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 5 additions & 166 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ futures = "0.3.30"
futures-util = "0.3.30"
hashlink = "0.9.1"
hex = "0.4.3"
hex-literal = "0.4.1"
http = "0.2.9"
indexmap = "2.2.5"
indoc = "1.0.7"
Expand All @@ -178,6 +179,7 @@ lazy_static = "1.4.0"
log = "0.4.21"
metrics = "0.23.0"
num-traits = { version = "0.2", default-features = false }
num-bigint = "0.4.3"
once_cell = "1.0"
parking_lot = "0.12.1"
postcard = { version = "1.0.10", features = [ "use-std" ], default-features = false }
Expand Down
17 changes: 1 addition & 16 deletions bin/sozo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ slot = { workspace = true, optional = true }

anyhow.workspace = true
async-trait.workspace = true
bigdecimal.workspace = true
cairo-lang-compiler.workspace = true
cairo-lang-filesystem.workspace = true
cairo-lang-plugins.workspace = true
cairo-lang-project.workspace = true
cairo-lang-starknet.workspace = true
cairo-lang-test-plugin.workspace = true
Expand All @@ -23,33 +21,22 @@ camino.workspace = true
clap.workspace = true
clap-verbosity-flag.workspace = true
colored.workspace = true
console.workspace = true
dojo-bindgen.workspace = true
dojo-lang.workspace = true
dojo-types.workspace = true
dojo-utils.workspace = true
dojo-world.workspace = true
hex = "0.4.3"
hex-literal = "0.4.1"
itertools.workspace = true
katana-rpc-api.workspace = true
notify = "6.0.1"
num-bigint = "0.4.3"
num-integer = "0.1.45"
prettytable-rs = "0.10.0"
tabled = { version = "0.16.0", features = [ "ansi" ] }
regex.workspace = true
rpassword.workspace = true
scarb.workspace = true
scarb-ui.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
smol_str.workspace = true
sozo-ops.workspace = true
sozo-walnut = { workspace = true, optional = true }
sozo-scarbext.workspace = true
spinoff.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
Expand All @@ -60,14 +47,12 @@ tracing-log.workspace = true
tracing-subscriber.workspace = true
url.workspace = true

cainome.workspace = true
reqwest = { workspace = true, features = [ "json" ], optional = true }

[dev-dependencies]
assert_fs.workspace = true
dojo-test-utils = { workspace = true, features = [ "build-examples" ] }
katana-runner.workspace = true
snapbox = "0.4.6"
serde_json.workspace = true

[features]
default = [ "controller", "walnut" ]
Expand Down
2 changes: 1 addition & 1 deletion bin/sozo/src/commands/call.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use anyhow::{anyhow, Result};
use clap::Args;
use dojo_types::naming;
use dojo_world::config::calldata_decoder;
use scarb::core::Config;
use sozo_ops::resource_descriptor::ResourceDescriptor;
use sozo_scarbext::WorkspaceExt;
Expand All @@ -11,7 +12,6 @@ use tracing::trace;

use super::options::starknet::StarknetOptions;
use super::options::world::WorldOptions;
use crate::commands::calldata_decoder;
use crate::utils;

#[derive(Debug, Args)]
Expand Down
Loading
Loading