You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following error is returned: Invalid tx deserialization.
After further investigation, It is our understanding that the cause of the error is the binary/tx not being part of Namada's allow-list. However, the error message is misleading as it seems to suggest that a format error of some sort caused it instead.
We recommend improving the error message to something more descriptive such as:
Transaction is not allow-listed
Wasm module is not allow-listed
Checksum doesn't match allowed transactions
The text was updated successfully, but these errors were encountered:
I've been investigating this, and the cause is actually not because of absence from the tx whitelist. The --tx-path flag is meant to take a file in .tx format (usually from the output of a tx dump). Rather, a wasm file should be passed to --code-path, which correctly describes the error from not being in the whitelist. For example,
target/release/namadac tx --owner brent-0 --signing-keys brent-0 --code-path wasm_for_tests/tx_no_op.wasm --node $DO_NODE
The corresponding wasm code of the code path wasm_for_tests/tx_no_op.wasm doesn't exist on chain.
Error:
0: Querying error: Wasm code path wasm_for_tests/tx_no_op.wasm does not exist on chain
1: Wasm code path wasm_for_tests/tx_no_op.wasm does not exist on chain
Going to improve the error message and some help messages to make this very clear.
Note
This issue has been submitted on behalf of the CosmicValidator and Mandragora teams, participants of the Namada Shielded Expedition.
When trying to execute the transaction from a custom wasm binary such as
the following error is returned:
Invalid tx deserialization
.After further investigation, It is our understanding that the cause of the error is the binary/tx not being part of Namada's allow-list. However, the error message is misleading as it seems to suggest that a format error of some sort caused it instead.
We recommend improving the error message to something more descriptive such as:
Transaction is not allow-listed
Wasm module is not allow-listed
Checksum doesn't match allowed transactions
The text was updated successfully, but these errors were encountered: