-
Notifications
You must be signed in to change notification settings - Fork 18
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: proto for oracle upgrade and its skeleton #577
Conversation
Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
…nto ft/569/oracle-upgrade-handler # Conflicts: # cmd/panacead/cmd/genoracle.go # proto/panacea/oracle/v2/oracle.proto
EventTypeUpgrade = "oracle_upgrade" | ||
EventTypeApproveOracleUpgrade = "approve_oracle_upgrade" |
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.
Also, add separate event for oracle upgrade. This event type will be used in oracle side.
…nto ft/570/upgrade-endblocker
…ft/575/upgrade-proto # Conflicts: # proto/panacea/oracle/v2/oracle.proto # proto/panacea/oracle/v2/proposal.proto # proto/panacea/oracle/v2/query.proto # x/oracle/types/keys.go # x/oracle/types/oracle.pb.go # x/oracle/types/query.pb.go # x/oracle/types/query.pb.gw.go
I merged #578 into this branch and changed base branch to |
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.
lgtm
I think seperating OracleRegistration and OracleUpgrade is a good choice. |
I too think the Let's think about this. |
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.
LGTM
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.
LGTM!
# Conflicts: # proto/panacea/oracle/v2/oracle.proto # proto/panacea/oracle/v2/query.proto # x/oracle/keeper/upgrade.go # x/oracle/keeper/upgrade_test.go # x/oracle/types/keys.go # x/oracle/types/oracle.pb.go # x/oracle/types/query.pb.go # x/oracle/types/query.pb.gw.go
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.
lgtm
close #575
proto messages and skeleton code for the txs and queries.
Apart from
OracleRegistration
, I definedOracleUpgrade
which is a set forMsgUpgradeOracle
for now. When developing functions, if it seems that it is better to combine them, then let's merge them.BTW, the name of
OracleUpgrade
is little bit confusing, so if you have any good idea for this, please feel free to leave your thoughts.