diff --git a/src/kaitai_structures/item.ksy b/src/kaitai_structures/item.ksy deleted file mode 100644 index 79bd8dc82..000000000 --- a/src/kaitai_structures/item.ksy +++ /dev/null @@ -1,27 +0,0 @@ -meta: - id: item - title: - endian: le - imports: - - scale - - storage_definition -seq: - - id: name - type: scale::string - - - id: modifier - type: u1 - enum: storage_modifier - - - id: definition - type: storage_definition - - - id: fallback - type: scale::bytes - - - id: docs - type: scale::string_list -enums: - storage_modifier: - 0: optional - 1: default \ No newline at end of file diff --git a/src/kaitai_structures/pallet_constant.ksy b/src/kaitai_structures/pallet_constant.ksy index 1915229d1..d87afe57b 100644 --- a/src/kaitai_structures/pallet_constant.ksy +++ b/src/kaitai_structures/pallet_constant.ksy @@ -4,13 +4,12 @@ meta: endian: le imports: - scale - - item seq: - - id: prefix + - id: name type: scale::string - - id: num_items + - id: type type: scale::compact_int - - id: items - type: item - repeat: expr - repeat-expr: num_items.value \ No newline at end of file + - id: value + type: scale::bytes + - id: docs + type: scale::string_list