Skip to content

Commit

Permalink
refactor(sns-w): Migrate from dfn_core to ic_cdk (#3662)
Browse files Browse the repository at this point in the history
Migrating another canister away from dfn_core to ic_cdk

---------

Co-authored-by: IDX GitHub Automation <[email protected]>
  • Loading branch information
max-dfinity and IDX GitHub Automation authored Jan 31, 2025
1 parent d3a3f07 commit f4450eb
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 195 deletions.
5 changes: 1 addition & 4 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion rs/nns/governance/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ DEPENDENCIES = [
"//rs/nns/sns-wasm",
"//rs/protobuf",
"//rs/registry/canister",
"//rs/rust_canisters/dfn_http_metrics",
"//rs/rust_canisters/http_types",
"//rs/rust_canisters/on_wire",
"//rs/sns/init",
Expand Down
1 change: 0 additions & 1 deletion rs/nns/governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ async-trait = { workspace = true }
bytes = { workspace = true }
candid = { workspace = true }
cycles-minting-canister = { path = "../cmc" }
dfn_http_metrics = { path = "../../rust_canisters/dfn_http_metrics" }
dyn-clone = "1.0.14"
futures = { workspace = true }
ic-base-types = { path = "../../types/base_types" }
Expand Down
4 changes: 1 addition & 3 deletions rs/nns/sns-wasm/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ DEPENDENCIES = [
"//rs/nervous_system/runtime",
"//rs/nns/constants",
"//rs/nns/handlers/root/interface",
"//rs/rust_canisters/dfn_candid",
"//rs/rust_canisters/dfn_core",
"//rs/rust_canisters/dfn_http_metrics",
"//rs/rust_canisters/http_types",
"//rs/sns/governance",
"//rs/sns/init",
"//rs/sns/root",
Expand Down
4 changes: 1 addition & 3 deletions rs/nns/sns-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ path = "src/lib.rs"
[dependencies]
async-trait = { workspace = true }
candid = { workspace = true }
dfn_candid = { path = "../../rust_canisters/dfn_candid" }
dfn_core = { path = "../../rust_canisters/dfn_core" }
dfn_http_metrics = { path = "../../rust_canisters/dfn_http_metrics" }
futures = { workspace = true }
hex = { workspace = true }
ic-base-types = { path = "../../types/base_types" }
ic-canisters-http-types = { path = "../../rust_canisters/http_types" }
ic-cdk = { workspace = true }
ic-crypto-sha2 = { path = "../../crypto/sha2/" }
ic-management-canister-types = { path = "../../types/management_canister_types" }
Expand Down
Loading

0 comments on commit f4450eb

Please sign in to comment.