You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug ApplySystem should simply return an instruction while it internally uses a provider.
provider.ts:91Uncaught(inpromise) Error: Providerlocal is notavailableonbrowser.atAnchorProvider.local(provider.ts:91:1)atgetProvider(provider.ts:416:1)atnewProgram(index.ts:281:1)attransactions.ts:333:1atstep(index.ts:87:1)atObject.next(index.ts:87:1)atindex.ts:87:1atnewPromise(<anonymous>)at__webpack_modules__../node_modules/@magicblock-labs/bolt-sdk/lib/world/transactions.js.__awaiter(index.ts:87:1)atcreateApplySystemInstruction(transactions.ts:331:1)
To Reproduce
Call ApplySystem
Expected behavior
It should simply return the Instruction and a Transaction with the Instruction
The text was updated successfully, but these errors were encountered:
But it makes sense for me for functions to create instructions to be always sync without the need to interact with the network. But to make it happen, some API redesign might be necessary
Describe the bug
ApplySystem
should simply return an instruction while it internally uses a provider.To Reproduce
Call
ApplySystem
Expected behavior
It should simply return the Instruction and a Transaction with the Instruction
The text was updated successfully, but these errors were encountered: