Skip to content

Conversation

@jsdw
Copy link
Collaborator

@jsdw jsdw commented Aug 29, 2023

Closes #83

/cc @tomaka @josepot @lexnv

@jsdw jsdw requested a review from josepot September 1, 2023 09:00
Copy link
Contributor

@josepot josepot left a comment

Choose a reason for hiding this comment

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

As I already mentioned before: this change makes sense to me. However, I would like to make sure that @tomaka is also on board with this.

Copy link
Contributor

@tomaka tomaka left a comment

Choose a reason for hiding this comment

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

As you said, the API should be consistent. The archive API also uses hexadecimal strings to represent block heights. However, given that the maximum "safe" number in JavaScript is 2^53 – 1, it's safe to adjust the archive API as well.

@jsdw
Copy link
Collaborator Author

jsdw commented Sep 12, 2023

I'll merge this since @lexnv's PR #90 changes block heighs to integers

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.

transaction_submitAndWatch: consider returning "index" as integer, not string

5 participants