extend TransactionPlan
/EffectHash
test vectors to also include expected hardware wallet UI output
#4947
Labels
needs-refinement
unclear, incomplete, or stub issue that needs work
Is your feature request related to a problem? Please describe.
In #4879 (issue #4613) we implemented test vectors for transaction signing by generating random
TransactionPlan
s and computing their expectedEffectHash
. This was done to aid development for others implementing theEffectHash
-based transaction signing mechanism in a hardware wallet environment.To further support hardware wallet development for Penumbra, it would be helpful to also generate examples of what the expected output on the hardware wallet device should be for those same
TransactionPlan
test vectors.Describe the solution you'd like
For each committed
TransactionPlan
, we want to generate expected output like this customized for Penumbra, where theblob
will be the hex-encoded transaction plan, and then the UI fields would indicate the expected output on the device for expert and non-expert mode:The text was updated successfully, but these errors were encountered: