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: add subscribe RegisterOracle Tx and execute ApproveOracleRegistration Tx #21

Merged
merged 12 commits into from
Dec 13, 2022

Conversation

inchori
Copy link
Contributor

@inchori inchori commented Dec 8, 2022

Closes #3
Closes #4

Actually, I missed that the two issues were separated. Sorry for about that.

  • Add a subscribe RegisterOracle Tx and add a register-oracle cmd in register_oracle.go.
  • Add an EventHandler in register_oracle_event.go so that executing ApproveOracleRegistration Tx.

@inchori inchori added this to the v2.1.0-beta milestone Dec 8, 2022
@inchori inchori self-assigned this Dec 8, 2022
@inchori inchori marked this pull request as draft December 8, 2022 07:56
@inchori inchori marked this pull request as ready for review December 8, 2022 08:03
Copy link
Contributor

@gyuguen gyuguen left a comment

Choose a reason for hiding this comment

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

Thank you.
Please check my comment

event/oracle/event.go Outdated Show resolved Hide resolved
crypto/encrypt.go Outdated Show resolved Hide resolved
crypto/encrypt.go Outdated Show resolved Hide resolved
Copy link
Contributor

@audtlr24 audtlr24 left a comment

Choose a reason for hiding this comment

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

Thank you for your hard work.
I haven't done a review yet, I left few comments.

cmd/oracled/cmd/register_oracle.go Outdated Show resolved Hide resolved
event/oracle/register_oracle_event.go Outdated Show resolved Hide resolved
event/oracle/event.go Outdated Show resolved Hide resolved
event/oracle/register_oracle_event.go Outdated Show resolved Hide resolved
Copy link
Contributor

@youngjoon-lee youngjoon-lee left a comment

Choose a reason for hiding this comment

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

I'm approving this, but please fix the nonce handling of AES encryption, as gyuguen explained.

Copy link
Contributor

@audtlr24 audtlr24 left a comment

Choose a reason for hiding this comment

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

Thanks, I missed it in my previous review.

cmd/oracled/cmd/register_oracle.go Outdated Show resolved Hide resolved
Copy link
Contributor

@gyuguen gyuguen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@0xHansLee 0xHansLee left a comment

Choose a reason for hiding this comment

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

lgtm. Thx man 👍

@inchori inchori merged commit 18cf18d into main Dec 13, 2022
@inchori inchori deleted the ft/3/subscribe_register_oracle branch December 13, 2022 04:37
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.

Execute ApproveOracleRegistration tx Subscribe RegisterOracle tx
5 participants