kevinheavey / anchor-bankrun

An Anchor wrapper for solana-bankrun
MIT License
20 stars 5 forks source link

`Signature verification failed` non-deterministically on transactions with multi signers #13

Open GuidoDipietro opened 3 months ago

GuidoDipietro commented 3 months ago

Transactions with multiple signers fail non deterministically with Signature verification failed, even if a signature verification check is performed successfully before sending the transaction.

I have faced this issue with Anchor's .rpc(), and this lib's sendTransaction(), processTransaction() and tryProcessTransaction().

My current workaround is to just retry it until it succeeds.

Versions:

@solana/web3.js 1.73.0
solana-cli 1.14.16
anchor-cli 0.27.0
@coral-xyz/anchor 0.27.0
anchor-bankrun ^0.3.0
solana-bankrun ^0.3.0
spl-token-bankrun ^0.2.5
kevinheavey commented 3 months ago

Any chance you can put together a reproducible example? Like a loop that keeps going until it runs into the sigverify error