-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: ensure world metadata are handled safely with ACL * fix: remove unused EXECUTE_ENTRYPOINT * fix: add support for array for feature parity on metadata uri * fix: ensure the new class hash to upgrade to has world() entrypoint * wip: metadata rework * feat: add expand env var for plugin debug * feat: add support for multiple segment in the storage This commit aims at having more flexibility in the dojo storage engine, to automatically use several storage slots segments depending on the packed size. The offset and length fields are not more required for the database to work. The layout is still exposed for the moment. * fix: adjust world entry points based on storage rework * fix: remove unused WhereClause * fix: ensure deployed contracts addresses don't conflict with model names * fix: remove TODO with expected behavior for packing * fix: ensure fpow is never used with base equal to 0 in our case * fix: remove old boolean enum usage * fix: ensure executor address is not zero * fix: ensure packing max bits max value * fix: remove unused file * fix: remove database/utils not used for now * fix: remove index related code * fix: ensure empty data are well retrieved from storage * fix: remove the length from the storage to be backward compatible * fix: remove unused variable * fix: adjust gas for test * feat: add function to verify ownership of tx account * fix: remove executor and and deploy models instead There were a security issue with the executor, as currently the library_call is not immutable. Hence, a function called by library_call may contains other syscall. For this reason, the executor is removed in favor of deploying the model to get it's name. * fix: keep class hash and contract address for models * feat: update toolchain for new model registration * fix: revise world documentation and refacto world errors * fix: remove unused storage variable * fix: ensure the world address is protected against model registration * fix: remove unused variable * fix: reintroduce missing test * fix: ensure resource metadata are only controlled by world creator * fix: ensure resource metadata is well written in the manifest * fix: format + clippy * tests(dojo-core): fix testing * fix: torii initial support for array and introspection * wip: torii introspect integration for Array * fix: add contract address to model's metadata * fix: Ty serialization for Array on Torii side * fix: fix torii values index for store_set_record * fix: remove contract address from wrong model * feat: add array in testing graphql * chore: restore main Cargo.lock * fix: remove Copy trait for Record as now contains Array * docs: add audit link in README * docs: fix README audit format * chore: use new tag of cainome wasm compatible + remove unused variables * fix: fmt * fix: add array as supported enum for models children ty * fix(dojo-core): remove print statements not required * fix: remove print for database but keep it for base_test address * fix: add sozo command for class hash back and add contract address command * ci: avoid rate limitation for protoc * fix(torii): ensure model contract address is in a new migration * fix(torii): remove array indexing support for now * fix(dojo-core): disable use of capacity derive on model * fix: fmt * fix(dojo-lang): run missing CAIRO_FIX tests * fix: remove debug print
- Loading branch information
Showing
92 changed files
with
2,327 additions
and
2,200 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.