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
@PhearZero how are you encoding the responses to be displayed on your page? If you use algosdk.encodeJSON (which is what I'd recommend), you should find that the response blockHash field has the same casing as before.
how are you encoding the responses to be displayed on your page?
@jasonpaulos I was using only JSON.stringify previously. Now I've added a custom replacer that only looks for bigint types. I'll definitely switch over to encodeJSON
PhearZero
added a commit
to awesome-algorand/use-algorand
that referenced
this issue
Aug 23, 2024
Overview
Let's go V3 🎉!!!
This ticket is for tracking differences found while integrating v3 beta:
/block/${round}/hash
is no longer camel case when usingJSON.stringify
: (fixed by usingencodeJSON
)healthCheck
is returning undefined and not an empty ObjectLedgerStateDelta
decoding #885 (comment)genesis
returns aPromise<string>
type and does not appear to encode properly with encodeJSON with spacing (see getGenesis)Renders:
Before After
I will update this ticket if I run into any more while integrating.
The text was updated successfully, but these errors were encountered: