Skip to content
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
832c864
Unpaid execution to Ethereum
yrong May 21, 2025
b70ad21
Add a custom SnowbridgeUnpaidRemoteExporter
yrong May 22, 2025
14f37be
Add base_fee back
yrong May 23, 2025
85343c0
Polish comment
yrong May 23, 2025
069b814
Add prdoc
yrong May 23, 2025
ad0c944
Merge branch 'master' into unpaid-execution-to-ethereum
yrong May 23, 2025
b984fdb
Add delivery fees to UnpaidRemoteExporter and remove the custom one
yrong May 23, 2025
d0cadac
AllowExplicitUnpaidExecution from AH root location
yrong May 23, 2025
e136ea8
Apply suggestions from code review
bkontur May 23, 2025
4f27913
Update Cargo.lock
bkontur May 23, 2025
1413bb1
Update prdoc/pr_8599.prdoc
bkontur May 23, 2025
eb47f82
Merge branch 'master' into unpaid-execution-to-ethereum
bkontur May 23, 2025
65c2f06
Merge branch 'master' into unpaid-execution-to-ethereum
yrong May 23, 2025
b48fecf
Snowbridge V1: unpaid execution (#20)
yrong May 28, 2025
69dee36
Merge branch 'master' into unpaid-execution-to-ethereum
yrong May 28, 2025
c51cbcd
Update prdoc
yrong May 28, 2025
4cf2753
Polish prdoc
yrong May 28, 2025
bc08753
Merge branch 'master' into unpaid-execution-to-ethereum
yrong May 28, 2025
2a3c139
Fix prdoc
yrong May 28, 2025
ce0053b
Merge branch 'unpaid-execution-to-ethereum' of https://github.com/yro…
yrong May 28, 2025
d7bbaca
Merge branch 'master' into unpaid-execution-to-ethereum
bkontur May 29, 2025
3542649
Fix breaking tests
yrong May 29, 2025
155cb10
Merge branch 'master' into unpaid-execution-to-ethereum
acatangiu May 29, 2025
e1e6ee4
Update prdoc
yrong May 29, 2025
7a16197
Merge branch 'unpaid-execution-to-ethereum' of https://github.com/yro…
yrong May 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions bridges/snowbridge/runtime/runtime-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
//!
//! Common traits and types shared by runtimes.
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(test)]
mod tests;
pub mod v1;
pub mod v2;
pub use v1::fee_handler::XcmExportFeeToSibling;
pub use v2::register_token::{ForeignAssetOwner, LocalAssetOwner};
171 changes: 0 additions & 171 deletions bridges/snowbridge/runtime/runtime-common/src/tests.rs

This file was deleted.

146 changes: 0 additions & 146 deletions bridges/snowbridge/runtime/runtime-common/src/v1/fee_handler.rs

This file was deleted.

3 changes: 0 additions & 3 deletions bridges/snowbridge/runtime/runtime-common/src/v1/mod.rs

This file was deleted.

13 changes: 5 additions & 8 deletions bridges/snowbridge/runtime/test-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ pub fn send_unpaid_transfer_token_message<Runtime, XcmConfig>(
+ pallet_collator_selection::Config
+ cumulus_pallet_parachain_system::Config
+ snowbridge_pallet_outbound_queue::Config
+ snowbridge_pallet_system::Config
+ pallet_timestamp::Config,
XcmConfig: xcm_executor::Config,
ValidatorIdOf<Runtime>: From<AccountIdOf<Runtime>>,
Expand All @@ -319,12 +320,9 @@ pub fn send_unpaid_transfer_token_message<Runtime, XcmConfig>(
.with_tracing()
.build()
.execute_with(|| {
let asset_hub_sovereign_account =
snowbridge_core::sibling_sovereign_account::<Runtime>(assethub_parachain_id.into());

<pallet_balances::Pallet<Runtime>>::mint_into(
&asset_hub_sovereign_account,
4000000000u32.into(),
<snowbridge_pallet_system::Pallet<Runtime>>::initialize(
runtime_para_id.into(),
assethub_parachain_id.into(),
)
.unwrap();

Expand Down Expand Up @@ -370,8 +368,7 @@ pub fn send_unpaid_transfer_token_message<Runtime, XcmConfig>(
RuntimeHelper::<Runtime>::xcm_max_weight(XcmReceivedFrom::Sibling),
Weight::zero(),
);
// check error is barrier
assert_err!(outcome.ensure_complete(), XcmError::Barrier);
assert_ok!(outcome.ensure_complete());
});
}

Expand Down
Loading
Loading