caelum0x ab494e0ea3 fix(rust): broadcast tx as 0x-hex (was quoted base64 -> on-chain parse error) + live example
The clawchain-alloy broadcast path sent signed tx bytes as a URL-quoted base64 value
(tx=%22<base64>%22). Tendermint's URI arg parser treats a quoted value as a literal
string (it does NOT base64-decode it), so the chain received the base64 ASCII as the
tx bytes and rejected with 'tx parse error: expected 2 wire type, got 3'. Switched to
the canonical 0x-hex form (tx=0x<hex>), which Tendermint decodes to raw bytes and needs
no percent-encoding. Updated the path unit test accordingly.

Added clawchain-alloy/examples/live_send.rs (read chainId/height/balance + signed bank
send). Verified live against the 4-validator testnet: read OK, bank send broadcast
accepted (CheckTx code 0). cargo build clean; 32 unit + 1 doctest pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 00:39:42 +03:00
..