anoma / namada-interface

Apache License 2.0
77 stars 98 forks source link

feat/922: Update namadillo for wasm checksums #931

Closed jurevans closed 1 month ago

jurevans commented 1 month ago

Resolves #922 Resolves #923 (Indexer changes are merged!)

This PR updates the wasm checksum hashes for details to allow a client to optionally pass these to the signer in order to display details. Previously, these were added to the extension and persisted, however, this would allow a site to potentially update invalid hashes which would prevent details from displaying. As it's already the responsibility of the interface to query and provide these, I've moved them to the .sign() call invoked on the integration as an optional argument. If they are not provided, then the commitments within a batch will not deserialize, but signing will still work!

NOTE the sign() API is also changed here: https://github.com/anoma/namada-interface/pull/815, this removed tx_type & wrapper_tx_msg, the the max num of args ultimately will be 3

github-actions[bot] commented 1 month ago

🚀 Deployed on https://pull-request-931--wallet-development-heliax-dev.netlify.app