Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

common: more native types support for BigInt and ByteArray#225

Merged
evaporei merged 3 commits intographprotocol:masterfrom
streamingfast:feature/big-int-more-native-types
Oct 27, 2021
Merged

common: more native types support for BigInt and ByteArray#225
evaporei merged 3 commits intographprotocol:masterfrom
streamingfast:feature/big-int-more-native-types

Conversation

@maoueh
Copy link
Contributor

@maoueh maoueh commented Oct 26, 2021

added BigInt.fromU64, BigInt.fromI64 and BigInt.fromU32 as well as corresponding on ByteArray and toU64, toI64 method methods

Refactored test.js file at the same time to use recent Node.js features to reduce the code and make the asynchronous operation use async/await. Error are properly reported in test now with a link to the failed assertion and a message if provided.

added BigInt.fromU64, BigInt.fromI64 and BigInt.fromU32 as well as corresponding on ByteArray and `toU64`, `toI64` method methods

Refactored test.js file at the same time to use recent Node.js features to reduce the code and make the asynchronous operation use `async/await`. Error are properly reported in test now with a link to the failed assertion and a message if provided.
@evaporei evaporei self-requested a review October 27, 2021 07:22
Copy link
Contributor Author

@maoueh maoueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on review

@evaporei evaporei merged commit 74c92a1 into graphprotocol:master Oct 27, 2021
@maoueh maoueh deleted the feature/big-int-more-native-types branch October 27, 2021 19:19
@evaporei evaporei mentioned this pull request Oct 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants