-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring XcmExportFeeToSibling and more tests for outbound fee (#1109
) * Handle fee with error instead of silently failing * Fix for pallet rename * AssetTransactor::deposit_asset directly with error thrown * Move invalid params to test * Check more strictly * More tests * More tests * Handle fee without error * Update sdk * More tests for outbound fee * More tests * Update parachain/runtime/runtime-common/src/lib.rs Co-authored-by: Alistair Singh <[email protected]> * Update parachain/runtime/runtime-common/src/lib.rs Co-authored-by: Alistair Singh <[email protected]> * Update parachain/runtime/runtime-common/src/lib.rs Co-authored-by: Alistair Singh <[email protected]> * Update parachain/runtime/runtime-common/src/lib.rs Co-authored-by: Alistair Singh <[email protected]> * More param checks & more tests * Rename test case less confusing * Remove sanity check for Pricing params * Remove test unnecessary * Revert to unroutable * Revert the checks * Rename as MockAssetTransactor * Update sdk --------- Co-authored-by: Alistair Singh <[email protected]>
- Loading branch information
1 parent
28e4f09
commit 4e24732
Showing
13 changed files
with
315 additions
and
66 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
//! Implementation for [`frame_support::traits::ProcessMessage`] | ||
use super::*; | ||
use crate::weights::WeightInfo; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
//! Implementation for [`snowbridge_core::outbound::SendMessage`] | ||
use super::*; | ||
use bridge_hub_common::AggregateMessageOrigin; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
use codec::{Decode, Encode}; | ||
use ethabi::Token; | ||
use frame_support::traits::ProcessMessage; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.