Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

refactor(experimental): codecs: use bigint for range values on u64 and u128 #2201

Conversation

buffalojoec
Copy link
Contributor

When working with u64 and u128 codecs, all range numerical values should be
bigint, since they are large, >8 byte numbers.

Simply flips the minimum range boundary to use bigint, for consistency.

Copy link
Contributor

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

Added via Giphy

@buffalojoec buffalojoec force-pushed the 02-26-refactor_experimental_codecs_refactor_message_out_of_codec_assertions branch from 77036c6 to 36c7253 Compare February 28, 2024 16:30
@buffalojoec buffalojoec force-pushed the 02-27-refactor_experimental_codecs_use_bigint_for_range_values_on_u64_and_u128_ branch from 6f0e341 to 692c164 Compare February 28, 2024 16:30
@steveluscher steveluscher force-pushed the 02-26-refactor_experimental_codecs_refactor_message_out_of_codec_assertions branch from 36c7253 to c091204 Compare February 29, 2024 19:28
@steveluscher steveluscher force-pushed the 02-27-refactor_experimental_codecs_use_bigint_for_range_values_on_u64_and_u128_ branch from 692c164 to 1a20e1f Compare February 29, 2024 19:28
@steveluscher
Copy link
Contributor

steveluscher commented Feb 29, 2024

Merge activity

  • Feb 29, 11:33 AM PST: @steveluscher started a stack merge that includes this pull request via Graphite.
  • Feb 29, 11:44 AM PST: Graphite rebased this pull request as part of a merge.
  • Feb 29, 11:45 AM PST: @steveluscher merged this pull request with Graphite.

@steveluscher steveluscher force-pushed the 02-26-refactor_experimental_codecs_refactor_message_out_of_codec_assertions branch from c091204 to 1e1c3e2 Compare February 29, 2024 19:40
Base automatically changed from 02-26-refactor_experimental_codecs_refactor_message_out_of_codec_assertions to master February 29, 2024 19:43
@steveluscher steveluscher force-pushed the 02-27-refactor_experimental_codecs_use_bigint_for_range_values_on_u64_and_u128_ branch from 1a20e1f to 0ae2707 Compare February 29, 2024 19:43
@steveluscher steveluscher merged commit 080a7d1 into master Feb 29, 2024
6 checks passed
@steveluscher steveluscher deleted the 02-27-refactor_experimental_codecs_use_bigint_for_range_values_on_u64_and_u128_ branch February 29, 2024 19:45
Copy link
Contributor

github-actions bot commented Mar 2, 2024

🎉 This PR is included in version 1.90.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants