Skip to content

Commit

Permalink
Move refund extension to relayers pallet (#2584)
Browse files Browse the repository at this point in the history
* moved all call-related definitions to primitives

* moving refund extension to relayers pallet

* cleaning up

* fix compilation + spelling
  • Loading branch information
svyatonik authored and bkontur committed May 7, 2024
1 parent 3287f12 commit ee0af4e
Show file tree
Hide file tree
Showing 27 changed files with 1,182 additions and 1,149 deletions.
12 changes: 12 additions & 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 bin/millau/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/par
[dev-dependencies]
bridge-runtime-common = { path = "../../runtime-common", features = ["integrity-test", "std"] }
env_logger = "0.10"
pallet-bridge-relayers = { path = "../../../modules/relayers", features = ["integrity-test", "std"] }
static_assertions = "1.1"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion bin/millau/runtime/src/rialto_parachain_messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ mod tests {
},
});

bridge_runtime_common::priority_calculator::ensure_priority_boost_is_sane::<
pallet_bridge_relayers::extension::ensure_priority_boost_is_sane::<
Runtime,
WithRialtoParachainMessagesInstance,
PriorityBoostPerMessage,
Expand Down
4 changes: 0 additions & 4 deletions bin/runtime-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ use xcm::v3::NetworkId;
pub mod messages_api;
pub mod messages_benchmarking;
pub mod parachains_benchmarking;
pub mod priority_calculator;
pub mod refund_relayer_extension;

mod mock;

#[cfg(feature = "integrity-test")]
pub mod integrity;
Expand Down
Loading

0 comments on commit ee0af4e

Please sign in to comment.