Open 0xCipherCoder opened 1 month ago
@0xCipherCoder can you check why tests are failing?
@0xCipherCoder can you check why tests are failing?
Yes checking
@heyAyushh Just checked on local tests are working fine.
But on CI getting type errors -
` 2 failing
1) Address Info Program
initialize
creates new address info:
TypeError: addressProgram.methods.initialize is not a function
at /home/runner/work/program-examples/program-examples/basics/account-data/poseidon/tests/account_data.ts:50:10
at Generator.next (<anonymous>)
at /home/runner/work/program-examples/program-examples/basics/account-data/poseidon/tests/account_data.ts:8:71
at new Promise (<anonymous>)
at __awaiter (tests/account_data.ts:4:12)
at Context.<anonymous> (tests/account_data.ts:40:47)
at processImmediate (node:internal/timers:483:21)
2) Address Info Program
edit
edits existing address info:
TypeError: addressProgram.methods.edit is not a function`
@0xCipherCoder can you check why tests are failing?
@heyAyushh I have fixed test cases that were failing due to type check. Please review.
@heyAyushh Tests are passing but somehow still getting
Error: No such file or directory (os error 2) Error: Tests failed
@heyAyushh Tests are passing but somehow still getting
Error: No such file or directory (os error 2) Error: Tests failed
@heyAyushh Apologies for the multiple reviews. Finally found the issue that program names were not matching from cargo.toml
and generated program. I hope this should fix the above issue.