Skip to content

Commit

Permalink
Update e2e_tests/common.ts
Browse files Browse the repository at this point in the history
Co-authored-by: cuteolaf <[email protected]>
  • Loading branch information
Szegoo and cuteolaf authored May 8, 2024
1 parent a3b61d1 commit 65de1ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e_tests/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ async function setupRelayAsset(
await submitExtrinsic(signer, sudoCall, {});
}

// Transfer the relay chain asset to the parachain specified by paraId.
// Receiver address is same as the sender's.
async function transferRelayAssetToPara(amount: bigint, paraId: number, relayApi: ApiPromise, signer: KeyringPair) {
const receiverKeypair = new Keyring();
receiverKeypair.addFromAddress(signer.address);
Expand Down

0 comments on commit 65de1ac

Please sign in to comment.