forked from starkware-libs/blockifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: spawn and move & add offchain model (starkware-libs#1768)
* fix: spawn and move & add offchain model * update example * update version * chore: deployment manifest * update test * chore: scarb lock * fix: test * tests * fix: generate manifests with latest sozo version * fix: add deployement manifest * fix: test with correct model name * fix: adjust number of models into sql test * fix: update default_auth script * fix: remove from manifests name and use * fix: generate new manifests * ci: re-enable ensure-windows * fix: add new generated manifests for tests * fix: adjust clean command to new manifests path * fix: generate new manifests --------- Co-authored-by: glihm <[email protected]>
- Loading branch information
Showing
14 changed files
with
835 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
239 changes: 239 additions & 0 deletions
239
...les/spawn-and-move/manifests/dev/abis/base/models/dojo_examples_models_emote_message.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
[ | ||
{ | ||
"type": "impl", | ||
"name": "DojoModelImpl", | ||
"interface_name": "dojo::model::IDojoModel" | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "core::array::Span::<core::integer::u8>", | ||
"members": [ | ||
{ | ||
"name": "snapshot", | ||
"type": "@core::array::Array::<core::integer::u8>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "core::array::Span::<core::felt252>", | ||
"members": [ | ||
{ | ||
"name": "snapshot", | ||
"type": "@core::array::Array::<core::felt252>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "core::array::Span::<core::array::Span::<core::felt252>>", | ||
"members": [ | ||
{ | ||
"name": "snapshot", | ||
"type": "@core::array::Array::<core::array::Span::<core::felt252>>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "dojo::database::introspect::Struct", | ||
"members": [ | ||
{ | ||
"name": "name", | ||
"type": "core::felt252" | ||
}, | ||
{ | ||
"name": "attrs", | ||
"type": "core::array::Span::<core::felt252>" | ||
}, | ||
{ | ||
"name": "children", | ||
"type": "core::array::Span::<core::array::Span::<core::felt252>>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "core::array::Span::<(core::felt252, core::array::Span::<core::felt252>)>", | ||
"members": [ | ||
{ | ||
"name": "snapshot", | ||
"type": "@core::array::Array::<(core::felt252, core::array::Span::<core::felt252>)>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "dojo::database::introspect::Enum", | ||
"members": [ | ||
{ | ||
"name": "name", | ||
"type": "core::felt252" | ||
}, | ||
{ | ||
"name": "attrs", | ||
"type": "core::array::Span::<core::felt252>" | ||
}, | ||
{ | ||
"name": "children", | ||
"type": "core::array::Span::<(core::felt252, core::array::Span::<core::felt252>)>" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "enum", | ||
"name": "dojo::database::introspect::Ty", | ||
"variants": [ | ||
{ | ||
"name": "Primitive", | ||
"type": "core::felt252" | ||
}, | ||
{ | ||
"name": "Struct", | ||
"type": "dojo::database::introspect::Struct" | ||
}, | ||
{ | ||
"name": "Enum", | ||
"type": "dojo::database::introspect::Enum" | ||
}, | ||
{ | ||
"name": "Tuple", | ||
"type": "core::array::Span::<core::array::Span::<core::felt252>>" | ||
}, | ||
{ | ||
"name": "Array", | ||
"type": "core::integer::u32" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "dojo::model::IDojoModel", | ||
"items": [ | ||
{ | ||
"type": "function", | ||
"name": "name", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"type": "core::felt252" | ||
} | ||
], | ||
"state_mutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "unpacked_size", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"type": "core::integer::u32" | ||
} | ||
], | ||
"state_mutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "packed_size", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"type": "core::integer::u32" | ||
} | ||
], | ||
"state_mutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "layout", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"type": "core::array::Span::<core::integer::u8>" | ||
} | ||
], | ||
"state_mutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "schema", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"type": "dojo::database::introspect::Ty" | ||
} | ||
], | ||
"state_mutability": "view" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "impl", | ||
"name": "emote_messageImpl", | ||
"interface_name": "dojo_examples::models::Iemote_message" | ||
}, | ||
{ | ||
"type": "enum", | ||
"name": "dojo_examples::models::Emote", | ||
"variants": [ | ||
{ | ||
"name": "None", | ||
"type": "()" | ||
}, | ||
{ | ||
"name": "Happy", | ||
"type": "()" | ||
}, | ||
{ | ||
"name": "Sad", | ||
"type": "()" | ||
}, | ||
{ | ||
"name": "Angry", | ||
"type": "()" | ||
}, | ||
{ | ||
"name": "Love", | ||
"type": "()" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "struct", | ||
"name": "dojo_examples::models::EmoteMessage", | ||
"members": [ | ||
{ | ||
"name": "identity", | ||
"type": "core::starknet::contract_address::ContractAddress" | ||
}, | ||
{ | ||
"name": "emote", | ||
"type": "dojo_examples::models::Emote" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "interface", | ||
"name": "dojo_examples::models::Iemote_message", | ||
"items": [ | ||
{ | ||
"type": "function", | ||
"name": "ensure_abi", | ||
"inputs": [ | ||
{ | ||
"name": "model", | ||
"type": "dojo_examples::models::EmoteMessage" | ||
} | ||
], | ||
"outputs": [], | ||
"state_mutability": "view" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "dojo_examples::models::emote_message::Event", | ||
"kind": "enum", | ||
"variants": [] | ||
} | ||
] |
Oops, something went wrong.