Skip to content

Commit

Permalink
Add comment for key rotation
Browse files Browse the repository at this point in the history
Co-authored-by: girazoki <[email protected]>
  • Loading branch information
nanocryk and girazoki authored Dec 18, 2024
1 parent 1a2c31e commit 04ca2db
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ describeSuite({

// Operator keys
operatorAccount = keyring.addFromUri("//Charlie", { name: "Charlie default" });
// We rotate the keys for charlie so that we have access to them from this test as well as the node
operatorNimbusKey = await relayCharlieApi.rpc.author.rotateKeys();
console.log(`operatorNimbusKey: ${operatorNimbusKey}`);
await relayApi.tx.session.setKeys(operatorNimbusKey, []).signAndSend(operatorAccount);
Expand Down

0 comments on commit 04ca2db

Please sign in to comment.