ExitRevert
Variant 81 v393evm_core::error::ExitRevert
About This Type
Enum type: ExitRevert.
A tagged union where the first byte selects which variant is active, followed by that variant's data.
Encoding: 1-byte variant index followed by the selected variant's field data.
Variants (1)
| Index | Name | Fields | Docs |
|---|---|---|---|
| 0 | Reverted | none |
SCALE Encoding
- Rule
- 1-byte variant index followed by variant-specific field data. 1 possible variants.
- Size
- variable (1+ bytes)
Examples
Reverted
0x0000 Variant index 0 = RevertedCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode ExitRevert — variant "Reverted"
const value = registry.createType("ExitRevert", "Reverted");
console.log("Hex:", value.toHex());Referenced By (1)
Type Information
- Type ID
- 81
- Kind
- Variant
- Path
- evm_core::error::ExitRevert
- Runtime
- v393