anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.4k stars 955 forks source link

Review Namada Ledger app transaction formatting #3500

Open murisi opened 4 months ago

murisi commented 4 months ago

Review scope

Could we review the following details pertaining to the Namada Ledger app test vectors generated by #3494?:

Current transaction coverage

The following list enumerates the transactions currently covered by the test vector generator. Is anything missing?

Test vectors

Please find attached the generated test vectors in the JSON file. I've also attached the debug prints and transaction schemas in case this is relevant. vectors.json schema.txt debugs.txt.gz

cwgoes commented 2 months ago

@murisi Is this list of review instructions still up-to-date?

murisi commented 2 months ago

@murisi Is this list of review instructions still up-to-date?

@cwgoes Yes the instructions are still up to date, but the attachments are now out of date. See attached the latest test vectors. Also, please focus on the output and output_expert fields of the test vectors because these represent the lines that users will actually see on the hardware wallet as they press the left and right buttons. The rest of the fields outside these two are just metadata. Thanks! Also, one additional note: I opened this PR thinking that it would be more efficient to review the test vectors than to manually be running namadac commands with the hardware wallet (or simulator) connected and reviewing the outputs one at a time.

schema43.txt vectors43.json debugs43.txt.gz