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

Test Ledger Integration against Cosmos SDK 0.39 signing changes #13

Closed
zmanian opened this issue Jun 13, 2020 · 10 comments
Closed

Test Ledger Integration against Cosmos SDK 0.39 signing changes #13

zmanian opened this issue Jun 13, 2020 · 10 comments
Labels
enhancement New feature or request

Comments

@zmanian
Copy link
Member

zmanian commented Jun 13, 2020

Test ledger integrations with the effects of

cosmos/cosmos-sdk#6213

@jleni
Copy link
Member

jleni commented Jun 15, 2020

what is the timeframe/deadline of this? planned release date?

@jleni jleni added the enhancement New feature or request label Jun 15, 2020
@ebuchman
Copy link
Member

The intention is to start testing this on testnets this summer (~late July/early August), and ideally for it to go live on the hub sometime in the fall.

@jleni
Copy link
Member

jleni commented Jul 14, 2020

I will put it in my calendar, so we can catch up at the last week of July

@jleni
Copy link
Member

jleni commented Jul 27, 2020

@ebuchman @zmanian How are you progressing?
Are we at a point where i should start looking at this and check the code/specs on your side?

@webmaster128
Copy link
Member

@zmanian can you adapt 0.39 -> 0.40 in the title of this ticket to avoid confusion? The now released Cosmos SDK 0.39 (Launchpad) does not change signing.

@ebuchman
Copy link
Member

I believe full integration is still a work in progress (cc @alexanderbez @aaronc) but there is initial code for the protobuf based txs and unit tests. It would probably be helpful if you'd review the ADR-20 if you haven't yet which describes how this is going to look.

@aaronc
Copy link
Member

aaronc commented Jul 30, 2020

You can enable protobuf transactions in tests and simd with the test_proto flag. We're still fixing the remaining failing unit tests but most stuff works.

@zmanian
Copy link
Member Author

zmanian commented Jul 30, 2020

We expect that the initial target for the Ledger app will be ensuring the SIGN_MODE_LEGACY_AMINO sign mode. Now that all the changes are merged into Cosmos SDK master we will be assessing any impactful changes to the Legacy Amino.

I'm unclear on whether or not we want to consider supporting SIGN_MODE_DIRECT in the Ledger. My initial instinct would be not support it.

Eventually we will want to support SIGN_MODE_TEXTUAL.

@zmanian
Copy link
Member Author

zmanian commented Aug 22, 2020

We've audited the Legacy Amino JSON and expert mode works without any changes for generating signatures.

I'm expecting some changes to be needed to deal with the stabilized MsgTypes but the SignDoc is basically the same.

We will need to adopt the newer sign modes before the hub upgrades to 0.41.

See for more details.
cosmos/stargate-launch#8

@tac0turtle
Copy link
Member

closing this for now since ledger works with 0.45. Once sign mode textual lands we would need to come back here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants