-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Buffer
Usage
#801
Remove Buffer
Usage
#801
Conversation
@@ -49,7 +49,7 @@ async function main() { | |||
console.log(`Asset Params: ${JSON.stringify(assetInfo.params)}`); | |||
// example: ASSET_INFO | |||
|
|||
await new Promise((f) => setTimeout(f, 2000)); // sleep to ensure indexer is caught up | |||
await new Promise((f) => setTimeout(f, 5000)); // sleep to ensure indexer is caught up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks frequently flaky on CI, but I haven't seen it fail locally 👀
@@ -3,10 +3,10 @@ | |||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs algorand/generator#65 merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'd also want to remove the dependency on the 3rd party buffer
package to consider #734 complete. Do you plan to do that in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will approve once the loadResourceAsJson
issue is resolved
Co-authored-by: Jason Paulos <[email protected]>
Follow up PR to remove
Buffer
usage in JS SDK:Buffer
usage to node environmentUint8Array
Some extra changes:
asa
exampleCloses #734