You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we haven't added any of the JSON-parsed instruction types to the typespec in @solana/rpc-core, any fields that are part of a JSON-parsed transaction instruction default to bigint over number, due to our response processor.
Steps to reproduce
Find a transaction that has a JSON-parsed instruction that uses an integer value that should not be cast to bigint - such as decimals.
You'll see that getTransaction or getBlock will convert this value into a bigint.
The text was updated successfully, but these errors were encountered:
Description
Since we haven't added any of the JSON-parsed instruction types to the typespec in
@solana/rpc-core
, any fields that are part of a JSON-parsed transaction instruction default tobigint
overnumber
, due to our response processor.Steps to reproduce
Find a transaction that has a JSON-parsed instruction that uses an integer value that should not be cast to
bigint
- such asdecimals
.You'll see that
getTransaction
orgetBlock
will convert this value into abigint
.The text was updated successfully, but these errors were encountered: