-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-sdk: Add getTransactionAuthSigners json rpc #6616
Conversation
85a56d9
to
94a4727
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
💳 Wallet Extension has been built, you can download the packaged extension here: https://github.com/MystenLabs/sui/actions/runs/3632917093#artifacts |
94a4727
to
568a517
Compare
568a517
to
56718bb
Compare
56718bb
to
dc51339
Compare
💳 Wallet Extension has been built, you can download the packaged extension here: https://github.com/MystenLabs/sui/actions/runs/3633259228#artifacts |
); | ||
const digest = resp.data[0]; | ||
const version = await toolbox.provider.getRpcApiVersion(); | ||
if (version?.major === 0 && version?.minor > 17) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would put this check before fetching the transaction
if (version?.major === 0 && version?.minor > 17) { | ||
// This endpoint is only available in 0.18 and above | ||
const res = await toolbox.provider.getTransactionAuthSigners(digest); | ||
expect(res.signers.length).toEqual(3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this to greater or equal to 3 so that it also work for TestNet?
dc51339
to
99197db
Compare
💳 Wallet Extension has been built, you can download the packaged extension here: https://github.com/MystenLabs/sui/actions/runs/3642553727#artifacts |
No description provided.