mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 15:41:02 +00:00
Bump Substrate/Polkadot/Cumulus refs (aka Weights v1.5) (#1597)
* update Substrate + Polkadot + Cumulus refs * Origin -> RuntimeOrigin * weights v1.5 * update refs once again + `cargo test -p pallet-bridge-grandpa` works * started work on `cargo test -p pallet-bridge-messages` * cargo test -p pallet-bridge-relayers * cargo test -p pallet-bridge-parachains * cargo test -p millau-runtime * cargo test -p bridge-runtime-common * cargo test -p rialto-runtime * cargo test -p rialto-parachain-runtime * cargo test -p millau-bridge-node * cargo test -p rialto-bridge-node * cargo test -p rialto-parachain-collator * cargo test -p messages-relay * cargo test -p parachains-relay * cargo test -p substrate-relay * cargo test --all * cargo check -p millau-runtime --locked --features runtime-benchmarks * fix remaining test * fmt * try to allow clippy failure temporarily * Revert "try to allow clippy failure temporarily" This reverts commit d1b6593580f07e0dbeecb7ab0aa92cee98888ed3. * use min_by * Revert "use min_by" This reverts commit 33042f49ed37e8dd0505370289e17f03bf1a56ee. * Revert "Revert "use min_by"" This reverts commit 1d2204f0b14dc81e5650bb574dedb5fa78c7097d. * trigger CI * Revert "trigger CI" This reverts commit 259d91b5606743bba9d043c69f07eac6c8700ef5. * new day, new clippy warning * more clippy issues
This commit is contained in:
committed by
Bastian Köcher
parent
9e1847d12a
commit
a3dc2d2748
@@ -50,7 +50,7 @@ impl CliEncodeMessage for Millau {
|
||||
),
|
||||
};
|
||||
|
||||
Ok(millau_runtime::Call::XcmPallet(millau_runtime::XcmCall::send {
|
||||
Ok(millau_runtime::RuntimeCall::XcmPallet(millau_runtime::XcmCall::send {
|
||||
dest: Box::new(dest.into()),
|
||||
message: Box::new(message),
|
||||
})
|
||||
@@ -64,7 +64,7 @@ impl CliEncodeMessage for Millau {
|
||||
bridge_instance_index: u8,
|
||||
) -> anyhow::Result<EncodedOrDecodedCall<Self::Call>> {
|
||||
Ok(match bridge_instance_index {
|
||||
bridge::MILLAU_TO_RIALTO_INDEX => millau_runtime::Call::BridgeRialtoMessages(
|
||||
bridge::MILLAU_TO_RIALTO_INDEX => millau_runtime::RuntimeCall::BridgeRialtoMessages(
|
||||
millau_runtime::MessagesCall::send_message {
|
||||
lane_id: lane,
|
||||
payload,
|
||||
@@ -73,7 +73,7 @@ impl CliEncodeMessage for Millau {
|
||||
)
|
||||
.into(),
|
||||
bridge::MILLAU_TO_RIALTO_PARACHAIN_INDEX =>
|
||||
millau_runtime::Call::BridgeRialtoParachainMessages(
|
||||
millau_runtime::RuntimeCall::BridgeRialtoParachainMessages(
|
||||
millau_runtime::MessagesCall::send_message {
|
||||
lane_id: lane,
|
||||
payload,
|
||||
|
||||
@@ -69,8 +69,9 @@ mod tests {
|
||||
}
|
||||
#[test]
|
||||
fn rialto_tx_extra_bytes_constant_is_correct() {
|
||||
let rialto_call =
|
||||
rialto_runtime::Call::System(rialto_runtime::SystemCall::remark { remark: vec![] });
|
||||
let rialto_call = rialto_runtime::RuntimeCall::System(rialto_runtime::SystemCall::remark {
|
||||
remark: vec![],
|
||||
});
|
||||
let rialto_tx = Rialto::sign_transaction(
|
||||
SignParam {
|
||||
spec_version: 1,
|
||||
@@ -92,8 +93,9 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn millau_tx_extra_bytes_constant_is_correct() {
|
||||
let millau_call =
|
||||
millau_runtime::Call::System(millau_runtime::SystemCall::remark { remark: vec![] });
|
||||
let millau_call = millau_runtime::RuntimeCall::System(millau_runtime::SystemCall::remark {
|
||||
remark: vec![],
|
||||
});
|
||||
let millau_tx = Millau::sign_transaction(
|
||||
SignParam {
|
||||
spec_version: 0,
|
||||
|
||||
@@ -42,7 +42,7 @@ impl CliEncodeMessage for Rialto {
|
||||
),
|
||||
};
|
||||
|
||||
Ok(rialto_runtime::Call::XcmPallet(rialto_runtime::XcmCall::send {
|
||||
Ok(rialto_runtime::RuntimeCall::XcmPallet(rialto_runtime::XcmCall::send {
|
||||
dest: Box::new(dest.into()),
|
||||
message: Box::new(message),
|
||||
})
|
||||
@@ -56,7 +56,7 @@ impl CliEncodeMessage for Rialto {
|
||||
bridge_instance_index: u8,
|
||||
) -> anyhow::Result<EncodedOrDecodedCall<Self::Call>> {
|
||||
Ok(match bridge_instance_index {
|
||||
bridge::RIALTO_TO_MILLAU_INDEX => rialto_runtime::Call::BridgeMillauMessages(
|
||||
bridge::RIALTO_TO_MILLAU_INDEX => rialto_runtime::RuntimeCall::BridgeMillauMessages(
|
||||
rialto_runtime::MessagesCall::send_message {
|
||||
lane_id: lane,
|
||||
payload,
|
||||
|
||||
@@ -42,10 +42,12 @@ impl CliEncodeMessage for RialtoParachain {
|
||||
),
|
||||
};
|
||||
|
||||
Ok(rialto_parachain_runtime::Call::PolkadotXcm(rialto_parachain_runtime::XcmCall::send {
|
||||
dest: Box::new(dest.into()),
|
||||
message: Box::new(message),
|
||||
})
|
||||
Ok(rialto_parachain_runtime::RuntimeCall::PolkadotXcm(
|
||||
rialto_parachain_runtime::XcmCall::send {
|
||||
dest: Box::new(dest.into()),
|
||||
message: Box::new(message),
|
||||
},
|
||||
)
|
||||
.into())
|
||||
}
|
||||
|
||||
@@ -57,7 +59,7 @@ impl CliEncodeMessage for RialtoParachain {
|
||||
) -> anyhow::Result<EncodedOrDecodedCall<Self::Call>> {
|
||||
Ok(match bridge_instance_index {
|
||||
bridge::RIALTO_PARACHAIN_TO_MILLAU_INDEX =>
|
||||
rialto_parachain_runtime::Call::BridgeMillauMessages(
|
||||
rialto_parachain_runtime::RuntimeCall::BridgeMillauMessages(
|
||||
rialto_parachain_runtime::MessagesCall::send_message {
|
||||
lane_id: lane,
|
||||
payload,
|
||||
|
||||
Reference in New Issue
Block a user