Skip to content
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

Merged
merged 40 commits into from
Jul 27, 2023
Merged

Remove Buffer Usage #801

merged 40 commits into from
Jul 27, 2023

Conversation

algochoi
Copy link
Contributor

@algochoi algochoi commented Jul 19, 2023

Follow up PR to remove Buffer usage in JS SDK:

Some extra changes:

  • Increase indexer sleep time to fix flaky asa example
  • Re-arrange some imports

Closes #734

@algochoi algochoi requested a review from a team July 20, 2023 18:46
@@ -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
Copy link
Contributor Author

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 👀

@algochoi algochoi marked this pull request as ready for review July 26, 2023 13:14
src/encoding/binarydata.ts Outdated Show resolved Hide resolved
@@ -3,10 +3,10 @@
*/
Copy link
Contributor

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.

src/transaction.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@jasonpaulos jasonpaulos left a 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?

tests/cucumber/steps/index.js Show resolved Hide resolved
Copy link
Contributor

@jasonpaulos jasonpaulos left a 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

tests/cucumber/browser/test.js Outdated Show resolved Hide resolved
tests/cucumber/steps/steps.js Outdated Show resolved Hide resolved
algochoi and others added 2 commits July 27, 2023 14:27
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
@algochoi algochoi merged commit b09d616 into 3.0.0 Jul 27, 2023
1 check passed
@algochoi algochoi deleted the replace-buffer branch July 27, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants