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

GH-692: Allow UI to configure --min-hops during runtime #316

Merged
merged 67 commits into from
Sep 19, 2023
Merged

Conversation

utkarshg6
Copy link
Collaborator

No description provided.

utkarshg6 and others added 25 commits July 13, 2023 12:24
@utkarshg6 utkarshg6 marked this pull request as ready for review August 1, 2023 06:59
@utkarshg6 utkarshg6 requested a review from dnwiebe August 1, 2023 07:00
Copy link
Collaborator

@dnwiebe dnwiebe left a comment

Choose a reason for hiding this comment

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

Resume at configurator.rs:889 green.

* GH-692: add the public constant DEFAULT_TRANSACT_TIMEOUT_MILLIS for the production code

* GH-692: add another constant for the tests

* GH-692: reduce total number of nodes for the min hops data routing test

* GH-692: change the comment for the multinode test

* GH-692: replace the constant for db_patch_size and use the different name everywhere

* GH-692: put code back for NewPasswordMessage

* GH-692: minor changes

* GH-692: add error logging when the UiSetConfigurationRequest causes an error

* GH-692: test fix and remove todo

* GH-692: fix test set_configuration_command_throws_err_for_invalid_arg

* GH-692: remove UpdateNewPassword variant

* GH-692: add better error msg in case the assert statement fails
@@ -63,11 +63,15 @@ const SET_CONFIGURATION_ABOUT: &str =
const START_BLOCK_HELP: &str =
"Ordinal number of the Ethereum block where scanning for transactions will start.";

pub fn set_configurationify<'a>(shared_schema_arg: Arg<'a, 'a>) -> Arg<'a, 'a> {
shared_schema_arg.takes_value(true).required(false)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think the .required(false) hurts anything, but I also think it's not necessary.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've removed it. 👍

@utkarshg6 utkarshg6 merged commit 60eb430 into master Sep 19, 2023
@utkarshg6 utkarshg6 deleted the GH-692 branch September 19, 2023 11:00
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.

Allow UI to configure --min-hops during runtime
2 participants