Skip to content

Commit

Permalink
Add additional test check
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Dec 11, 2024
1 parent 7361b24 commit f8ea219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/handles/handles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ describe('🤝 Handles', function () {
assert(msaOption.isSome, 'msaOption should be Some');
const msaFromHandle = msaOption.unwrap();
assert.equal(msaFromHandle.toString(), msa_id.toString(), 'msaFromHandle should be equal to msa_id');

// Check that the rpc returns the index as > 0
const apiCheck = await ExtrinsicHelper.apiPromise.rpc.handles.checkHandle(handle);
assert(apiCheck.suffix_index > 0);
});
});

Expand Down

0 comments on commit f8ea219

Please sign in to comment.