Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[NayNay] Signing Fix: Message too long error #412

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

rh0delta
Copy link
Contributor

Related Issue(s)

Proposed Changes

  • update picking validators to use BigInt instead of regular parseInt

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Screenshots (if applicable)

Screenshot 2024-08-19 at 11 49 04 PM

Additional Context

Checklist

  • I have performed a self-review of my code.
  • I have commented my code.
  • I have updated documentation, where necessary.

- update picking validators to use BigInt instead of regular parseInt
src/signing/index.ts Outdated Show resolved Hide resolved
@frankiebee
Copy link
Contributor

where the tests at?

@rh0delta
Copy link
Contributor Author

@frankiebee Ive updated the index calc, and added tests. Ready for re-review!

src/signing/index.ts Outdated Show resolved Hide resolved
src/signing/index.ts Outdated Show resolved Hide resolved
mixmix
mixmix previously approved these changes Aug 21, 2024
Copy link
Contributor

@mixmix mixmix left a comment

Choose a reason for hiding this comment

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

Nice test!
🌶️ Did you check to see that it failed before you applied your fix?

Please merge those suggestions which simplify the code then merge PR.

rh0delta and others added 2 commits August 26, 2024 14:19
Co-authored-by: mix irving <mix@protozoa.nz>
Co-authored-by: mix irving <mix@protozoa.nz>
@rh0delta rh0delta requested review from mixmix and frankiebee August 26, 2024 18:21
Copy link
Contributor

@frankiebee frankiebee left a comment

Choose a reason for hiding this comment

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

woop woop 👍

@frankiebee frankiebee merged commit dae4cb0 into main Aug 26, 2024
3 checks passed
@frankiebee frankiebee deleted the naynay/signing-msg-length branch August 26, 2024 18:28
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

picking validators fails with long strings
3 participants