Skip to content

Commit

Permalink
add primtiive types with byteorder to xcm-primtives (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki authored May 28, 2024
1 parent f0c7f17 commit 1e31dca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ paste = "1.0.14"
slices = "0.2.0"
libsecp256k1 = { version = "0.7.1", default-features = false }
sha3 = { version = "0.10.8", default-features = false }
primitive-types = { version = "0.12.2", default-features = false }

# Crates.io (template only)
clap = { version = "4.0.9" }
Expand Down
3 changes: 3 additions & 0 deletions primitives/xcm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ sp-runtime = { workspace = true }
sp-std = { workspace = true }
parity-scale-codec = { workspace = true, features = [ "derive" ] }
xcm = { workspace = true }
# needed for H160_from_low_u64_be as sp-core does not add this feature
primitive-types = { workspace = true, featues = ["byteorder"] }

[features]
default = [ "std" ]
Expand All @@ -24,6 +26,7 @@ std = [
"sp-runtime/std",
"sp-std/std",
"parity-scale-codec/std",
"primitive-types/std",
"xcm/std"
]
runtime-benchmarks = []

0 comments on commit 1e31dca

Please sign in to comment.