Skip to content

Conversation

@stubbsta
Copy link
Contributor

@stubbsta stubbsta commented Nov 10, 2025

Description

This is related to an issue observed by DST when trying to register multiple RLN memberships consecutively with the generateRlnKeystore command.
An overflow error was observed for the gasprice.
I doubt we need to make this a permanent change, but it could help us understand the issue seen by DST and allow them to complete testing.

Changes

Add a flag to the generateRlnKeystore command to use a much larger gasprice than should ever be needed which will mainly be used for testing purposes
Registration method in group_manager updated to recognise this flag

relates to #3643

@stubbsta
Copy link
Contributor Author

@Ivansete-status should this be a Draft PR for now?

@github-actions
Copy link

github-actions bot commented Nov 10, 2025

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3638

Built from 7356a33

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for it! 💯


test "register: should use max gas price when useMaxGasPrice flag is set":
(waitFor manager.init()).isOkOr:
raiseAssert $error
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe?

Suggested change
raiseAssert $error
assert false, "Failed to init group manager: " & $error

@stubbsta stubbsta marked this pull request as draft November 14, 2025 11:43
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