Skip to content

Commit

Permalink
Uncomment westend relay encoder tests (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk authored Aug 1, 2024
1 parent dfb7b16 commit 02d3771
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions runtime/relay-encoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ parity-scale-codec = { workspace = true, features = [ "derive" ] }
[dev-dependencies]
polkadot-runtime-parachains = { workspace = true }
rococo-runtime = { workspace = true }
rococo-runtime-constants = { workspace = true }
westend-runtime = { workspace = true }

[features]
default = [
Expand All @@ -29,6 +29,6 @@ std = [
"cumulus-primitives-core/std",
"parity-scale-codec/std",
"polkadot-runtime-parachains/std",
"rococo-runtime-constants/std",
"rococo-runtime/std",
"westend-runtime/std",
]
8 changes: 3 additions & 5 deletions runtime/relay-encoder/src/westend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ pub enum OnDemandAssignmentProviderCall {
},
}

// TODO: uncomment tests after polkadot 1.8.0 upgrade
/*
#[cfg(test)]
mod tests {
use super::*;
use polkadot_runtime_parachains::assigner_on_demand as parachains_assigner_on_demand;
use {
super::*, polkadot_runtime_parachains::assigner_on_demand as parachains_assigner_on_demand,
};

#[test]
fn encode_place_order_allow_death() {
Expand All @@ -61,4 +60,3 @@ mod tests {
assert_eq!(call.encode(), call2.encode());
}
}
*/

0 comments on commit 02d3771

Please sign in to comment.