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

bump lens dep & wire up --coin-type flag #630

Merged
merged 12 commits into from
Mar 26, 2022
Merged

bump lens dep & wire up --coin-type flag #630

merged 12 commits into from
Mar 26, 2022

Conversation

jtieri
Copy link
Member

@jtieri jtieri commented Mar 26, 2022

Now that the KeyProvider implementation in lens utilizes the cointype parameter in key derivation, we need to update our version of lens so that we can also consume the --coin-type flag in the relayers cmds for adding and restoring keys.

Function parameters on various methods in the provider package needed to be updated so that we can pass in a context to them.

Closes #588
Closes #596

@jtieri jtieri enabled auto-merge (squash) March 26, 2022 21:19
Copy link
Member

@mark-rushakoff mark-rushakoff left a comment

Choose a reason for hiding this comment

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

This has a bit of overlap with a branch I didn't push to a PR on Friday. Do you want to compare the tree at 18f8146 and see if there were any other differences besides the key output adapter and errgroup context usage?

relayer/path.go Outdated Show resolved Hide resolved
relayer/provider/provider.go Outdated Show resolved Hide resolved
@jtieri
Copy link
Member Author

jtieri commented Mar 26, 2022

This has a bit of overlap with a branch I didn't push to a PR on Friday. Do you want to compare the tree at 18f8146 and see if there were any other differences besides the key output adapter and errgroup context usage?

Went through that branch and I believe anything missing should be added in here now as well.

Copy link
Member

@mark-rushakoff mark-rushakoff left a comment

Choose a reason for hiding this comment

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

Nice, thanks.

@jtieri jtieri merged commit 83ad18f into main Mar 26, 2022
@jtieri jtieri deleted the justin/fix-coin-type branch March 26, 2022 23:20
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.

There is wrong word in cmd/tx.go relayer restore key surpport cointype 60
2 participants