iSyqozz / pump.fun-sniper

pump.fun wallet monitor and sniper
24 stars 10 forks source link

Error: Invalid account discriminator #2

Closed vitorbferna closed 4 months ago

vitorbferna commented 4 months ago

For some reason, when I run it now I get this error:

Error: Invalid account discriminator at BorshAccountsCoder.decode (/Users/user/Desktop/Sol/SniperBot/PVT1/node_modules/@coral-xyz/anchor/src/coder/borsh/accounts.ts:56:13) at AccountClient.fetchNullableAndContext (/Users/user/Desktop/Sol/SniperBot/PVT1/node_modules/@coral-xyz/anchor/src/program/namespace/account.ts:164:34) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async AccountClient.fetch (/Users/user/Desktop/Sol/SniperBot/PVT1/node_modules/@coral-xyz/anchor/src/program/namespace/account.ts:176:22) at async main (/Users/user/Desktop/Sol/SniperBot/PVT1/scripts/main.ts:214:31) an error has occurred

The funny thing is that it is happening with the old version as well, not sure why

iSyqozz commented 4 months ago

The platform updated their program. Deploying the change today

On Mon, 15 Apr 2024 at 07:16, vitorbferna @.***> wrote:

For some reason, when I run it now I get this error:

Error: Invalid account discriminator at BorshAccountsCoder.decode @./anchor/src/coder/borsh/accounts.ts:56:13) at AccountClient.fetchNullableAndContext @./anchor/src/program/namespace/account.ts:164:34) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async AccountClient.fetch @.***/anchor/src/program/namespace/account.ts:176:22) at async main (/Users/user/Desktop/Sol/SniperBot/PVT1/scripts/main.ts:214:31) an error has occurred

The funny thing is that it is happening with the old version as well, not sure why

— Reply to this email directly, view it on GitHub https://github.com/iSyqozz/pump.fun-sniper/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXRCJZFZQKFZ322IVQ3ZUR3Y5NBBLAVCNFSM6AAAAABGGQBX4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DENRRGE3TIMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>