Skip to content

Commit

Permalink
style: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Mar 12, 2024
1 parent 56b8dad commit 16c201f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ fn reserve_transfer_native_asset_from_relay_to_para() {
/// Reserve Transfers of native asset from Parachain to Relay should work
#[test]
fn reserve_transfer_native_asset_from_para_to_relay() {
init_tracing();
init_tracing();

// Setup: reserve transfer from relay to Pop, so that sovereign account accurate for return
// Setup: reserve transfer from relay to Pop, so that sovereign account accurate for return
// transfer
let amount_to_send: Balance = ROCOCO_ED * 1000;
fund_pop_network(RococoRelaySender::get(), amount_to_send, PopNetworkParaReceiver::get());
Expand Down
4 changes: 1 addition & 3 deletions runtime/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,7 @@ mod tests {
let max_amount = 1 * UNIT;
let para_id = 2000;

let params =
[function, max_amount.encode(), para_id.encode()].concat();
let params = [function, max_amount.encode(), para_id.encode()].concat();

let result = Contracts::bare_call(
ALICE,
Expand All @@ -735,7 +734,6 @@ mod tests {

// check for revert
assert!(!result.result.unwrap().did_revert(), "Contract reverted!");

});
}
}

0 comments on commit 16c201f

Please sign in to comment.