Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaBothara committed Aug 22, 2024
1 parent 74f772e commit 35ffdf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pallet/xrpl-bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ pub mod pallet {
OutSideSubmissionWindow,
/// Too Many transactions per ledger
TooManyTransactionsPerLedger,
/// XRPL symbol to TRN asset id mapping is invalid
InvalidSymbolMapping,
}

Expand Down
2 changes: 1 addition & 1 deletion pallet/xrpl-bridge/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ parameter_types! {
pub const DelayedPaymentBlockLimit: BlockNumber = 1000;
pub const XrpAssetId: u32 = XRP_ASSET_ID;
pub const SourceTag: u32 = 723456_u32;
pub const XRPSymbolLimit: u8 = 100;
pub const XRPSymbolLimit: u32 = 100;
}

impl pallet_xrpl_bridge::Config for Test {
Expand Down
2 changes: 1 addition & 1 deletion pallet/xrpl-bridge/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ fn process_xrp_tx_for_root_bridging_transaction() {
let currency_payment_tx = XrplTxData::CurrencyPayment {
amount: (1 * 1000u64) as Balance,
address: account.into(),
currency: currency.clone(), //H256::random(),
currency: currency.clone(),
};
assert_ok!(XRPLBridge::submit_transaction(
RuntimeOrigin::signed(relayer),
Expand Down

0 comments on commit 35ffdf7

Please sign in to comment.