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 --from flag at get-oracle-key #73

Merged
merged 6 commits into from
Jan 16, 2023

Conversation

audtlr24
Copy link
Contributor

closes #70 .

To solve the issue, I added a flag --from to get-oracle-key CLI.
I also thought about how to automatically import the oracle key when upgraded, but adding a flag seemed the simplest to cover all cases of key loss. If there is a better way, please comment.

When I tested it in local environment, I confirmed that it works well.

@audtlr24 audtlr24 added this to the v2.1.0-beta milestone Jan 12, 2023
@audtlr24 audtlr24 self-assigned this Jan 12, 2023
@audtlr24 audtlr24 changed the title feat: add from flag at get-oracle-key feat: add --from flag at get-oracle-key Jan 12, 2023
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.

lgtm

cmd/oracled/cmd/get_oracle_key.go Outdated Show resolved Hide resolved
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

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.

Thanks.
I left a comment.

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

@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

@audtlr24 audtlr24 merged commit f3ad506 into main Jan 16, 2023
@audtlr24 audtlr24 deleted the ft/70/get-oracle-key-from-upgrade branch January 16, 2023 01:26
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.

Add get-oracle-key CLI at OracleUpgrade store
5 participants