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

feat(iroha-connector): implement validator interface #2048

Merged
merged 2 commits into from
Nov 19, 2022

Conversation

outSH
Copy link
Contributor

@outSH outSH commented May 26, 2022

feat(iroha-connector): implement validator interface

Add monitoring and sending async/sync requests to ledger via SocketIO.

Closes: #1941

Author: stepniowskip [email protected]

Original PR: #1966

@outSH
Copy link
Contributor Author

outSH commented May 26, 2022

This is follow up PR on #1966, @izuru0 and @petermetz - please continue the review here.

Copy link
Contributor

@izuru0 izuru0 left a comment

Choose a reason for hiding this comment

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

LGTM

@takeutak
Copy link
Contributor

@petermetz @jagpreetsinghsasan (cc: @izuru0)
Could you review this PR?

Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

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

I just now checked HL Iroha, looks cool to me, will try experimenting and developing around this code base once it gets merged. Thanks for the contribution :)

@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 19e545f to 4510948 Compare June 29, 2022 07:53
@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 4510948 to 438fe18 Compare July 12, 2022 16:44
@petermetz
Copy link
Contributor

@petermetz @jagpreetsinghsasan (cc: @izuru0) Could you review this PR?

@outSH @takeutak @izuru0 Very sorry for the slow review on this one (and all the other ones). We are finally back online with the CI so I'll have a little more time for these and also to merge the long pending PRs ASAP!

@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 438fe18 to 4f61ad2 Compare July 15, 2022 15:03
@outSH
Copy link
Contributor Author

outSH commented Jul 15, 2022

@petermetz I've just pushed commit that contains fixes to your comments and some additional improvements, please review.

Also, there must be two separate commits (mine and Piotr's) for copyright reasons.

@outSH outSH requested a review from petermetz July 15, 2022 15:07
@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch 2 times, most recently from 4bdb732 to 7aefe82 Compare July 18, 2022 09:18
@petermetz
Copy link
Contributor

This is follow up PR on #1966, @izuru0 and @petermetz - please continue the review here.

@outSH Please next time don't duplicate the PRs. I just realized that I've been reviewing the same code... again.

@petermetz
Copy link
Contributor

Also, there must be two separate commits (mine and Piotr's) for copyright reasons.

@outSH Could you break it up to two separate PRs in that case so that we know that both commits are stable (compiles and passes the tests on it's own)

@outSH
Copy link
Contributor Author

outSH commented Jul 22, 2022

@outSH Please next time don't duplicate the PRs. I just realized that I've been reviewing the same code... again.

@petermetz As I described in the original PR, the author (P. Stepniowski) of this PR no longer works for us, we couldn't make changes in the old PR so I've opened the new one with his original commit and my changes to suit your review, fix CI etc...

@outSH Could you break it up to two separate PRs in that case so that we know that both commits are stable (compiles and passes the tests on it's own).

Original commit doesn't pass the tests on it's own, so I'm afraid it's impossible. Initially I wanted to merge single coauthored commit but DCO CI was complaining about author and signoff mismatch. We can either push these two or silence DCO for this PR, don't know what are the other options here.

@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 7aefe82 to 3e9dad5 Compare November 16, 2022 16:58
@outSH
Copy link
Contributor Author

outSH commented Nov 16, 2022

@petermetz Rebased with the main, please merge when possible.

// EDIT - will fix the timeout issue soon

@outSH outSH removed the request for review from sandeepnRES November 16, 2022 16:58
@outSH outSH requested review from petermetz and removed request for takeutak November 16, 2022 16:58
@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 3e9dad5 to 4c9fd7d Compare November 17, 2022 13:01
@outSH
Copy link
Contributor Author

outSH commented Nov 17, 2022

@petermetz All issues solved, please merge when possible.

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

@petermetz All issues solved, please merge when possible.

@outSH Sorry, but there seem to be more merge conflicts at the moment. Please fix and pass it back for review!

stepniowskip and others added 2 commits November 18, 2022 15:57
Add monitoring and sending async/sync requests to ledger via SocketIO.

Closes: hyperledger-cacti#1941
Signed-off-by: stepniowskip <[email protected]>
- Fix issues spotted by petermetz in review of PR#2048
- Fix iroha functional tests.
- Close socketio connections when they are not needed anymore.
- Update verifier-client README.

Signed-off-by: Michal Bajer <[email protected]>
@outSH outSH force-pushed the iroha_monitor_stepniowski_pr branch from 4c9fd7d to 7d96b60 Compare November 18, 2022 16:31
@outSH outSH requested a review from petermetz November 18, 2022 16:31
@outSH
Copy link
Contributor Author

outSH commented Nov 18, 2022

@outSH Sorry, but there seem to be more merge conflicts at the moment. Please fix and pass it back for review!

Conflicts fixed

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

@outSH LGTM, thank you!

@petermetz petermetz merged commit b2742e8 into hyperledger-cacti:main Nov 19, 2022
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.

feat(cactus-plugin-ledger-connector-iroha): Add monitoring and send sync/async functionality
5 participants