CodeRejected
Error v334 → current 29.28The WASM code was rejected during validation.
Encountered by: developers
Why This Error Exists
WASM must pass validation. Use proper tooling to compile valid contract code.
From Chain Metadata
The contract's code was found to be invalid during validation. The most likely cause of this is that an API was used which is not supported by the node. This happens if an older node is used with a new version of ink!. Try updating your node to the newest available version. A more detailed error can be found on the node console if debug messages are enabled by supplying `-lruntime::contracts=debug`.
What This Means
The WASM code was rejected during validation.
Common Causes
- Invalid WASM format
- Forbidden instructions in code
- Code doesn't meet validation requirements
How to Fix
- Compile with correct target (wasm32-unknown-unknown)
- Use proper contract toolchain (cargo-contract, etc.)
- Check for forbidden floating-point operations
Runtime Info
- Pallet Index
- 29
- Error Index
- 28
- Error Code
- 29.28
- Runtime Version
- v393