Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7950

Error: Invalid bool: 142

$
0
0

Recently I usually got this error, when fetch or getOrCreateAssociatedTokenAccount or send tx to solana devnet

Error: Invalid bool: 142    at WrappedLayout.decodeBool [as decoder] (repo/node_modules/@coral-xyz/anchor/node_modules/@coral-xyz/borsh/src/index.ts:188:9)    at WrappedLayout.decode (repo/node_modules/@coral-xyz/anchor/node_modules/@coral-xyz/borsh/src/index.ts:111:17)    at Structure.decode (repo/node_modules/buffer-layout/lib/Layout.js:1234:32)    at Sequence.decode (repo/node_modules/buffer-layout/lib/Layout.js:1090:34)    at Structure.decode (repo/node_modules/buffer-layout/lib/Layout.js:1234:32)    at WrappedLayout.decode (repo/node_modules/@coral-xyz/anchor/node_modules/@coral-xyz/borsh/src/index.ts:111:37)    at Structure.decode (repo/node_modules/buffer-layout/lib/Layout.js:1234:32)    at BorshAccountsCoder.decodeUnchecked (repo/node_modules/@coral-xyz/anchor/src/coder/borsh/accounts.ts:85:19)    at BorshAccountsCoder.decode (repo/node_modules/@coral-xyz/anchor/src/coder/borsh/accounts.ts:63:17)    at AccountClient.fetchNullableAndContext (repo/node_modules/@coral-xyz/anchor/src/program/namespace/account.ts:164:34)

is there any problem with solana devnet RPC? I have replaced it to helius rpc but still got the same error


Viewing all articles
Browse latest Browse all 7950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>