Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Nov 29, 2024
1 parent 8869608 commit 10dcaf5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

7 changes: 3 additions & 4 deletions bridges/snowbridge/primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ categories = ["cryptography::cryptocurrencies"]
workspace = true

[dependencies]
serde = { optional = true, features = ["alloc", "derive"], workspace = true }
codec = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
hex-literal = { workspace = true, default-features = true }
Expand All @@ -31,8 +32,6 @@ sp-arithmetic = { workspace = true }
snowbridge-beacon-primitives = { workspace = true }

ethabi = { workspace = true }
alloy-primitives = { features = ["rlp"], workspace = true }
alloy-sol-types = { workspace = true }

[dev-dependencies]
hex = { workspace = true, default-features = true }
Expand All @@ -41,14 +40,13 @@ xcm-executor = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"alloy-primitives/std",
"alloy-sol-types/std",
"codec/std",
"ethabi/std",
"frame-support/std",
"frame-system/std",
"polkadot-parachain-primitives/std",
"scale-info/std",
"serde/std",
"snowbridge-beacon-primitives/std",
"sp-arithmetic/std",
"sp-core/std",
Expand All @@ -58,6 +56,7 @@ std = [
"xcm-builder/std",
"xcm/std",
]
serde = ["dep:serde", "scale-info/serde"]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
Expand Down
1 change: 1 addition & 0 deletions bridges/snowbridge/primitives/core/src/operating_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use sp_runtime::RuntimeDebug;

/// Basic operating modes for a bridges module (Normal/Halted).
#[derive(Encode, Decode, Clone, Copy, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum BasicOperatingMode {
/// Normal mode, when all operations are allowed.
Normal,
Expand Down

0 comments on commit 10dcaf5

Please sign in to comment.