-
Notifications
You must be signed in to change notification settings - Fork 209
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
Change default contracts to network version 2 #890
Conversation
Codecov Report
@@ Coverage Diff @@
## main #890 +/- ##
=======================================
Coverage 99.96% 99.96%
=======================================
Files 298 298
Lines 19492 19544 +52
=======================================
+ Hits 19486 19538 +52
Misses 5 5
Partials 1 1
Continue to review full report at Codecov.
|
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.
👋🏻
Based on offline discussion, might be worth also splitting the method into separate calls for batch pin / network action (but still both emitting a single shared event). Moving to draft until I can add that change. |
Also rename the "namespace" parameter to "action" in V2, and handle accordingly. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Failure to remove a subscription (ie because it was already removed) should not cause infinite retries to remove it. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Added significant new changes - needs re-review.
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.
solidity and chaincode updates look good to me
Part of FIR-12
Split out separate "pinBatch" and "networkAction" methods in the V2 contract, and make it the default. Adjust the blockchain plugins to handle both versions of the contract cleanly.
Also fix some bugs found along the way with network actions being broken.