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
The default bolt test runs successfully, but linter errors exist on the following default test:
Line 9:
Module '"@magicblock-labs/bolt-sdk"' has no exported member 'Program'. ts(2305)
Line 45:
Property 'entityId' does not exist on type '{ instruction: TransactionInstruction; transaction: Transaction; entityPda: PublicKey; }'. Did you mean 'entityPda'? ts(2551)
To Reproduce
Steps to reproduce the behavior:
bolt init bug
cd bug
bolt test
Workaround
Manually import Program from Anchor package.
Use entityPda instead of entityId.
Expected behavior
No linter errors.
Additional context
Using bolt-cli 0.1.10
The text was updated successfully, but these errors were encountered:
@kilogold can you try the latest bolt-cli with cargo install --git https://github.com/magicblock-labs/bolt bolt-cli?
I will publish a new version asap.
Describe the bug
The default
bolt test
runs successfully, but linter errors exist on the following default test:Line 9:
Line 45:
To Reproduce
Steps to reproduce the behavior:
bolt init bug
cd bug
bolt test
Workaround
Program
from Anchor package.entityPda
instead ofentityId
.Expected behavior
No linter errors.
Additional context
Using
bolt-cli 0.1.10
The text was updated successfully, but these errors were encountered: