Skip to main content

ABI_VERSION

Constant ABI_VERSION 

Source
pub const ABI_VERSION: u32 = 5;
Expand description

Current ABI version. Bump on any breaking change to instruction encoding, constant representation, or function-table layout.

v2: Value::Message wire tag 5. v3: Message.reply_cap; Value::Cap wire tag 6 (FlowCap). v4: Value::Str tag 7, Value::Bytes tag 8. v5: CapId is 128-bit; Message.payload is a nested Value. v6: Value::List wire tag 9. Modules without a list still encode as v5 so an older reader keeps accepting them. A list constant is written only as v6; v5 decoders reject tag 9.