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
fix: runner_features added in runner.py and tests modified #94
fix: runner_features added in runner.py and tests modified #94
Conversation
e64a609
to
b024075
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments but overall looks good :)
b024075
to
1c0032d
Compare
I have made the suggested changes :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I made another pass and I had another suggestion :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. The PR looks good. Thanks for the changes.
Can we rework the commit in two?
- Make the change to the lnprototest package by describing the commit and why we need it in the commit body;
- Make the change to the tests and describe it inside the commit body
Actually there are no changes in the tests, it just formats it when I run |
Yeah I just noted, maybe the new black version is formatting the things in a different way! Good to go in a single block |
f29833a
to
0dc5ddd
Compare
I have made the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 0dc5ddd
Thanks!
This commit is just a hotfix we hope to merge this PR rustyrussell/lnprototest#94 to inject the default feature inside the runner. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Ok margin this because with lnprototest and bitcoin 24 it is working fine, I think there is some problem with bitcoin 25 but this is not related to this PR |
A function
runner_features
is added as an abstract method to the runner class. This methods provides the features required by an implementation to Lnprototest. This makes Lnprototest compatible with other implementations.The tests are also modified to use this function in
connect_to_node_helper
.