kevinheavey / anchor-bankrun

An Anchor wrapper for solana-bankrun
MIT License
36 stars 8 forks source link

Linux-x64-gnu support #23

Closed edward821220 closed 1 month ago

edward821220 commented 1 month ago

My test script, developed locally on a Mac, works perfectly. However, when running on a Linux machine, I consistently encounter the error message "InstructionFallbackNotFound". I suspect it's because BankrunProvider isn't functioning correctly. Could this be due to a lack of Linux-x64-gnu support in anchor-bankrun?

await program.methods
        .deactivateConfig()
        .accountsPartial({
          authority: user.publicKey,
          config: configPDA,
        })
        .signers([user])
        .rpc();

[2024-10-13T01:02:57.207690739Z DEBUG solana_runtime::message_processor::stable_log] Program log: AnchorError occurred. Error Code: InstructionFallbackNotFound. Error Number: 101. Error Message: Fallback functions are not supported.

edward821220 commented 1 month ago

I think it's my fault, sorry!