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

Handle overflow when getting finalized block #23

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

huyngopt1994
Copy link
Collaborator

@huyngopt1994 huyngopt1994 commented Aug 26, 2024

telegram-cloud-photo-size-4-5933536124909764651-y

Got an overflow issue when some how data returned 0 after converting data from RPC nodes.

uint64(-2)  = 18446744073709551614.

pkg/utils/utils.go Outdated Show resolved Hide resolved
@huyngopt1994 huyngopt1994 force-pushed the handle-overlow-when-getting-finalized-block branch from b43f326 to b493978 Compare August 26, 2024 07:22
@huyngopt1994 huyngopt1994 merged commit 289b289 into main Aug 28, 2024
1 check passed
@huyngopt1994 huyngopt1994 deleted the handle-overlow-when-getting-finalized-block branch September 18, 2024 04:20
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