Skip to main content
beeksforgeeks's user avatar
beeksforgeeks's user avatar
beeksforgeeks's user avatar
beeksforgeeks
  • Member for 2 months
  • Last seen more than a week ago
Loading…
revised
Solana Scaffold project failing to push to remote repo
added 317 characters in body; edited title
Loading…
Loading…
awarded
comment
Anchor tests failing and not giving logs
After much digging I see that it has to be an issue with Jest, and the way it was configured by anchor bankrun. I've tried configuring it to work with TS and specifically ES6 syntax but still have no luck. Can't make a functioning blink demo without having this fixed, so I'd love any help with this if possible @JacobCreech
comment
Anchor tests failing and not giving logs
I also tried running the tests individually and what i get is an error related to the use of "as Program<Voting>" saying its failing to run due to a missing semicolon. However, it still prints "votingProgram" when i clog it after initializing it so I am so lost @JacobCreech
comment
Anchor tests failing and not giving logs
I added the skip preflight and got some stuff logged but it was only ``` at Function.parse (node_modules/@coral-xyz/anchor/src/error.ts:250:14) at translateError (node_modules/@coral-xyz/anchor/src/error.ts:282:37) at MethodsBuilder.rpc [as _rpcFn] (node_modules/@coral-xyz/anchor/src/program/namespace/rpc.ts‌​:35:29)" ``` I have no idea what's wrong. I think my lib.rs file is identical to yours in the video. Could it be my route file? @JacobCreech
Loading…
awarded
comment
Message: Invalid params: unknown variant `single`, expected one of `processed`, `confirmed`, `finalized
@JacobCreech I also just saw that the Solana foundation released a new 2024 bootcamp that you're in! Thanks for taking the time to make it! Going to use that instead since it is the most up to date tutorial available
Loading…
awarded
awarded
comment
Message: Invalid params: unknown variant `single`, expected one of `processed`, `confirmed`, `finalized
@JacobCreech Just added the code to the post for reference, thank you for the tip!
Loading…
Loading…
Loading…
awarded