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

chore: rename ApproveOracleRegistration to reuse #580

Merged
merged 38 commits into from
Jan 4, 2023

Conversation

0xHansLee
Copy link
Contributor

I renamed the ApproveOracleRegistration to ApprovalSharingOracleKey to reuse in MsgApproveOracleUpgrade.

audtlr24 and others added 30 commits December 19, 2022 10:28
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
…ft/571/upgrade-oracle-tx

# Conflicts:
#	proto/panacea/oracle/v2/oracle.proto
#	proto/panacea/oracle/v2/proposal.proto
#	proto/panacea/oracle/v2/query.proto
#	x/oracle/types/errors.go
#	x/oracle/types/keys.go
#	x/oracle/types/oracle.go
#	x/oracle/types/oracle.pb.go
#	x/oracle/types/query.pb.go
#	x/oracle/types/query.pb.gw.go
…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
This reverts commit 44a3f47.
…1/upgrade-oracle-tx

# Conflicts:
#	proto/panacea/oracle/v2/oracle.proto
#	proto/panacea/oracle/v2/proposal.proto
#	x/oracle/keeper/grpc_query_oracle.go
#	x/oracle/types/keys.go
#	x/oracle/types/oracle.pb.go
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.

lgtm

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

@inchori inchori left a comment

Choose a reason for hiding this comment

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

LGTM!
I just left not an important question and comment.

@@ -48,12 +48,12 @@ message MsgRegisterOracleResponse {

// MsgApproveOracleRegistration defines the Msg/ApproveOracleRegistration
message MsgApproveOracleRegistration {
ApproveOracleRegistration approve_oracle_registration = 1;
ApprovalSharingOracleKey approval_sharing_oracle_key = 1;
Copy link

Choose a reason for hiding this comment

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

How about renaming like SharingOracleKeyApproval?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or.. MsgEncryptedOraclePrivKey..?

Copy link

Choose a reason for hiding this comment

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

Hmm.... I think that the ApprovalSharingOracleKey is more better. 😂

x/oracle/keeper/oracle_test.go Outdated Show resolved Hide resolved
H4NLee and others added 3 commits January 3, 2023 10:29
Base automatically changed from ft/571/upgrade-oracle-tx to main January 4, 2023 01:32
hansol-medi added 2 commits January 4, 2023 11:28
…oracle-reg

# Conflicts:
#	proto/panacea/oracle/v2/tx.proto
#	x/oracle/abci.go
#	x/oracle/abci_test.go
#	x/oracle/keeper/upgrade.go
#	x/oracle/types/message_oracle.go
#	x/oracle/types/oracle.go
#	x/oracle/types/tx.pb.go
@0xHansLee 0xHansLee merged commit 76593e2 into main Jan 4, 2023
@0xHansLee 0xHansLee deleted the ft/na/rename-approve-oracle-reg branch January 4, 2023 02:43
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.

4 participants