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-478: Addition of config values written to database + updating db initialization and migration + better tooling in ntegration tests for Node #62

Merged
merged 23 commits into from
Nov 29, 2021

Conversation

bertllll
Copy link
Contributor

No description provided.

…ith tools for dump config in integration tests are not flexible enough
…ockchain_service_url; some small changes for BlockchainBridgeClandastine and verify_bill_payments()
let (serving_node_2_config, serving_node_2_wallet) =
build_config(&blockchain_server, &seed, derivation_path(0, 2));
let (serving_node_3_config, serving_node_3_wallet) =
build_config(&blockchain_server, &seed, derivation_path(0, 3));

let amount = 10u64
* u64::try_from(node_lib::accountant::PAYMENT_CURVES.permanent_debt_allowed_gwub).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

gwub is actually short for $SUB in Gwei so if you felt so inclined to change it to gwei or qwaq or something else that would be fine. Or you could leave it too... that's fine. It's one of those 'you had to be there to know' kind of things.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we will likely change the naming of this sometime soon - we are looking to change the naming of the payment curve values anyways, since they are very confusing!

Copy link
Contributor

Choose a reason for hiding this comment

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

gwasq ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to take care of the nomenclature in a different card because I've started that in there and I want to do it just at one place.

node/src/lib.rs Outdated
@@ -4,7 +4,7 @@
#[macro_use]
pub mod sub_lib;

#[cfg_attr(test, macro_use)]
//#[cfg_attr(test, macro_use)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be deleted?

@bertllll bertllll merged commit ace88de into master Nov 29, 2021
@bertllll bertllll deleted the GH-478 branch November 29, 2021 16:08
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