Error codes
bkc codespace
Returned in a transaction result's code with codespace: "bkc".
| Code | Meaning | Typical cause |
|---|---|---|
| 1101 | unsupported public-key type | a signer (or a validator's consensus key) that is not mldsa65 |
| 1102 | unsupported sign mode | Amino JSON, textual or direct-aux signing — only SIGN_MODE_DIRECT is allowed |
| 1103 | malformed policy transaction | the transaction could not be checked against the key/sign-mode policy |
| 1104 | raw Ethereum transaction disabled | a MsgEthereumTx was submitted (e.g. via eth_sendRawTransaction) |
| 1105 | wrapped EVM call mixed with another message | MsgExecuteEvmCall must be alone in its transaction |
| 1106 | wrapped-call nonce mismatch | call_nonce ≠ the account's sequence before the transaction — usually two writes in flight |
| 1107 | invalid wrapped EVM call | bad to address, non-decimal amounts, tip above fee cap, gas_limit 0 or above the Cosmos gas limit |
| 1108 | wrapped EVM executor unavailable | the node was started without the EVM |
JSON-RPC
| Code | Message | Meaning |
|---|---|---|
| -32050 | raw secp256k1 transactions are not supported on this chain; use MsgExecuteEvmCall … | eth_sendRawTransaction — use the SDK or Hardhat plugin |
| -32000 | execution reverted… | the call reverted; the revert data is in error.data |
Common Cosmos SDK errors
| Codespace · code | Meaning | Fix |
|---|---|---|
sdk 5 | insufficient funds | fund the account |
sdk 11 | out of gas | raise the Cosmos --gas / gas budget |
sdk 13 | insufficient fee | gas price below 5000000bkc |
sdk 19 | tx already in mempool | resubmitted the same signed bytes |
sdk 32 | incorrect account sequence | stale sequence — refetch it and re-sign |
Hardhat plugin and SDK
Errors from @bkc-network-lib/hardhat and the SDK carry a sentence saying what to do. ethers wraps them: read error.error.message, not error.shortMessage ("could not coalesce error").
