-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning/Refactoring of the dojo-core crate. #2187
Conversation
c8c0282
to
4139423
Compare
5abf958
to
8bcb5fd
Compare
e1395bf
to
9ee317d
Compare
Ohayo, sensei! Here’s the updated summary and changes based on the recent modifications: WalkthroughThe recent updates encompass a range of files within the project, focusing on upgrading tool versions, reorganizing imports, and enhancing configurations and contract functionalities. Key changes include moving to a new Rust edition, updating Changes
Sensei, feel free to reach out if you have any other questions or need further assistance! Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
9ee317d
to
6d9ee7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Outside diff range, codebase verification and nitpick comments (115)
crates/dojo-core/src/model/layout.cairo (1)
26-33
: Ohayo sensei,The
Layout
enum incrates/dojo-core/src/model/layout.cairo
has the following variants:Fixed
,Struct
,Tuple
,Array
, andByteArray
. Thecompute_packed_size
function currently only handles theFixed
variant. Please ensure that all variants of theLayout
enum are handled appropriately.
- File:
crates/dojo-core/src/model/layout.cairo
- Lines: 26-33
Verify function handles all enum variants.
The function currently handles only the
Fixed
variant. Ensure that all variants of theLayout
enum are handled appropriately.Analysis chain
Verify function handles all enum variants.
The function currently handles only the
Fixed
variant. Ensure that all variants of theLayout
enum are handled appropriately.
Ohayo sensei,
The previous attempt to verify the handling of all
Layout
enum variants in thecompute_packed_size
function failed due to an unrecognized file type. Let's refine our approach to gather the necessary information.
Ohayo sensei,
To ensure that the
compute_packed_size
function handles all variants of theLayout
enum, we need to identify all the variants of theLayout
enum. Let's proceed with this investigation.
Ohayo sensei,
The previous attempt to locate the
Layout
enum definition usingast-grep
failed because Cairo is not a supported language. Let's userg
to search for theLayout
enum definition and identify its variants.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the `compute_packed_size` function handles all variants of the `Layout` enum. # Test: Search for function usage. Expect: Ensure all variants are handled. rg --type cairo -A 5 $'compute_packed_size'Length of output: 72
Script:
#!/bin/bash # Locate Cairo files and search for the `compute_packed_size` function within those files. # Find all Cairo files fd -e cairo > cairo_files.txt # Search for the `compute_packed_size` function in the located Cairo files while IFS= read -r file; do echo "Searching in $file" rg 'compute_packed_size' "$file" -A 5 done < cairo_files.txtLength of output: 13636
Script:
#!/bin/bash # Locate the definition of the `Layout` enum and list all its variants. # Search for the `Layout` enum definition ast-grep --lang cairo --pattern $'enum Layout { $$$ }'Length of output: 168
Script:
#!/bin/bash # Search for the `Layout` enum definition and list all its variants. # Search for the `Layout` enum definition rg 'enum Layout' -A 10Length of output: 1354
crates/dojo-core/src/lib.cairo (1)
66-81
: Ohayo, sensei! It looks like there are several references to thetests
module that need updating to match the new submodule structure. Here are the files that need attention:
crates/torii/graphql/src/tests/subscription_test.rs
crates/torii/graphql/src/tests/models_ordering_test.rs
crates/torii/graphql/src/tests/metadata_test.rs
crates/torii/graphql/src/tests/events_test.rs
crates/torii/graphql/src/tests/entities_test.rs
crates/torii/graphql/src/tests/models_test.rs
crates/dojo-core/src/tests/benchmarks.cairo
Please update these references to align with the new submodule organization.
Analysis chain
Ohayo, sensei! The tests module update looks good.
The addition of submodules enhances test coverage and organization. Ensure that all references to the
tests
module are updated accordingly in the codebase.
Ohayo, sensei! Let's correct our approach to ensure all references to the
tests
module are properly updated. I'll run a new script to search for references in Cairo files.
Ohayo, sensei! Let's adjust our strategy to ensure we capture all references to the
tests
module. I'll run a new script without specifying the file type.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `tests` module are updated. # Test: Search for the module usage. Expect: Only occurrences of the new structure. rg --type python -A 5 $'tests::'Length of output: 62
Script:
#!/bin/bash # Description: Verify all references to the `tests` module are updated. # Test: Search for the module usage. Expect: Only occurrences of the new structure. rg --type cairo -A 5 $'tests::'Length of output: 60
Script:
#!/bin/bash # Description: Verify all references to the `tests` module are updated. # Test: Search for the module usage. Expect: Only occurrences of the new structure. rg -A 5 $'tests::'Length of output: 3560
examples/spawn-and-move/manifests/dev/base/abis/contracts/dojo_examples-mock_token-31599eb2.json (2)
150-150
: Ohayo, sensei!The new namespace path for
UpgradableImpl
has been updated todojo::contract::upgradeable::IUpgradeable
and is used consistently across most of the codebase. However, there are some inconsistencies where the namespacedojo::components::upgradeable::IUpgradeable
is still being used. Please review and update the following files to ensure consistency:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo, sensei! Verify the new namespace path for
UpgradableImpl
.The
interface_name
forUpgradableImpl
has been changed todojo::contract::upgradeable::IUpgradeable
. Ensure that this new path is correct and consistent with the rest of the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the new namespace path for `UpgradableImpl`. # Test: Search for the definition or usage of `UpgradableImpl`. Expect: Consistent namespace path across the codebase. rg --type json -A 5 $'UpgradableImpl'Length of output: 16321
104-104
: Ohayo, sensei! The new namespace path forIWorldDispatcher
needs some updates.The following files still contain the old namespace
dojo::world::IWorldDispatcher
and should be updated todojo::world::world_contract::IWorldDispatcher
:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
crates/dojo-world/src/metadata_test_data/abi.json
Please update these files to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify the new namespace path for
IWorldDispatcher
.The
name
of theIWorldDispatcher
struct has been updated todojo::world::world_contract::IWorldDispatcher
. Ensure that this new path is correct and consistent with the rest of the codebase.
Ohayo, sensei! Let's ensure all instances of
IWorldDispatcher
are updated to the new namespacedojo::world::world_contract::IWorldDispatcher
.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the new namespace path for `IWorldDispatcher`. # Test: Search for the definition or usage of `IWorldDispatcher`. Expect: Consistent namespace path across the codebase. rg --type json -A 5 $'IWorldDispatcher'Length of output: 32072
Script:
#!/bin/bash # Description: Verify if there are any remaining instances of the old namespace `dojo::world::IWorldDispatcher`. # Test: Search for the old namespace `dojo::world::IWorldDispatcher`. Expect: No matches. rg --type json -A 5 $'dojo::world::IWorldDispatcher'Length of output: 4289
examples/spawn-and-move/manifests/dev/deployment/abis/contracts/dojo_examples-mock_token-31599eb2.json (2)
150-150
: Ohayo, sensei! There are inconsistencies in the namespace path forUpgradableImpl
.The namespace path for
UpgradableImpl
should bedojo::contract::upgradeable::IUpgradeable
, but there are instances where it isdojo::components::upgradeable::IUpgradeable
. Please correct the following occurrences:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
Analysis chain
Ohayo, sensei! Verify the new namespace path for
UpgradableImpl
.The
interface_name
forUpgradableImpl
has been changed todojo::contract::upgradeable::IUpgradeable
. Ensure that this new path is correct and consistent with the rest of the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the new namespace path for `UpgradableImpl`. # Test: Search for the definition or usage of `UpgradableImpl`. Expect: Consistent namespace path across the codebase. rg --type json -A 5 $'UpgradableImpl'Length of output: 16321
104-104
: Ohayo, sensei!The new namespace path for
IWorldDispatcher
isdojo::world::world_contract::IWorldDispatcher
. However, there are inconsistencies in the codebase where the old pathdojo::world::IWorldDispatcher
is still being used.Please review and update the following files to ensure consistency:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
crates/dojo-world/src/metadata_test_data/abi.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
Analysis chain
Ohayo, sensei! Verify the new namespace path for
IWorldDispatcher
.The
name
of theIWorldDispatcher
struct has been updated todojo::world::world_contract::IWorldDispatcher
. Ensure that this new path is correct and consistent with the rest of the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the new namespace path for `IWorldDispatcher`. # Test: Search for the definition or usage of `IWorldDispatcher`. Expect: Consistent namespace path across the codebase. rg --type json -A 5 $'IWorldDispatcher'Length of output: 32072
examples/spawn-and-move/manifests/dev/deployment/abis/contracts/dojo_examples-dungeon-6620e0e6.json (9)
122-122
: Ohayo sensei!The type change to
dojo::world::world_contract::IWorldDispatcher
has not been fully propagated. The following files still reference the old typedojo::world::IWorldDispatcher
:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
crates/dojo-world/src/metadata_test_data/abi.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Validate the type update.
The
type
change todojo::world::world_contract::IWorldDispatcher
aligns with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::world::IWorldDispatcher` are updated to `dojo::world::world_contract::IWorldDispatcher`. # Test: Search for the old type name. Expect: No occurrences of the old type name. rg --type json 'dojo::world::IWorldDispatcher'Length of output: 947
219-219
: Ohayo sensei!The nested event type update is incomplete. The following files still reference the old event type
dojo::components::upgradeable::upgradeable::Event
:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Please update these references to
dojo::contract::upgradeable::upgradeable::Event
.Analysis chain
Ohayo sensei! Confirm the nested event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Event
is consistent with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Event` are updated to `dojo::contract::upgradeable::upgradeable::Event`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Event'Length of output: 1020
104-104
: Ohayo sensei! The struct namedojo::world::IWorldDispatcher
has not been fully updated todojo::world::world_contract::IWorldDispatcher
. The following files still contain references to the old struct name:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
- Line: 1
- Line: 2
crates/dojo-world/src/metadata_test_data/abi.json
- Line: 1
bin/sozo/tests/test_data/manifest.json
- Line: 1
- Line: 2
- Line: 3
- Line: 4
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
- Line: 1
- Line: 2
Please update these references to
dojo::world::world_contract::IWorldDispatcher
.Analysis chain
Ohayo sensei! Validate the struct name change.
The
name
change todojo::world::world_contract::IWorldDispatcher
follows the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::world::IWorldDispatcher` are updated to `dojo::world::world_contract::IWorldDispatcher`. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json 'dojo::world::IWorldDispatcher'Length of output: 947
27-27
: Ohayo sensei! It looks like the old interface namedojo::contract::IContract
is still present in several files. Here are the locations that need updating todojo::contract::contract::IContract
:
crates/dojo-lang/src/contract.rs
crates/dojo-lang/src/plugin_test_data/system
(multiple lines)Please update these references to align with the new namespace structure.
Analysis chain
Ohayo sensei! Verify the interface name change.
The
name
change todojo::contract::contract::IContract
aligns with the new namespace structure. Ensure all references to this interface are updated accordingly.
Ohayo sensei! The initial check for
dojo::contract::IContract
in JSON files came up empty, suggesting no lingering references. However, to be thorough, let's extend our search to all file types.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::IContract` are updated to `dojo::contract::contract::IContract`. # Test: Search for the old interface name. Expect: No occurrences of the old interface name. rg --type json 'dojo::contract::IContract'Length of output: 42
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::IContract` are updated to `dojo::contract::contract::IContract`. # Test: Search for the old interface name in all file types. Expect: No occurrences of the old interface name. rg 'dojo::contract::IContract'Length of output: 1074
172-172
: Ohayo sensei!It looks like the interface name
dojo::contract::upgradeable::IUpgradeable
has been correctly updated in many places. However, there are still several instances of the old interface namedojo::components::upgradeable::IUpgradeable
that need to be updated.
- Files with old interface name:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
crates/katana/storage/db/benches/artifacts/dojo_world_240.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
Please ensure that all references to
dojo::components::upgradeable::IUpgradeable
are updated todojo::contract::upgradeable::IUpgradeable
.Analysis chain
Ohayo sensei! Verify the interface name change.
The
name
change todojo::contract::upgradeable::IUpgradeable
aligns with the new namespace structure. Ensure all references to this interface are updated accordingly.
Ohayo sensei! It looks like there are still references to the old interface name
dojo::components::upgradeable::IUpgradeable
. Let's verify that the new interface namedojo::contract::upgradeable::IUpgradeable
is correctly used in all necessary places.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::IUpgradeable` are updated to `dojo::contract::upgradeable::IUpgradeable`. # Test: Search for the old interface name. Expect: No occurrences of the old interface name. rg --type json 'dojo::components::upgradeable::IUpgradeable'Length of output: 1840
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::upgradeable::IUpgradeable` are correctly updated. # Test: Search for the new interface name. Expect: Occurrences of the new interface name. rg --type json 'dojo::contract::upgradeable::IUpgradeable'Length of output: 6004
202-202
: Ohayo sensei!The following files still contain references to the old event type
dojo::components::upgradeable::upgradeable::Upgraded
. Please update them todojo::contract::upgradeable::upgradeable::Upgraded
to align with the new namespace structure:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo sensei! Confirm the event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Upgraded
aligns with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Upgraded` are updated to `dojo::contract::upgradeable::upgradeable::Upgraded`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Upgraded'Length of output: 1047
207-207
: Ohayo sensei! Some references to the old event typedojo::components::upgradeable::upgradeable::Upgraded
still exist and need to be updated todojo::contract::upgradeable::upgradeable::Upgraded
. Please update the following files:
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo sensei! Validate the event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Upgraded
aligns with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Upgraded` are updated to `dojo::contract::upgradeable::upgradeable::Upgraded`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Upgraded'Length of output: 1047
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::upgradeable::upgradeable::Upgraded` are correctly updated. # Test: Search for the new event type. Expect: Occurrences of the new event type. rg --type json 'dojo::contract::upgradeable::upgradeable::Upgraded'Length of output: 6273
190-190
: Ohayo sensei! The event name change todojo::contract::upgradeable::upgradeable::Upgraded
is partially implemented. However, the old event namedojo::components::upgradeable::upgradeable::Upgraded
still exists in several files. Please ensure all references are updated to maintain consistency.
- Old event name found in:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
Analysis chain
Ohayo sensei! Validate the event name change.
The
name
change todojo::contract::upgradeable::upgradeable::Upgraded
follows the new namespace structure. Ensure all references are updated.
Ohayo sensei! Let's ensure all references are properly updated. I'll verify if the new event name
dojo::contract::upgradeable::upgradeable::Upgraded
is present in the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Upgraded` are updated to `dojo::contract::upgradeable::upgradeable::Upgraded`. # Test: Search for the old event name. Expect: No occurrences of the old event name. rg --type json 'dojo::components::upgradeable::upgradeable::Upgraded'Length of output: 1047
Script:
#!/bin/bash # Description: Verify if the new event name `dojo::contract::upgradeable::upgradeable::Upgraded` is present in the codebase. # Test: Search for the new event name. Expect: Occurrences of the new event name. rg --type json 'dojo::contract::upgradeable::upgradeable::Upgraded'Length of output: 6273
114-114
: Ohayo sensei! It looks like the update to the new namespace structure is not complete. The following files still reference the old interface namedojo::world::IWorldProvider
and need to be updated todojo::world::world_contract::IWorldProvider
:
- examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
- Line 5:
"interface_name": "dojo::world::IWorldProvider"
- Line 19:
"name": "dojo::world::IWorldProvider"
- examples/game-lib/manifests/dev/base/abis/dojo-base.json
- Line 5:
"interface_name": "dojo::world::IWorldProvider"
- Line 19:
"name": "dojo::world::IWorldProvider"
- bin/sozo/tests/test_data/manifest.json
- Line 862:
"interface_name": "dojo::world::IWorldProvider"
- Line 876:
"name": "dojo::world::IWorldProvider"
- Line 966:
"interface_name": "dojo::world::IWorldProvider"
- Line 980:
"name": "dojo::world::IWorldProvider"
- crates/dojo-world/src/metadata_test_data/abi.json
- Line 5:
"interface_name": "dojo::world::IWorldProvider"
Please update these references to ensure consistency.
Analysis chain
Ohayo sensei! Check the interface name consistency.
The
name
change todojo::world::world_contract::IWorldProvider
is consistent with the new namespace structure. Ensure all references are updated.
Ohayo sensei! It looks like the old interface name
dojo::world::IWorldProvider
is still present in several files. Let's list the exact lines in these files to ensure we catch all instances that need updating.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::world::IWorldProvider` are updated to `dojo::world::world_contract::IWorldProvider`. # Test: Search for the old interface name. Expect: No occurrences of the old interface name. rg --type json 'dojo::world::IWorldProvider'Length of output: 944
Script:
#!/bin/bash # Description: List exact lines where the old interface name `dojo::world::IWorldProvider` is found. # List lines with occurrences of the old interface name. rg --type json 'dojo::world::IWorldProvider' -nLength of output: 975
examples/spawn-and-move/manifests/release/base/abis/contracts/dojo_examples-dungeon-6620e0e6.json (6)
104-104
: Ohayo sensei!The old struct name
dojo::world::IWorldDispatcher
is still present in several files. Please update these references todojo::world::world_contract::IWorldDispatcher
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
crates/dojo-world/src/metadata_test_data/abi.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo sensei! Validate the struct name change.
The
name
change todojo::world::world_contract::IWorldDispatcher
follows the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::world::IWorldDispatcher` are updated to `dojo::world::world_contract::IWorldDispatcher`. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json 'dojo::world::IWorldDispatcher'Length of output: 947
122-122
: Ohayo sensei! The type change todojo::world::world_contract::IWorldDispatcher
has not been fully propagated. The old type namedojo::world::IWorldDispatcher
is still present in the following files:
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
examples/game-lib/manifests/dev/base/abis/dojo-base.json
crates/dojo-world/src/metadata_test_data/abi.json
bin/sozo/tests/test_data/manifest.json
Please update these references to align with the new namespace structure.
Analysis chain
Ohayo sensei! Validate the type update.
The
type
change todojo::world::world_contract::IWorldDispatcher
aligns with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::world::IWorldDispatcher` are updated to `dojo::world::world_contract::IWorldDispatcher`. # Test: Search for the old type name. Expect: No occurrences of the old type name. rg --type json 'dojo::world::IWorldDispatcher'Length of output: 947
202-202
: Ohayo sensei! The old event typedojo::components::upgradeable::upgradeable::Upgraded
still exists in the following files and needs to be updated todojo::contract::upgradeable::upgradeable::Upgraded
:
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Please update these references to align with the new namespace structure.
Analysis chain
Ohayo sensei! Confirm the event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Upgraded
aligns with the new namespace structure. Ensure all references are updated.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Upgraded` are updated to `dojo::contract::upgradeable::upgradeable::Upgraded`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Upgraded'Length of output: 1047
172-172
: Ohayo sensei! Incomplete update of interface name.The interface name
dojo::contract::upgradeable::IUpgradeable
has been updated in several places, but the old interface namedojo::components::upgradeable::IUpgradeable
is still present in multiple files. Please ensure all references to the old interface name are updated to the new one for consistency.
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
crates/katana/storage/db/benches/artifacts/dojo_world_240.json
Analysis chain
Ohayo sensei! Verify the interface name change.
The
name
change todojo::contract::upgradeable::IUpgradeable
aligns with the new namespace structure. Ensure all references to this interface are updated accordingly.
Ohayo sensei! The old interface name
dojo::components::upgradeable::IUpgradeable
is still present in multiple files. Let's check if the new interface namedojo::contract::upgradeable::IUpgradeable
has been partially updated in some places.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::IUpgradeable` are updated to `dojo::contract::upgradeable::IUpgradeable`. # Test: Search for the old interface name. Expect: No occurrences of the old interface name. rg --type json 'dojo::components::upgradeable::IUpgradeable'Length of output: 1840
Script:
#!/bin/bash # Description: Verify if the new interface name `dojo::contract::upgradeable::IUpgradeable` has been partially updated in the codebase. # Test: Search for the new interface name. Expect: Occurrences of the new interface name. rg --type json 'dojo::contract::upgradeable::IUpgradeable'Length of output: 6004
219-219
: Ohayo sensei! There are still references to the old event typedojo::components::upgradeable::upgradeable::Event
that need to be updated todojo::contract::upgradeable::upgradeable::Event
.Please update the following files:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo sensei! Confirm the nested event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Event
is consistent with the new namespace structure. Ensure all references are updated.
Ohayo sensei! It looks like there are still references to the old event type
dojo::components::upgradeable::upgradeable::Event
in the codebase. Let's confirm if the new event typedojo::contract::upgradeable::upgradeable::Event
has been correctly updated in the same files.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Event` are updated to `dojo::contract::upgradeable::upgradeable::Event`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Event'Length of output: 1020
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::upgradeable::upgradeable::Event` are present. # Test: Search for the new event type. Expect: Occurrences of the new event type. rg --type json 'dojo::contract::upgradeable::upgradeable::Event'Length of output: 6150
207-207
: Ohayo sensei! The event type update is incomplete.The new event type
dojo::contract::upgradeable::upgradeable::Upgraded
has been applied in several places, but the old event typedojo::components::upgradeable::upgradeable::Upgraded
still exists in the following files:
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
examples/game-lib/manifests/dev/base/abis/dojo-base.json
bin/sozo/tests/test_data/manifest.json
Please update these references to ensure consistency.
Analysis chain
Ohayo sensei! Validate the event type update.
The
type
change todojo::contract::upgradeable::upgradeable::Upgraded
aligns with the new namespace structure. Ensure all references are updated.
Ohayo sensei! The old event type
dojo::components::upgradeable::upgradeable::Upgraded
is still present in multiple files. Let's verify if the new event typedojo::contract::upgradeable::upgradeable::Upgraded
has been correctly applied where needed.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `dojo::components::upgradeable::upgradeable::Upgraded` are updated to `dojo::contract::upgradeable::upgradeable::Upgraded`. # Test: Search for the old event type. Expect: No occurrences of the old event type. rg --type json 'dojo::components::upgradeable::upgradeable::Upgraded'Length of output: 1047
Script:
#!/bin/bash # Description: Verify all references to `dojo::contract::upgradeable::upgradeable::Upgraded` are correctly updated. # Test: Search for the new event type. Expect: Occurrences of the new event type. rg --type json 'dojo::contract::upgradeable::upgradeable::Upgraded'Length of output: 7235
crates/dojo-lang/src/introspect/size.rs (1)
117-117
: Ohayo sensei! Issue withany_none
reference.The function
any_none
does not exist in thedojo::utils
module or anywhere else in the codebase. Please ensure that the function is correctly defined or imported.
- Location:
crates/dojo-lang/src/introspect/size.rs
line 117Analysis chain
Ohayo sensei! Confirm utility reference update.
The reference to
dojo::database::utils::any_none
has been updated todojo::utils::any_none
. Ensure that thedojo::utils
module contains theany_none
function.
Ohayo sensei! Let's dig deeper to confirm the existence and correct location of the
any_none
function. We'll search the entire codebase to verify its presence.
Ohayo sensei! Let's continue our quest to locate the
any_none
function. We'll check for any import statements that might bringany_none
into the codebase from external sources or other modules.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the existence of `any_none` function in `dojo::utils`. # Test: Search for the function definition. Expect: Function definition in `dojo::utils`. rg --type rust -A 5 $'fn any_none' | rg 'dojo::utils'Length of output: 52
Script:
#!/bin/bash # Description: Verify the existence and location of `any_none` function in the codebase. # Test: Search for the function definition. Expect: Function definition somewhere in the codebase. rg --type rust -A 5 $'fn any_none'Length of output: 35
Script:
#!/bin/bash # Description: Verify if `any_none` is imported from an external crate or another module. # Test: Search for import statements related to `any_none`. Expect: Import statements in the codebase. rg --type rust 'any_none' -A 2Length of output: 262
crates/dojo-world/src/contracts/abi/model.rs (2)
67-67
: Ohayo sensei! Verify the consistency of the new namespace.The
FieldLayout
struct has been moved todojo::model::layout
. While most references have been updated, there are still some occurrences using the old namespace. Please update the following references to use the new namespace:
crates/sozo/ops/src/model.rs
- Line(s): 12, 15, 20, 25
Please ensure all references are consistent with the new namespace
dojo::model::layout
.Analysis chain
Ohayo sensei! Verify the consistency of the new namespace.
The
FieldLayout
struct has been moved todojo::model::layout
. Ensure that all references toFieldLayout
in the codebase are updated to reflect this new namespace.
Ohayo sensei! Let's ensure the consistency of the new namespace.
The
FieldLayout
struct has been moved todojo::model::layout
. To verify that all references toFieldLayout
are updated to this new namespace, we will perform a broader search to ensure no references are missed.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `FieldLayout` are updated to the new namespace. # Test: Search for the old namespace usage. Expect: No occurrences of the old namespace. rg --type rust -A 5 $'dojo::database::introspect::FieldLayout'Length of output: 61
Script:
#!/bin/bash # Description: Verify all references to `FieldLayout` are updated to the new namespace. # Test: Search for any references to `FieldLayout` that might still be using the old or any other namespace. rg --type rust 'FieldLayout'Length of output: 2817
91-95
: Ohayo sensei! Some references toLayout
still use the old namespace.Please update the following references to use
dojo::model::layout::Layout
:
crates/torii/libp2p/src/tests.rs
crates/torii/core/src/sql.rs
crates/torii/graphql/src/tests/subscription_test.rs
crates/torii/core/src/model.rs
crates/torii/graphql/src/tests/mod.rs
crates/dojo-world/src/contracts/model.rs
crates/sozo/ops/src/tests/model.rs
crates/sozo/ops/src/model.rs
crates/dojo-lang/src/model.rs
crates/dojo-lang/src/introspect/mod.rs
crates/dojo-lang/src/introspect/layout.rs
bin/sozo/src/commands/model.rs
Make sure all references are consistent with the new namespace
dojo::model::layout::Layout
.Analysis chain
Ohayo sensei! Verify the consistency of the new namespace.
The
Span
struct has been updated to usedojo::model::layout::Layout
. Ensure that all references toLayout
in the codebase are updated to reflect this new namespace.
Ohayo sensei! Let's ensure all
Layout
references are consistent with the new namespace.We'll search for all instances of
Layout
in the codebase and verify they are usingdojo::model::layout::Layout
.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Layout` are updated to the new namespace. # Test: Search for the old namespace usage. Expect: No occurrences of the old namespace. rg --type rust -A 5 $'dojo::database::introspect::Layout'Length of output: 56
Script:
#!/bin/bash # Description: Verify all references to `Layout` are updated to the new namespace. # Test: Search for all occurrences of `Layout` and check their namespaces. rg --type rust 'Layout'Length of output: 11122
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json (1)
65-65
: Ohayo, sensei!There are still multiple references to the old struct name
core::array::Span::<dojo::model::layout::FieldLayout>
in the codebase. Please update these references to the new struct name to ensure consistency.
- Examples of files with old struct references:
examples/spawn-and-move/manifests/dev/deployment/abis/dojo-world.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/dojo-world.json
crates/dojo-lang/src/manifest_test_data/compiler_cairo/manifests/dev/base/abis/dojo-world.json
Please update all occurrences to the new struct name. Arigato!
Analysis chain
Ohayo, sensei! Verify the struct usage in the codebase.
The struct
Span
has been updated to usedojo::model::layout::FieldLayout
. Ensure that all references to this struct are updated accordingly.
Ohayo, sensei! Verify that there are no remaining references to the old struct name.
The struct
Span
has been updated to usedojo::model::layout::FieldLayout
. We need to ensure that all references to the old struct name have been updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the struct usage. Expect: Only occurrences of the new struct name. rg --type json -A 5 $'"dojo::model::layout::FieldLayout"'Length of output: 30568
Script:
#!/bin/bash # Description: Verify that there are no remaining references to the old struct name. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json -A 5 $'"core::array::Span::<dojo::model::layout::FieldLayout>"'Length of output: 95430
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json (10)
5-5
: Ohayo, sensei! Inconsistencies detected.The interface name
dojo::model::IModel
still exists in the following files. Please update these occurrences todojo::model::model::IModel
to maintain consistency across the codebase:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the interface name change.
Ensure that the interface name
dojo::model::model::IModel
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the interface name change across the codebase. # Test: Search for the old interface name. Expect: No occurrences of the old interface name. rg --type json -A 5 $'dojo::model::IModel'Length of output: 2528
85-85
: Ohayo, sensei! Inconsistencies detected with enum name change.The enum name
dojo::database::introspect::Layout
is still present in several files. Please update the following occurrences todojo::model::layout::Layout
to ensure consistency across the codebase:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the enum name change.
Ensure that the enum name
dojo::model::layout::Layout
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the enum name change across the codebase. # Test: Search for the old enum name. Expect: No occurrences of the old enum name. rg --type json -A 5 $'dojo::database::introspect::Layout'Length of output: 16723
65-65
: Ohayo, sensei! Inconsistent struct name update detected.The struct name
core::array::Span::<dojo::database::introspect::FieldLayout>
still exists in several files. Please ensure that the struct name is consistently updated tocore::array::Span::<dojo::model::layout::FieldLayout>
across the entire codebase to avoid any potential issues.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please review and update these files accordingly.
Analysis chain
Ohayo, sensei! Verify the struct name change.
Ensure that the struct name
core::array::Span::<dojo::model::layout::FieldLayout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the struct name change across the codebase. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::FieldLayout>'Length of output: 7427
59-59
: Ohayo, sensei! Inconsistent member type update detected.The member type
dojo::database::introspect::Layout
is still present in multiple files. Ensure that the type is consistently updated todojo::model::layout::Layout
across the entire codebase to avoid any potential issues.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the member type change.
Ensure that the member type
dojo::model::layout::Layout
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the member type change across the codebase. # Test: Search for the old member type. Expect: No occurrences of the old member type. rg --type json -A 5 $'dojo::database::introspect::Layout'Length of output: 16723
79-79
: Ohayo, sensei! Verify the member type change.The old member type
@core::array::Array::<dojo::database::introspect::Layout>
is still present in the following files. Please update these occurrences to ensure consistency:
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo, sensei! Verify the member type change.
Ensure that the member type
@core::array::Array::<dojo::model::layout::Layout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the member type change across the codebase. # Test: Search for the old member type. Expect: No occurrences of the old member type. rg --type json -A 5 $'@core::array::Array::<dojo::database::introspect::Layout>'Length of output: 2276
51-51
: Ohayo, sensei! Inconsistencies detected.The struct name
dojo::database::introspect::FieldLayout
still appears in multiple files across the codebase. Please ensure that the struct name is updated todojo::model::layout::FieldLayout
consistently to avoid any potential issues.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the struct name change.
Ensure that the struct name
dojo::model::layout::FieldLayout
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the struct name change across the codebase. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json -A 5 $'dojo::database::introspect::FieldLayout'Length of output: 11010
75-75
: Ohayo, sensei! Verify the struct name change.The old struct name
core::array::Span::<dojo::database::introspect::Layout>
still exists in multiple files. Please ensure it is consistently updated tocore::array::Span::<dojo::model::layout::Layout>
across the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the struct name change.
Ensure that the struct name
core::array::Span::<dojo::model::layout::Layout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the struct name change across the codebase. # Test: Search for the old struct name. Expect: No occurrences of the old struct name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Layout>'Length of output: 6556
69-69
: Ohayo, sensei! Inconsistencies detected.The old member type
@core::array::Array::<dojo::database::introspect::FieldLayout>
still exists in multiple files. Please ensure the member type is consistently updated to@core::array::Array::<dojo::model::layout::FieldLayout>
across the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the member type change.
Ensure that the member type
@core::array::Array::<dojo::model::layout::FieldLayout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the member type change across the codebase. # Test: Search for the old member type. Expect: No occurrences of the old member type. rg --type json -A 5 $'@core::array::Array::<dojo::database::introspect::FieldLayout>'Length of output: 2309
93-93
: Ohayo, sensei! Consistent variant type update needed.The variant type
core::array::Span::<dojo::database::introspect::FieldLayout>
is still present in several files. Please update it tocore::array::Span::<dojo::model::layout::FieldLayout>
consistently across the following files to maintain uniformity:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo, sensei! Verify the variant type change.
Ensure that the variant type
core::array::Span::<dojo::model::layout::FieldLayout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the variant type change across the codebase. # Test: Search for the old variant type. Expect: No occurrences of the old variant type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::FieldLayout>'Length of output: 7427
97-97
: Ohayo, sensei! Inconsistencies detected in variant type update.The variant type
core::array::Span::<dojo::database::introspect::Layout>
is still present in multiple files. Please update these occurrences tocore::array::Span::<dojo::model::layout::Layout>
to ensure consistency across the codebase.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the variant type change.
Ensure that the variant type
core::array::Span::<dojo::model::layout::Layout>
is consistently updated across the codebase to avoid any inconsistencies.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the variant type change across the codebase. # Test: Search for the old variant type. Expect: No occurrences of the old variant type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Layout>'Length of output: 6556
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Message-1bb1d226.json (7)
51-51
: Ohayo sensei!The struct
dojo::database::introspect::FieldLayout
has been renamed todojo::model::layout::FieldLayout
, but there are still references to the old struct name in the codebase. Please update the following locations to use the new struct name:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify the struct usage.
The struct
dojo::database::introspect::FieldLayout
has been renamed todojo::model::layout::FieldLayout
. Ensure that all references to this struct in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed struct. rg --type json -A 5 $'dojo::database::introspect::FieldLayout'Length of output: 11010
5-5
: Ohayo sensei!The interface
dojo::model::IModel
has not been consistently renamed todojo::model::model::IModel
across the codebase. Please update the following occurrences:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Make sure all references are updated accordingly.
Analysis chain
Ohayo sensei! Verify the interface usage.
The interface
dojo::model::IModel
has been renamed todojo::model::model::IModel
. Ensure that all references to this interface in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed interface. rg --type json -A 5 $'dojo::model::IModel'Length of output: 2528
209-209
: Ohayo sensei! Verify the enum usage.The enum
dojo::database::introspect::Ty
has been renamed todojo::model::introspect::Ty
. The following references need to be updated accordingly:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please ensure these are updated to maintain consistency.
Analysis chain
Ohayo sensei! Verify the enum usage.
The enum
dojo::database::introspect::Ty
has been renamed todojo::model::introspect::Ty
. Ensure that all references to this enum in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed enum. rg --type json -A 5 $'dojo::database::introspect::Ty'Length of output: 12923
239-239
: Ohayo sensei! Verify the interface functions usage.The interface
dojo::model::IModel
has been renamed todojo::model::model::IModel
. However, there are still references to the old interface name in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Verify the interface functions usage.
The interface
dojo::model::IModel
has been renamed todojo::model::model::IModel
. Ensure that all references to the functions of this interface in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed interface functions. rg --type json -A 5 $'dojo::model::IModel'Length of output: 2528
85-85
: Ohayo sensei!The enum
dojo::database::introspect::Layout
has not been consistently renamed todojo::model::layout::Layout
across the codebase. Please update the following references:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Make sure all instances of
dojo::database::introspect::Layout
are replaced withdojo::model::layout::Layout
.Analysis chain
Ohayo sensei! Verify the enum usage.
The enum
dojo::database::introspect::Layout
has been renamed todojo::model::layout::Layout
. Ensure that all references to this enum in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed enum. rg --type json -A 5 $'dojo::database::introspect::Layout'Length of output: 16723
59-59
: Ohayo sensei! Action required for struct renaming.The struct
dojo::database::introspect::Layout
has not been completely renamed todojo::model::layout::Layout
. The following files still contain references to the old struct name and need to be updated:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Verify the struct usage.
The struct
dojo::database::introspect::Layout
has been renamed todojo::model::layout::Layout
. Ensure that all references to this struct in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed struct. rg --type json -A 5 $'dojo::database::introspect::Layout'Length of output: 16723
125-125
: Ohayo sensei! Verify the struct usage.The struct
dojo::database::introspect::Member
has been renamed todojo::model::introspect::Member
. Ensure that all references to this struct in the following files are updated accordingly:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify the struct usage.
The struct
dojo::database::introspect::Member
has been renamed todojo::model::introspect::Member
. Ensure that all references to this struct in the codebase are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the renamed struct. rg --type json -A 5 $'dojo::database::introspect::Member'Length of output: 4643
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Position-1e145e26.json (12)
5-5
: Ohayo Sensei! Inconsistent Interface Naming DetectedIt appears that there are still references to the old interface name
dojo::model::IModel
in the codebase. To maintain consistency, please update all occurrences to the new interface namedojo::model::model::IModel
.
- File:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
- File:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please ensure that all references are updated accordingly.
Analysis chain
Ohayo Sensei! Ensure Consistency in Interface Naming
The interface name has been updated to
dojo::model::model::IModel
. This change is consistent with the new namespace structure. Ensure that all references to this interface are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name `dojo::model::model::IModel`. # Test: Search for references to the old and new interface names. Expect: Only references to the new interface name. rg --type json -A 5 $'dojo::model::IModel' rg --type json -A 5 $'dojo::model::model::IModel'Length of output: 57662
Ohayo Sensei! Namespace Update for Member Struct
The
Member
struct has been moved todojo::model::introspect::Member
, but there are still references to the old struct namedojo::database::introspect::Member
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to ensure consistency throughout the codebase.
Analysis chain
Line range hint
125-137
:
Ohayo Sensei! Namespace Update for Member StructThe
Member
struct has been moved todojo::model::introspect::Member
. This change enhances the organization of the code. Ensure that all references to this struct are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name `dojo::model::introspect::Member`. # Test: Search for references to the old and new struct names. Expect: Only references to the new struct name. rg --type json -A 5 $'dojo::database::introspect::Member' rg --type json -A 5 $'dojo::model::introspect::Member'Length of output: 104682
143-147
: Ohayo Sensei! Namespace Update for Span of MemberThe span type
core::array::Span::<dojo::database::introspect::Member>
is still present in the following files. Please update these references tocore::array::Span::<dojo::model::introspect::Member>
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please ensure all references are updated accordingly.
Analysis chain
Ohayo Sensei! Namespace Update for Span of Member
The span type for
Member
has been updated tocore::array::Span::<dojo::model::introspect::Member>
. Ensure that all references to this span type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated span type `core::array::Span::<dojo::model::introspect::Member>`. # Test: Search for references to the old and new span types. Expect: Only references to the new span type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Member>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Member>'Length of output: 59328
65-69
: Ohayo Sensei! Namespace Update for Span of FieldLayoutThe span type for
FieldLayout
has been updated tocore::array::Span::<dojo::model::layout::FieldLayout>
. However, references to the old span typecore::array::Span::<dojo::database::introspect::FieldLayout>
still exist in the codebase. Please update all occurrences of the old span type to the new one.
- Old span type references found in:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo Sensei! Namespace Update for Span of FieldLayout
The span type for
FieldLayout
has been updated tocore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure that all references to this span type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated span type `core::array::Span::<dojo::model::layout::FieldLayout>`. # Test: Search for references to the old and new span types. Expect: Only references to the new span type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::FieldLayout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::FieldLayout>'Length of output: 102856
199-203
: Ohayo Sensei! Namespace Update for Span of TyThe span type for
Ty
has not been fully updated tocore::array::Span::<dojo::model::introspect::Ty>
. There are still references to the old span typecore::array::Span::<dojo::database::introspect::Ty>
in the following files:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please ensure that all references to the old span type are updated to the new span type throughout the codebase.
Analysis chain
Ohayo Sensei! Namespace Update for Span of Ty
The span type for
Ty
has been updated tocore::array::Span::<dojo::model::introspect::Ty>
. Ensure that all references to this span type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated span type `core::array::Span::<dojo::model::introspect::Ty>`. # Test: Search for references to the old and new span types. Expect: Only references to the new span type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Ty>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Ty>'Length of output: 79844
Ohayo Sensei! Namespace Update for Enum Struct Incomplete
The
Enum
struct has been moved todojo::model::introspect::Enum
, but there are still references to the old struct namedojo::database::introspect::Enum
in the following files:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please ensure that all references to the old struct name are updated to the new struct name throughout the codebase.
Analysis chain
Line range hint
181-193
:
Ohayo Sensei! Namespace Update for Enum StructThe
Enum
struct has been moved todojo::model::introspect::Enum
. This change enhances the organization of the code. Ensure that all references to this struct are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name `dojo::model::introspect::Enum`. # Test: Search for references to the old and new struct names. Expect: Only references to the new struct name. rg --type json -A 5 $'dojo::database::introspect::Enum' rg --type json -A 5 $'dojo::model::introspect::Enum'Length of output: 60282
Ohayo Sensei! Incomplete Namespace Update for IModel Interface
The namespace for the
IModel
interface has been updated todojo::model::model::IModel
, but there are still references to the old namespacedojo::model::IModel
in the codebase. Please ensure that all references are updated to the new namespace for consistency.
Files with old namespace references:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Files with new namespace references:
- Multiple files in
examples/spawn-and-move/manifests/release/base/abis/models/
- Multiple files in
examples/spawn-and-move/manifests/dev/deployment/abis/models/
Please update all instances to use
dojo::model::model::IModel
.Analysis chain
Line range hint
239-357
:
Ohayo Sensei! Namespace Update for IModel InterfaceThe
IModel
interface has been moved todojo::model::model::IModel
. This change enhances the organization of the code. Ensure that all references to this interface are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name `dojo::model::model::IModel`. # Test: Search for references to the old and new interface names. Expect: Only references to the new interface name. rg --type json -A 5 $'dojo::model::IModel' rg --type json -A 5 $'dojo::model::model::IModel'Length of output: 57662
75-79
: Ohayo Sensei! Namespace Update for Span of LayoutThe span type for
Layout
has been updated tocore::array::Span::<dojo::model::layout::Layout>
. However, references to the old span typecore::array::Span::<dojo::database::introspect::Layout>
still exist in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please update these references to the new span type.
Analysis chain
Ohayo Sensei! Namespace Update for Span of Layout
The span type for
Layout
has been updated tocore::array::Span::<dojo::model::layout::Layout>
. Ensure that all references to this span type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated span type `core::array::Span::<dojo::model::layout::Layout>`. # Test: Search for references to the old and new span types. Expect: Only references to the new span type. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Layout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::Layout>'Length of output: 90934
85-109
: Ohayo Sensei! Incomplete Namespace Update for Layout EnumIt seems like the
Layout
enum has been correctly updated todojo::model::layout::Layout
in some parts of the codebase, but there are still references to the old enum namedojo::database::introspect::Layout
in several files. Please ensure that all references are fully updated.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo Sensei! Namespace Update for Layout Enum
The
Layout
enum has been moved todojo::model::layout::Layout
. This update improves the organization of the code. Ensure that all references to this enum are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum name `dojo::model::layout::Layout`. # Test: Search for references to the old and new enum names. Expect: Only references to the new enum name. rg --type json -A 5 $'dojo::database::introspect::Layout' rg --type json -A 5 $'dojo::model::layout::Layout'Length of output: 213827
Ohayo Sensei! Namespace Update for Struct Struct
The
Struct
struct has been moved todojo::model::introspect::Struct
, but there are still references to the old namespacedojo::database::introspect::Struct
in the following files. Please update these references to ensure consistency throughout the codebase:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
- Line 1
- Line 7
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
- Line 1
- Line 7
bin/sozo/tests/test_data/manifest.json
- Line 1
- Line 7
- Line 13
- Line 19
Please update these references to
dojo::model::introspect::Struct
.Analysis chain
Line range hint
153-165
:
Ohayo Sensei! Namespace Update for Struct StructThe
Struct
struct has been moved todojo::model::introspect::Struct
. This change enhances the organization of the code. Ensure that all references to this struct are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name `dojo::model::introspect::Struct`. # Test: Search for references to the old and new struct names. Expect: Only references to the new struct name. rg --type json -A 5 $'dojo::database::introspect::Struct' rg --type json -A 5 $'dojo::model::introspect::Struct'Length of output: 59576
51-59
: Ohayo Sensei! Namespace Update Incomplete for FieldLayout StructThe
FieldLayout
struct has been moved todojo::model::layout::FieldLayout
, but references to the old struct namedojo::database::introspect::FieldLayout
still exist in the codebase. Please update the following files to ensure consistency:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
Analysis chain
Ohayo Sensei! Namespace Update for FieldLayout Struct
The
FieldLayout
struct has been moved todojo::model::layout::FieldLayout
. This update enhances the organization of the code. Ensure that all references to this struct are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name `dojo::model::layout::FieldLayout`. # Test: Search for references to the old and new struct names. Expect: Only references to the new struct name. rg --type json -A 5 $'dojo::database::introspect::FieldLayout' rg --type json -A 5 $'dojo::model::layout::FieldLayout'Length of output: 154586
209-229
: Ohayo Sensei! Namespace Update for Ty EnumThe
Ty
enum has been moved todojo::model::introspect::Ty
. However, there are still references to the old namespacedojo::database::introspect::Ty
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please update these references to the new namespace
dojo::model::introspect::Ty
to ensure consistency across the codebase.Analysis chain
Ohayo Sensei! Namespace Update for Ty Enum
The
Ty
enum has been moved todojo::model::introspect::Ty
. This update improves the organization of the code. Ensure that all references to this enum are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum name `dojo::model::introspect::Ty`. # Test: Search for references to the old and new enum names. Expect: Only references to the new enum name. rg --type json -A 5 $'dojo::database::introspect::Ty' rg --type json -A 5 $'dojo::model::introspect::Ty'Length of output: 258846
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moved-318ae40d.json (14)
Ohayo sensei! The namespace change for
Enum
has not been fully propagated. The following files still reference the old namespacedojo::database::introspect::Enum
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please update these references to the new namespace
dojo::model::introspect::Enum
.Analysis chain
Line range hint
181-193
:
Ohayo sensei! Confirm the namespace change forEnum
.The struct
Enum
has been moved todojo::model::introspect
. Ensure that all references toEnum
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Enum` are updated to the new namespace. # Test: Search for the old and new `Enum` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Enum' rg --type json -A 5 $'dojo::model::introspect::Enum'Length of output: 60282
75-79
: Ohayo sensei! The verification revealed that not all references toSpan::<Layout>
have been updated to the new namespacedojo::model::layout::Layout
. The old namespacedojo::database::introspect::Layout
is still present in several files:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Span::<Layout>
.The struct
Span::<Layout>
has been updated to use the new namespacedojo::model::layout::Layout
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Span::<Layout>` are updated to the new namespace. # Test: Search for the old and new `Span::<Layout>` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Layout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::Layout>'Length of output: 90934
143-147
: Ohayo sensei! Some references toSpan::<Member>
still use the old namespacedojo::database::introspect::Member
. Please update them todojo::model::introspect::Member
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Ensure all instances are updated to maintain consistency.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Span::<Member>
.The struct
Span::<Member>
has been updated to use the new namespacedojo::model::introspect::Member
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Span::<Member>` are updated to the new namespace. # Test: Search for the old and new `Span::<Member>` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Member>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Member>'Length of output: 59328
Ohayo sensei! Confirm the namespace change for
Struct
.The namespace change for
Struct
fromdojo::database::introspect::Struct
todojo::model::introspect::Struct
is incomplete. The following files still contain references to the old namespace and need to be updated:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Line range hint
153-165
:
Ohayo sensei! Confirm the namespace change forStruct
.The struct
Struct
has been moved todojo::model::introspect
. Ensure that all references toStruct
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Struct` are updated to the new namespace. # Test: Search for the old and new `Struct` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Struct' rg --type json -A 5 $'dojo::model::introspect::Struct'Length of output: 59576
199-203
: Ohayo sensei! The namespace change forSpan::<Ty>
has not been fully implemented. There are still references to the old namespacedojo::database::introspect::Ty
in the following files:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please update these occurrences to the new namespace
dojo::model::introspect::Ty
.Analysis chain
Ohayo sensei! Confirm the namespace change for
Span::<Ty>
.The struct
Span::<Ty>
has been updated to use the new namespacedojo::model::introspect::Ty
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Span::<Ty>` are updated to the new namespace. # Test: Search for the old and new `Span::<Ty>` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Ty>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Ty>'Length of output: 79844
239-239
: Ohayo sensei! Interface name update required forIModel
.The interface name
dojo::model::IModel
has been changed todojo::model::model::IModel
. However, there are still references to the old interface name in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to the new interface name.
Analysis chain
Ohayo sensei! Confirm the interface name change for
IModel
.The interface name
dojo::model::IModel
has been changed todojo::model::model::IModel
. Ensure that all references to this interface are updated to the new name.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `IModel` are updated to the new name. # Test: Search for the old and new `IModel` references. Expect: Only occurrences of the new name. rg --type json -A 5 $'dojo::model::IModel' rg --type json -A 5 $'dojo::model::model::IModel'Length of output: 57662
Ohayo sensei! Confirm the namespace change for
Member
.The struct
Member
has been moved todojo::model::introspect
. However, there are still references to the old namespacedojo::database::introspect::Member
in the codebase. Please update all occurrences to the new namespace.
- Files with old namespace references:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Line range hint
125-137
:
Ohayo sensei! Confirm the namespace change forMember
.The struct
Member
has been moved todojo::model::introspect
. Ensure that all references toMember
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Member` are updated to the new namespace. # Test: Search for the old and new `Member` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Member' rg --type json -A 5 $'dojo::model::introspect::Member'Length of output: 104682
65-69
: Ohayo sensei! Namespace update required forSpan::<FieldLayout>
.The namespace for
Span::<FieldLayout>
has not been fully updated todojo::model::layout::FieldLayout
. The following files still contain references to the old namespacedojo::database::introspect::FieldLayout
:
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Span::<FieldLayout>
.The struct
Span::<FieldLayout>
has been updated to use the new namespacedojo::model::layout::FieldLayout
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Span::<FieldLayout>` are updated to the new namespace. # Test: Search for the old and new `Span::<FieldLayout>` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::FieldLayout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::FieldLayout>'Length of output: 102856
346-346
: Ohayo sensei! The namespace change forLayout
has not been fully updated. Please update the following references fromdojo::database::introspect::Layout
todojo::model::layout::Layout
:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
- Line: 5
- Line: 10
- Line: 15
- Line: 20
- Line: 25
- Line: 30
- Line: 35
- Line: 40
- Line: 45
- Line: 50
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
- Line: 5
- Line: 10
- Line: 15
- Line: 20
- Line: 25
- Line: 30
- Line: 35
- Line: 40
- Line: 45
- Line: 50
examples/game-lib/manifests/dev/base/abis/dojo-world.json
- Line: 5
- Line: 10
- Line: 15
- Line: 20
- Line: 25
- Line: 30
- Line: 35
- Line: 40
- Line: 45
- Line: 50
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
- Line: 5
- Line: 10
- Line: 15
- Line: 20
- Line: 25
- Line: 30
- Line: 35
- Line: 40
- Line: 45
- Line: 50
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Layout
in function output.The function output type has been updated to
dojo::model::layout::Layout
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function outputs referencing `Layout` are updated to the new namespace. # Test: Search for the old and new `Layout` references in function outputs. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Layout' rg --type json -A 5 $'dojo::model::layout::Layout'Length of output: 213827
5-5
: Ohayo sensei! Ensure consistency in interface naming.The interface name has been changed to
"dojo::model::model::IModel"
, but there are still occurrences of the old name"dojo::model::IModel"
in the codebase. Please update all instances of the old interface name to the new one to maintain consistency.
Old interface name found in:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
New interface name found in:
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moved-318ae40d.json
Please update these files accordingly.
Analysis chain
Ohayo sensei! Ensure consistency in interface naming.
The interface name has been changed to
"dojo::model::model::IModel"
. Verify that this new naming convention is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify consistency of the new interface name across the codebase. # Test: Search for the old and new interface names. Expect: Only occurrences of the new name. rg --type json -A 5 $'dojo::model::IModel' rg --type json -A 5 $'dojo::model::model::IModel'Length of output: 57662
357-357
: Ohayo sensei! Some references toTy
still use the old namespace.The following files still contain references to
dojo::database::introspect::Ty
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to
dojo::model::introspect::Ty
.Analysis chain
Ohayo sensei! Confirm the namespace change for
Ty
in function output.The function output type has been updated to
dojo::model::introspect::Ty
. Verify that all references are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function outputs referencing `Ty` are updated to the new namespace. # Test: Search for the old and new `Ty` references in function outputs. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Ty' rg --type json -A 5 $'dojo::model::introspect::Ty'Length of output: 258846
51-59
: Ohayo sensei! Some references toFieldLayout
still use the old namespace. Please update the following instances todojo::model::layout::FieldLayout
:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Ensure all references are updated to avoid inconsistencies.
Analysis chain
Ohayo sensei! Confirm the namespace change for
FieldLayout
.The struct
FieldLayout
has been moved todojo::model::layout
. Ensure that all references toFieldLayout
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `FieldLayout` are updated to the new namespace. # Test: Search for the old and new `FieldLayout` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::FieldLayout' rg --type json -A 5 $'dojo::model::layout::FieldLayout'Length of output: 154586
85-109
: Ohayo sensei! The namespace change forLayout
is not fully completed.The following files still contain references to the old namespace
dojo::database::introspect::Layout
and need to be updated todojo::model::layout::Layout
:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Layout
.The enum
Layout
has been moved todojo::model::layout
. Ensure that all references toLayout
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Layout` are updated to the new namespace. # Test: Search for the old and new `Layout` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Layout' rg --type json -A 5 $'dojo::model::layout::Layout'Length of output: 213827
209-229
: Ohayo sensei! Some references toTy
still use the old namespacedojo::database::introspect::Ty
. Please update all references to the new namespacedojo::model::introspect::Ty
.
- Files with old namespace references:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moved-318ae40d.json
Please ensure all instances are updated to maintain consistency.
Analysis chain
Ohayo sensei! Confirm the namespace change for
Ty
.The enum
Ty
has been moved todojo::model::introspect
. Ensure that all references toTy
are updated to the new namespace.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to `Ty` are updated to the new namespace. # Test: Search for the old and new `Ty` references. Expect: Only occurrences of the new namespace. rg --type json -A 5 $'dojo::database::introspect::Ty' rg --type json -A 5 $'dojo::model::introspect::Ty'Length of output: 258846
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json (12)
5-5
: Ohayo Sensei! The interface name refactor is incomplete.The interface name has been updated to
dojo::model::model::IModel
in some files, but instances of the old namedojo::model::IModel
still exist. Please ensure that all occurrences of the old interface name are updated to maintain consistency across the codebase.
Examples of files with old interface name:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Examples of files with new interface name:
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
Please complete the refactor to ensure consistency.
Analysis chain
Ohayo Sensei! Verify the consistency of the interface name change.
The interface name has been updated to
dojo::model::model::IModel
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the interface name change. # Test: Search for the old and new interface names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::model::IModel' rg --type json -A 5 $'dojo::model::model::IModel'Length of output: 57662
125-125
: Ohayo Sensei! Inconsistent struct name change detected.The struct name
dojo::database::introspect::Member
still exists in several files. Please update the following files to ensure consistency across the codebase:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
dojo::model::introspect::Member
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Member' rg --type json -A 5 $'dojo::model::introspect::Member'Length of output: 104682
153-153
: Ohayo Sensei! Incomplete Refactoring DetectedThe struct name change to
dojo::model::introspect::Struct
is not consistently applied across the codebase. The old struct namedojo::database::introspect::Struct
still exists in several files. Please update the following files to ensure consistency:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
dojo::model::introspect::Struct
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Struct' rg --type json -A 5 $'dojo::model::introspect::Struct'Length of output: 59576
75-75
: Ohayo Sensei! Incomplete struct name update detected.The struct name
core::array::Span::<dojo::database::introspect::Layout>
is still present in several files. Please update all instances tocore::array::Span::<dojo::model::layout::Layout>
for consistency.
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
core::array::Span::<dojo::model::layout::Layout>
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Layout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::Layout>'Length of output: 90934
199-199
: Ohayo Sensei! Incomplete refactoring detected.The struct name
core::array::Span::<dojo::database::introspect::Ty>
still exists in several files. Please update these occurrences tocore::array::Span::<dojo::model::introspect::Ty>
to ensure consistency across the codebase.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
core::array::Span::<dojo::model::introspect::Ty>
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Ty>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Ty>'Length of output: 79844
65-65
: Ohayo Sensei! Inconsistencies Detected in Struct Name ChangeThe struct name
core::array::Span::<dojo::model::layout::FieldLayout>
has not been consistently applied across the codebase. The following files still contain the old struct namecore::array::Span::<dojo::database::introspect::FieldLayout>
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these occurrences to ensure consistency.
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
core::array::Span::<dojo::model::layout::FieldLayout>
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::FieldLayout>' rg --type json -A 5 $'core::array::Span::<dojo::model::layout::FieldLayout>'Length of output: 102856
143-143
: Ohayo Sensei! Incomplete refactoring detected.The struct name
core::array::Span::<dojo::database::introspect::Member>
still exists in the codebase. Please ensure all instances are updated tocore::array::Span::<dojo::model::introspect::Member>
for consistency.
- File:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
- File:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
core::array::Span::<dojo::model::introspect::Member>
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'core::array::Span::<dojo::database::introspect::Member>' rg --type json -A 5 $'core::array::Span::<dojo::model::introspect::Member>'Length of output: 59328
181-181
: Ohayo Sensei! The struct name change is inconsistent.The struct name has been updated to
dojo::model::introspect::Enum
in some files, but the old namedojo::database::introspect::Enum
still appears in several others. Please update the following files to ensure consistency:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
dojo::model::introspect::Enum
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Enum' rg --type json -A 5 $'dojo::model::introspect::Enum'Length of output: 60282
209-209
: Ohayo Sensei! Consistency Issue Found with Enum Name ChangeThe enum name
dojo::database::introspect::Ty
still exists in several files, indicating that the refactoring todojo::model::introspect::Ty
is incomplete. Please ensure that all instances of the old enum name are replaced with the new one to maintain consistency across the codebase.
- examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
- bin/sozo/tests/test_data/manifest.json
Please review and update these occurrences.
Analysis chain
Ohayo Sensei! Verify the consistency of the enum name change.
The enum name has been updated to
dojo::model::introspect::Ty
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the enum name change. # Test: Search for the old and new enum names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Ty' rg --type json -A 5 $'dojo::model::introspect::Ty'Length of output: 258846
85-85
: Ohayo Sensei! Inconsistencies detected with the enum name change.The enum name
dojo::database::introspect::Layout
still exists in several files. Please ensure that all occurrences are updated todojo::model::layout::Layout
.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these instances to maintain consistency across the codebase.
Analysis chain
Ohayo Sensei! Verify the consistency of the enum name change.
The enum name has been updated to
dojo::model::layout::Layout
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the enum name change. # Test: Search for the old and new enum names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Layout' rg --type json -A 5 $'dojo::model::layout::Layout'Length of output: 213827
51-51
: Ohayo Sensei! Inconsistent struct name change detected.The struct name
dojo::database::introspect::FieldLayout
is still present in several files. Please ensure that all instances of the old struct name are updated todojo::model::layout::FieldLayout
.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/dev/deployment/abis/dojo-world.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json
Please update these files to maintain consistency.
Analysis chain
Ohayo Sensei! Verify the consistency of the struct name change.
The struct name has been updated to
dojo::model::layout::FieldLayout
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the struct name change. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::FieldLayout' rg --type json -A 5 $'dojo::model::layout::FieldLayout'Length of output: 154586
59-59
: Ohayo Sensei! Inconsistency Detected in Type ChangeThe type change from
dojo::database::introspect::Layout
todojo::model::layout::Layout
is not consistently applied across the codebase. The old type is still present in several files. Please update the following files to ensure uniformity:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/spawn-and-move/manifests/dev/deployment/abis/dojo-world.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/release/base/abis/dojo-world.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
crates/dojo-lang/src/manifest_test_data/compiler_cairo/manifests/dev/base/abis/dojo-world.json
Please ensure that all instances of the old type are replaced with the new type.
Analysis chain
Ohayo Sensei! Verify the consistency of the type change.
The type of the
layout
field has been updated todojo::model::layout::Layout
. Ensure this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the type change. # Test: Search for the old and new type names. Expect: No occurrences of the old name. rg --type json -A 5 $'dojo::database::introspect::Layout' rg --type json -A 5 $'dojo::model::layout::Layout'Length of output: 213827
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json (7)
5-5
: Ohayo, sensei! Inconsistency ininterface_name
change detected.The
interface_name
has been updated todojo::model::model::IModel
in some files, but there are still occurrences of the olddojo::model::IModel
in the following files:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please update these instances to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify the consistency of the interface name change.
The
interface_name
has been updated todojo::model::model::IModel
. Ensure that this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the interface name change to `dojo::model::model::IModel`. # Test: Search for the old and new interface names. Expect: Only occurrences of the new name. rg --type json 'dojo::model::IModel' rg --type json 'dojo::model::model::IModel'Length of output: 11550
239-239
: Ohayo, sensei! Verify the consistency of theIModel
interface change.The
IModel
interface has been moved todojo::model::model
. However, there are still occurrences of the old interface namedojo::model::IModel
in the codebase. Please update all references to the new interface namedojo::model::model::IModel
to ensure consistency.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
IModel
interface change.The
IModel
interface has been moved todojo::model::model
. Ensure that all references toIModel
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `IModel` interface change to `dojo::model::model::IModel`. # Test: Search for the old and new interface names. Expect: Only occurrences of the new name. rg --type json 'dojo::model::IModel' rg --type json 'dojo::model::model::IModel'Length of output: 11550
51-51
: Ohayo, sensei! Verify the consistency of theFieldLayout
struct change.The
FieldLayout
struct has been moved todojo::model::layout
. However, there are still references to the old struct locationdojo::database::introspect::FieldLayout
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify the consistency of the
FieldLayout
struct change.The
FieldLayout
struct has been moved todojo::model::layout
. Ensure that all references toFieldLayout
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `FieldLayout` struct change to `dojo::model::layout::FieldLayout`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::FieldLayout' rg --type json 'dojo::model::layout::FieldLayout'Length of output: 38076
153-153
: Ohayo, sensei!It appears that the
Struct
struct has not been consistently updated across the codebase. The following files still reference the old struct namedojo::database::introspect::Struct
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please update these references to
dojo::model::introspect::Struct
to maintain consistency.Analysis chain
Ohayo, sensei! Verify the consistency of the
Struct
struct change.The
Struct
struct has been moved todojo::model::introspect
. Ensure that all references toStruct
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Struct` struct change to `dojo::model::introspect::Struct`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Struct' rg --type json 'dojo::model::introspect::Struct'Length of output: 12164
137-137
: Ohayo, sensei!The
Ty
enum has been moved todojo::model::introspect
, but there are still references to the olddojo::database::introspect::Ty
in the codebase. Please update the following files to ensure consistency:
bin/sozo/tests/test_data/manifest.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
Ty
enum change.The
Ty
enum has been moved todojo::model::introspect
. Ensure that all references toTy
are updated accordingly.Also applies to: 209-229
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Ty` enum change to `dojo::model::introspect::Ty`. # Test: Search for the old and new enum names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Ty' rg --type json 'dojo::model::introspect::Ty'Length of output: 66076
125-125
: Ohayo, sensei! There are still references to the olddojo::database::introspect::Member
struct.Please update the following files to use the new
dojo::model::introspect::Member
struct:
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Make sure to replace all occurrences to maintain consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify the consistency of the
Member
struct change.The
Member
struct has been moved todojo::model::introspect
. Ensure that all references toMember
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Member` struct change to `dojo::model::introspect::Member`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Member' rg --type json 'dojo::model::introspect::Member'Length of output: 26174
59-59
: Ohayo, sensei! Verify the consistency of theLayout
enum change.The
Layout
enum has been moved todojo::model::layout
. However, there are still occurrences of the olddojo::database::introspect::Layout
in the codebase. Please update the following references:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Make sure all references are updated to
dojo::model::layout::Layout
.Analysis chain
Ohayo, sensei! Verify the consistency of the
Layout
enum change.The
Layout
enum has been moved todojo::model::layout
. Ensure that all references toLayout
are updated accordingly.Also applies to: 85-109
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Layout` enum change to `dojo::model::layout::Layout`. # Test: Search for the old and new enum names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Layout' rg --type json 'dojo::model::layout::Layout'Length of output: 51869
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json (7)
5-5
: Ohayo, sensei! Inconsistency detected in the interface name change.The
interface_name
has been updated todojo::model::model::IModel
in some files, but the old interface namedojo::model::IModel
still exists in others. Please ensure that the new interface name is consistently applied across the codebase.
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo, sensei! Verify the consistency of the interface name change.
The
interface_name
has been updated todojo::model::model::IModel
. Ensure that this change is consistently applied across the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the interface name change to `dojo::model::model::IModel`. # Test: Search for the old and new interface names. Expect: Only occurrences of the new name. rg --type json 'dojo::model::IModel' rg --type json 'dojo::model::model::IModel'Length of output: 11550
59-59
: Ohayo, sensei! The migration of theLayout
enum is incomplete.The
Layout
enum has been moved todojo::model::layout
. However, references to the old enum namedojo::database::introspect::Layout
still exist. Please update these references to maintain consistency.Files to update:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
Layout
enum change.The
Layout
enum has been moved todojo::model::layout
. Ensure that all references toLayout
are updated accordingly.Also applies to: 85-109
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Layout` enum change to `dojo::model::layout::Layout`. # Test: Search for the old and new enum names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Layout' rg --type json 'dojo::model::layout::Layout'Length of output: 51869
51-51
: Ohayo, sensei! InconsistentFieldLayout
struct references detected.The
FieldLayout
struct has been moved todojo::model::layout
, but there are still multiple references to the old struct namedojo::database::introspect::FieldLayout
that need to be updated. Please ensure all references are updated accordingly.
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
FieldLayout
struct change.The
FieldLayout
struct has been moved todojo::model::layout
. Ensure that all references toFieldLayout
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `FieldLayout` struct change to `dojo::model::layout::FieldLayout`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::FieldLayout' rg --type json 'dojo::model::layout::FieldLayout'Length of output: 38076
125-125
: Ohayo, sensei! There are still some references to the oldMember
struct name.The
Member
struct has been moved todojo::model::introspect
, but there are still occurrences of the old namedojo::database::introspect::Member
in the following files. Please update these references to ensure consistency across the codebase:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
Member
struct change.The
Member
struct has been moved todojo::model::introspect
. Ensure that all references toMember
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Member` struct change to `dojo::model::introspect::Member`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Member' rg --type json 'dojo::model::introspect::Member'Length of output: 26174
137-137
: Ohayo, sensei! TheTy
enum update is incomplete.There are still references to
dojo::database::introspect::Ty
that need to be updated todojo::model::introspect::Ty
. Please update the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
Ty
enum change.The
Ty
enum has been moved todojo::model::introspect
. Ensure that all references toTy
are updated accordingly.Also applies to: 209-229
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Ty` enum change to `dojo::model::introspect::Ty`. # Test: Search for the old and new enum names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Ty' rg --type json 'dojo::model::introspect::Ty'Length of output: 66076
153-153
: Ohayo, sensei! Verify the consistency of theStruct
struct change.The
Struct
struct has been moved todojo::model::introspect
. However, there are still references to the olddojo::database::introspect::Struct
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify the consistency of the
Struct
struct change.The
Struct
struct has been moved todojo::model::introspect
. Ensure that all references toStruct
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `Struct` struct change to `dojo::model::introspect::Struct`. # Test: Search for the old and new struct names. Expect: Only occurrences of the new name. rg --type json 'dojo::database::introspect::Struct' rg --type json 'dojo::model::introspect::Struct'Length of output: 12164
239-239
: Ohayo, sensei! Verify the consistency of theIModel
interface change.The
IModel
interface has been moved todojo::model::model
. However, references to the old interface namedojo::model::IModel
still exist in the codebase. Please update all references to the new interface namedojo::model::model::IModel
to ensure consistency.
Old references found in:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
New references found in:
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moved-318ae40d.json
Analysis chain
Ohayo, sensei! Verify the consistency of the
IModel
interface change.The
IModel
interface has been moved todojo::model::model
. Ensure that all references toIModel
are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the consistency of the `IModel` interface change to `dojo::model::model::IModel`. # Test: Search for the old and new interface names. Expect: Only occurrences of the new name. rg --type json 'dojo::model::IModel' rg --type json 'dojo::model::model::IModel'Length of output: 11550
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-PlayerConfig-3adad785.json (1)
75-79
: Ohayo sensei! It looks like the struct name update is incomplete.Update all instances of the old struct name.
The new struct name
core::array::Span::<dojo::model::layout::Layout>
is correctly used in many places. However, the old struct namecore::array::Span::<dojo::database::introspect::Layout>
is still present in the following files and needs to be updated:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please ensure all references to the old struct name are updated to maintain consistency.
Analysis chain
Ohayo sensei! Verify the new struct name usage.
The struct name has been changed to
core::array::Span::<dojo::model::layout::Layout>
. Ensure that all references to this struct are updated accordingly.
Ohayo sensei! Let's dive deeper to ensure the struct name change is consistent throughout the codebase.
Verify the new struct name usage and ensure the old name is not present.
We will search for both the old and new struct names across all file types to confirm the change has been applied consistently.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the new struct name `core::array::Span::<dojo::model::layout::Layout>`. # Test: Search for the struct usage. Expect: Only occurrences of the new name. rg --type json -A 5 $'"name": "core::array::Span::<dojo::model::layout::Layout"'Length of output: 81
Script:
#!/bin/bash # Description: Verify all references to the new struct name `core::array::Span::<dojo::model::layout::Layout>` and ensure the old name `core::array::Span::<dojo::database::introspect::Layout>` is not present. # Test: Search for the new struct name usage. rg 'core::array::Span::<dojo::model::layout::Layout>' # Test: Ensure the old struct name is not present. rg 'core::array::Span::<dojo::database::introspect::Layout>'Length of output: 23419
examples/spawn-and-move/manifests/release/base/abis/dojo-world.json (9)
27-27
: Ohayo, sensei! The old struct name "dojo::resource_metadata::ResourceMetadata" is still present in multiple files. Please update all occurrences to the new struct name "dojo::model::metadata::ResourceMetadata".
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo, sensei! Verify all references to the updated struct name.
The struct name has been updated to
dojo::model::metadata::ResourceMetadata
. Ensure that all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json 'dojo::resource_metadata::ResourceMetadata' rg --type json 'dojo::model::metadata::ResourceMetadata'Length of output: 2841
605-605
: Ohayo, sensei! Ensure all references to the updated interface name are consistent.The old interface name
dojo::interfaces::IUpgradeableState
is still present in multiple files. Please update these references to the new interface namedojo::world::update::IUpgradeableState
.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo, sensei! Verify all references to the updated interface name.
The interface name has been updated to
dojo::world::update::IUpgradeableState
. Ensure that all references to this interface are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name. # Test: Search for the old and new interface names. Expect: No occurrences of the old name. rg --type json 'dojo::interfaces::IUpgradeableState' rg --type json 'dojo::world::update::IUpgradeableState'Length of output: 1889
698-698
: Ohayo, sensei!The interface name has been updated to
dojo::world::config::IConfig
. However, there are still references to the old interface namedojo::config::interface::IConfig
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify all references to the updated interface name.
The interface name has been updated to
dojo::world::config::IConfig
. Ensure that all references to this interface are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name. # Test: Search for the old and new interface names. Expect: No occurrences of the old name. rg --type json 'dojo::config::interface::IConfig' rg --type json 'dojo::world::config::IConfig'Length of output: 1764
87-87
: Ohayo, sensei! The old struct namedojo::database::introspect::Layout
is still present in several files and needs to be updated todojo::model::layout::Layout
.Please update the following locations:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo, sensei! Verify all references to the updated struct name.
The struct name has been updated to
dojo::model::layout::Layout
. Ensure that all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json 'dojo::database::introspect::Layout' rg --type json 'dojo::model::layout::Layout'Length of output: 51869
633-633
: Ohayo, sensei!It looks like the struct name update to
dojo::world::update::ProgramOutput
is not fully propagated. The old struct namedojo::interfaces::ProgramOutput
is still present in a few files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify all references to the updated struct name.
The struct name has been updated to
dojo::world::update::ProgramOutput
. Ensure that all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json 'dojo::interfaces::ProgramOutput' rg --type json 'dojo::world::update::ProgramOutput'Length of output: 1811
582-582
: Ohayo, sensei!The interface name has been updated to
dojo::world::world_contract::IUpgradeableWorld
. However, there are still references to the old interface namedojo::world::IUpgradeableWorld
in the following files:
crates/katana/storage/db/benches/artifacts/dojo_world_240.json
bin/sozo/tests/test_data/manifest.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo, sensei! Verify all references to the updated interface name.
The interface name has been updated to
dojo::world::world_contract::IUpgradeableWorld
. Ensure that all references to this interface are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name. # Test: Search for the old and new interface names. Expect: No occurrences of the old name. rg --type json 'dojo::world::IUpgradeableWorld' rg --type json 'dojo::world::world_contract::IUpgradeableWorld'Length of output: 2364
5-5
: Ohayo, sensei!The interface name
dojo::world::IWorld
still appears in several files, indicating that not all references have been updated to the new interface namedojo::world::world_contract::IWorld
. Please update the following files to use the new interface name:
examples/game-lib/manifests/dev/base/abis/dojo-base.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
crates/dojo-world/src/metadata_test_data/abi.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-base.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
bin/sozo/tests/test_data/manifest.json
crates/katana/storage/db/benches/artifacts/dojo_world_240.json
After making these updates, re-run the verification script to ensure all references are correctly updated.
Analysis chain
Ohayo, sensei! Verify all references to the updated interface name.
The interface name has been updated to
dojo::world::world_contract::IWorld
. Ensure that all references to this interface are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name. # Test: Search for the old and new interface names. Expect: No occurrences of the old name. rg --type json 'dojo::world::IWorld' rg --type json 'dojo::world::world_contract::IWorld'Length of output: 16181
609-609
: Ohayo, sensei! The struct name update is incomplete.The struct name
dojo::interfaces::StorageUpdate
is still present in the following files and needs to be updated todojo::world::update::StorageUpdate
:
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
Please ensure these references are updated accordingly.
Analysis chain
Ohayo, sensei! Verify all references to the updated struct name.
The struct name has been updated to
dojo::world::update::StorageUpdate
. Ensure that all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json 'dojo::interfaces::StorageUpdate' rg --type json 'dojo::world::update::StorageUpdate'Length of output: 3949
79-79
: Ohayo, sensei!The struct name has been updated to
dojo::model::layout::FieldLayout
, but there are still multiple occurrences of the old struct namedojo::database::introspect::FieldLayout
across various JSON files. Please ensure all references are updated to the new struct name.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
And possibly more files as indicated by the search results.
Analysis chain
Ohayo, sensei! Verify all references to the updated struct name.
The struct name has been updated to
dojo::model::layout::FieldLayout
. Ensure that all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old and new struct names. Expect: No occurrences of the old name. rg --type json 'dojo::database::introspect::FieldLayout' rg --type json 'dojo::model::layout::FieldLayout'Length of output: 38076
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json (11)
51-51
: Ohayo sensei! Verify all references to the updated struct.The
FieldLayout
struct has been renamed todojo::model::layout::FieldLayout
. However, there are still occurrences of the old struct namedojo::database::introspect::FieldLayout
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Verify all references to the updated struct.
The
FieldLayout
struct has been renamed todojo::model::layout::FieldLayout
. Ensure all references to this struct are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct. # Test: Search for the old and new struct names. Expect: Only occurrences of the new struct name. rg --type json -e '"dojo::database::introspect::FieldLayout"' -e '"dojo::model::layout::FieldLayout"'Length of output: 6766
5-5
: Ohayo sensei!It appears that not all references to the interface name have been updated. The old interface name
"dojo::model::IModel"
is still present in several files. Please ensure all references are updated to"dojo::model::model::IModel"
.
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated interface.
The
interface_name
forDojoModelImpl
has been updated to"dojo::model::model::IModel"
. Ensure all references to this interface are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface. # Test: Search for the old and new interface names. Expect: Only occurrences of the new interface name. rg --type json -e '"dojo::model::IModel"' -e '"dojo::model::model::IModel"'Length of output: 11547
69-69
: Ohayo sensei! Some references to the old member type still exist.The following files contain references to the old member type
@core::array::Array::<dojo::database::introspect::FieldLayout>
. Please update them to@core::array::Array::<dojo::model::layout::FieldLayout>
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
snapshot
member type in theSpan
struct forFieldLayout
has been updated to@core::array::Array::<dojo::model::layout::FieldLayout>
. Ensure all references to this member type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old and new member types. Expect: Only occurrences of the new member type. rg --type json -e '"@core::array::Array::<dojo::database::introspect::FieldLayout>"' -e '"@core::array::Array::<dojo::model::layout::FieldLayout>"'Length of output: 8086
85-85
: Ohayo sensei! Verify all references to the updated enum.The
Layout
enum has been renamed todojo::model::layout::Layout
. However, there are still references to the old enum namedojo::database::introspect::Layout
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to the new enum name
dojo::model::layout::Layout
.Analysis chain
Ohayo sensei! Verify all references to the updated enum.
The
Layout
enum has been renamed todojo::model::layout::Layout
. Ensure all references to this enum are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum. # Test: Search for the old and new enum names. Expect: Only occurrences of the new enum name. rg --type json -e '"dojo::database::introspect::Layout"' -e '"dojo::model::layout::Layout"'Length of output: 21539
93-93
: Ohayo sensei! Inconsistencies detected in type references.The
core::array::Span::<dojo::database::introspect::FieldLayout>
type is still present in several files. These references should be updated tocore::array::Span::<dojo::model::layout::FieldLayout>
to maintain consistency.Files with old type references:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references accordingly.
Analysis chain
Ohayo sensei! Verify all references to the updated type.
The
Struct
variant in theLayout
enum now referencescore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure all references to this type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated type. # Test: Search for the old and new type references. Expect: Only occurrences of the new type. rg --type json -e '"core::array::Span::<dojo::database::introspect::FieldLayout>"' -e '"core::array::Span::<dojo::model::layout::FieldLayout>"'Length of output: 23515
109-109
: Ohayo sensei! Issues found with type update.The
Enum
variant in theLayout
enum referencescore::array::Span::<dojo::model::layout::FieldLayout>
, but not all references have been updated accordingly. The old typecore::array::Span::<dojo::database::introspect::FieldLayout>
still exists in multiple files.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Please update these references to ensure consistency.
Analysis chain
Ohayo sensei! Verify all references to the updated type.
The
Enum
variant in theLayout
enum now referencescore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure all references to this type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated type. # Test: Search for the old and new type references. Expect: Only occurrences of the new type. rg --type json -e '"core::array::Span::<dojo::database::introspect::FieldLayout>"' -e '"core::array::Span::<dojo::model::layout::FieldLayout>"'Length of output: 23515
59-59
: Ohayo sensei!There are still occurrences of the old member type
dojo::database::introspect::Layout
in the codebase. Please update all references to the new typedojo::model::layout::Layout
to ensure consistency.
- Files with old type references:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Please make sure to update these references accordingly.
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
layout
member type in theFieldLayout
struct has been updated todojo::model::layout::Layout
. Ensure all references to this member type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old and new member types. Expect: Only occurrences of the new member type. rg --type json -e '"dojo::database::introspect::Layout"' -e '"dojo::model::layout::Layout"'Length of output: 21539
346-346
: Ohayo sensei! Update references to the old output type.The
layout
function output type has been updated todojo::model::layout::Layout
. However, there are still references to the old output typedojo::database::introspect::Layout
in the following files. Please update these references to ensure consistency:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo sensei! Verify all references to the updated output type.
The
layout
function output type has been updated todojo::model::layout::Layout
. Ensure all references to this output type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated output type. # Test: Search for the old and new output types. Expect: Only occurrences of the new output type. rg --type json -e '"dojo::database::introspect::Layout"' -e '"dojo::model::layout::Layout"'Length of output: 21539
79-79
: Ohayo sensei! Update all instances of the old member type.The following files still reference the old member type
@core::array::Array::<dojo::database::introspect::Layout>
. Please update them to@core::array::Array::<dojo::model::layout::Layout>
.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
snapshot
member type in theSpan
struct forLayout
has been updated to@core::array::Array::<dojo::model::layout::Layout>
. Ensure all references to this member type are updated accordingly.
Ohayo sensei! Verify all instances of the old member type.
The search results show that some references still use the old member type
@core::array::Array::<dojo::database::introspect::Layout>
. Ensure all instances are updated to the new member type@core::array::Array::<dojo::model::layout::Layout>
.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old and new member types. Expect: Only occurrences of the new member type. rg --type json -e '"@core::array::Array::<dojo::database::introspect::Layout>"' -e '"@core::array::Array::<dojo::model::layout::Layout>"'Length of output: 7831
Script:
#!/bin/bash # Description: Locate all instances of the old member type. # Test: Search for the old member type. rg --type json -e '"@core::array::Array::<dojo::database::introspect::Layout>"' -A 3Length of output: 1615
75-75
: Ohayo sensei! Verify all references to the updated struct.The
Span
struct forLayout
has been renamed tocore::array::Span::<dojo::model::layout::Layout>
. However, there are still occurrences of the old struct name (core::array::Span::<dojo::database::introspect::Layout>
) in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to the new struct name to ensure consistency across the codebase.
Analysis chain
Ohayo sensei! Verify all references to the updated struct.
The
Span
struct forLayout
has been renamed tocore::array::Span::<dojo::model::layout::Layout>
. Ensure all references to this struct are updated accordingly.
Ohayo sensei! Verify all references to the updated struct.
The
Span
struct forLayout
has been renamed tocore::array::Span::<dojo::model::layout::Layout>
. The initial search results show that the new struct name is used across various files, and there are no occurrences of the old struct name. To ensure completeness, let's confirm that there are no remaining references to the old struct name in the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct. # Test: Search for the old and new struct names. Expect: Only occurrences of the new struct name. rg --type json -e '"core::array::Span::<dojo::database::introspect::Layout>"' -e '"core::array::Span::<dojo::model::layout::Layout>"'Length of output: 22770
Script:
#!/bin/bash # Description: Verify that there are no remaining references to the old struct name. # Test: Search for any remaining occurrences of the old struct name. rg --type json -e '"core::array::Span::<dojo::database::introspect::Layout>"'Length of output: 1810
97-97
: Ohayo sensei!There are still references to the old type
core::array::Span::<dojo::database::introspect::Layout>
in the codebase. Please ensure that all instances are updated to the new typecore::array::Span::<dojo::model::layout::Layout>
.
- Files with old type references:
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo sensei! Verify all references to the updated type.
The
Tuple
variant in theLayout
enum now referencescore::array::Span::<dojo::model::layout::Layout>
. Ensure all references to this type are updated accordingly.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated type. # Test: Search for the old and new type references. Expect: Only occurrences of the new type. rg --type json -e '"core::array::Span::<dojo::database::introspect::Layout>"' -e '"core::array::Span::<dojo::model::layout::Layout>"'Length of output: 22770
Enum: Span<FieldLayout>, | ||
} | ||
|
||
// TODO RBA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder: Clarify the TODO comment.
The TODO comment is unclear and needs to be addressed.
Do you want me to clarify or address this TODO comment?
6d9ee7e
to
cce09e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (17)
crates/dojo-core/src/lib.cairo (1)
66-81
: Ohayo, sensei!The expected test submodules (
model
,storage
,base
,benchmarks
,world
,utils
) were not found in thetests
directory. Onlymod worldupgrade
was detected. Please verify the implementation and consistency of these test submodules.
- File:
crates/dojo-core/src/lib.cairo
- Lines: 66-81
Analysis chain
Ohayo, sensei! Verify test submodule consistency.
The
tests
module has been restructured to include submodules for testingmodel
,storage
,base
,benchmarks
,world
, andutils
. Ensure the submodules are correctly implemented and consistent with the module's purpose.
Ohayo, sensei! Re-verifying test submodule consistency.
The previous command failed due to an unrecognized file type. Let's search for the test submodule definitions without specifying the file type.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the implementation of test submodules in the `tests` module. # Test: Search for the test submodule definitions. Expect: Correct implementation of test submodules. rg --type cairo 'mod model|mod storage|mod base|mod benchmarks|mod world|mod utils' crates/dojo-core/src/testsLength of output: 142
Script:
#!/bin/bash # Description: Verify the implementation of test submodules in the `tests` module. # Test: Search for the test submodule definitions. Expect: Correct implementation of test submodules. rg 'mod model|mod storage|mod base|mod benchmarks|mod world|mod utils' crates/dojo-core/src/testsLength of output: 157
examples/spawn-and-move/manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json (1)
143-143
: Ohayo sensei! Update remaining references to the new struct name.The struct name
dojo::model::introspect::Member
is still present in several files. Please update these references tocore::array::Span::<dojo::model::introspect::Member>
to ensure consistency.
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/deployment/manifest.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ServerProfile-4caad1e6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_weapons-Flatbow-22f5bd16.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moved-318ae40d.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-MockToken-38903c7c.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Message-1bb1d226.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-ContractInitialized-376b7bd6.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-PlayerConfig-3adad785.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples_foes-RiverSkale-39535c12.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Position-1e145e26.json
examples/spawn-and-move/manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json
Analysis chain
Ohayo sensei! Verify the usage of the new struct name.
The struct name has been changed to
core::array::Span::<dojo::model::introspect::Member>
. Ensure that all references to this struct are updated throughout the codebase.
Ohayo sensei! Verify that no old struct names are left.
Let's ensure that all references to the old struct name have been updated by searching for any remaining instances of the old struct name.
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the new struct name. # Test: Search for the struct usage. Expect: Only occurances of the new struct name. rg --type json -A 5 $'"core::array::Span::<dojo::model::introspect::Member>"'Length of output: 56643
Script:
#!/bin/bash # Description: Verify that no old struct names are left. # Test: Search for the old struct usage. Expect: No occurrences of the old struct name. rg --type json -A 5 $'"dojo::model::introspect::Member"'Length of output: 27458
examples/spawn-and-move/manifests/release/base/abis/models/dojo_examples-MockToken-38903c7c.json (15)
5-5
: Ohayo sensei!The old interface name
"dojo::model::IModel"
is still present in the following files. Please update these references to"dojo::model::model::IModel"
to ensure consistency across the codebase:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated interface name.
The
interface_name
has been updated todojo::model::model::IModel
. Ensure that all references to the old interface name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated interface name. # Test: Search for the old interface name. Expect: No occurrences. rg --type json -A 5 $'"dojo::model::IModel"'Length of output: 2532
85-85
: Ohayo sensei! There are still references to the old enum namedojo::database::introspect::Layout
in multiple files. Please update these references todojo::model::layout::Layout
.Files to update:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated enum name.
The
enum
name has been updated todojo::model::layout::Layout
. Ensure that all references to the old enum name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum name. # Test: Search for the old enum name. Expect: No occurrences. rg --type json -A 5 $'"dojo::database::introspect::Layout"'Length of output: 8979
51-51
: Ohayo sensei! Update all references to the old struct name.The old struct name
dojo::database::introspect::FieldLayout
is still present in multiple files. Please update these references todojo::model::layout::FieldLayout
.
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo sensei! Verify all references to the updated struct name.
The
struct
name has been updated todojo::model::layout::FieldLayout
. Ensure that all references to the old struct name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old struct name. Expect: No occurrences. rg --type json -A 5 $'"dojo::database::introspect::FieldLayout"'Length of output: 2380
75-75
: Ohayo sensei! Update all references to the old struct name.The old struct name
core::array::Span::<dojo::database::introspect::Layout>
is still present in several files. Please update these references tocore::array::Span::<dojo::model::layout::Layout>
:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated struct name.
The
struct
name has been updated tocore::array::Span::<dojo::model::layout::Layout>
. Ensure that all references to the old struct name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old struct name. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::Layout>"'Length of output: 6558
79-79
: Ohayo sensei!There are still references to the old member type
@core::array::Array::<dojo::database::introspect::Layout>
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to
@core::array::Array::<dojo::model::layout::Layout>
to ensure consistency across the codebase.Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
struct
membersnapshot
type has been updated to@core::array::Array::<dojo::model::layout::Layout>
. Ensure that all references to the old member type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old member type. Expect: No occurrences. rg --type json -A 5 $'"@core::array::Array::<dojo::database::introspect::Layout>"'Length of output: 2278
143-143
: Ohayo sensei! The old struct namecore::array::Span::<dojo::database::introspect::Member>
still exists in the codebase. Please update these references tocore::array::Span::<dojo::model::introspect::Member>
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated struct name.
The
struct
name has been updated tocore::array::Span::<dojo::model::introspect::Member>
. Ensure that all references to the old struct name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old struct name. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::Member>"'Length of output: 2688
97-97
: Ohayo sensei! Update all references to the old enum variant type.The old variant type
core::array::Span::<dojo::database::introspect::Layout>
has been found in multiple files. Please update it tocore::array::Span::<dojo::model::layout::Layout>
in the following files:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
After making these updates, verify the changes for consistency.
Analysis chain
Ohayo sensei! Verify all references to the updated enum variant type.
The
enum
variantTuple
type has been updated tocore::array::Span::<dojo::model::layout::Layout>
. Ensure that all references to the old variant type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum variant type. # Test: Search for the old variant type. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::Layout>"'Length of output: 6558
69-69
: Ohayo sensei! The old member type@core::array::Array::<dojo::database::introspect::FieldLayout>
still exists in several JSON files. Please ensure these references are updated to@core::array::Array::<dojo::model::layout::FieldLayout>
.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
struct
membersnapshot
type has been updated to@core::array::Array::<dojo::model::layout::FieldLayout>
. Ensure that all references to the old member type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old member type. Expect: No occurrences. rg --type json -A 5 $'"@core::array::Array::<dojo::database::introspect::FieldLayout>"'Length of output: 2311
65-65
: Ohayo sensei! The old struct namecore::array::Span::<dojo::database::introspect::FieldLayout>
still exists in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Please update these references to
core::array::Span::<dojo::model::layout::FieldLayout>
to ensure consistency across the codebase.Analysis chain
Ohayo sensei! Verify all references to the updated struct name.
The
struct
name has been updated tocore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure that all references to the old struct name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old struct name. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::FieldLayout>"'Length of output: 7429
101-101
: Ohayo sensei!The old variant type
core::array::Span::<dojo::database::introspect::Layout>
is still present in several JSON files. Please update all references to the new variant typecore::array::Span::<dojo::model::layout::Layout>
throughout the codebase.
- Files with old variant type:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated enum variant type.
The
enum
variantArray
type has been updated tocore::array::Span::<dojo::model::layout::Layout>
. Ensure that all references to the old variant type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum variant type. # Test: Search for the old variant type. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::Layout>"'Length of output: 6558
93-93
: Ohayo sensei! The old enum variant typecore::array::Span::<dojo::database::introspect::FieldLayout>
still exists in several files and needs to be updated.Please replace all occurrences of
core::array::Span::<dojo::database::introspect::FieldLayout>
withcore::array::Span::<dojo::model::layout::FieldLayout>
in the following files:
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
Analysis chain
Ohayo sensei! Verify all references to the updated enum variant type.
The
enum
variantStruct
type has been updated tocore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure that all references to the old variant type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum variant type. # Test: Search for the old variant type. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::FieldLayout>"'Length of output: 7429
109-109
: Ohayo sensei! Update all references to the old enum variant type.The old variant type
core::array::Span::<dojo::database::introspect::FieldLayout>
is still present in multiple files. Please ensure that all references are updated tocore::array::Span::<dojo::model::layout::FieldLayout>
.
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated enum variant type.
The
enum
variantEnum
type has been updated tocore::array::Span::<dojo::model::layout::FieldLayout>
. Ensure that all references to the old variant type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated enum variant type. # Test: Search for the old variant type. Expect: No occurrences. rg --type json -A 5 $'"core::array::Span::<dojo::database::introspect::FieldLayout>"'Length of output: 7429
137-137
: Ohayo sensei!The
struct
memberty
type has been updated todojo::model::introspect::Ty
, but there are still references to the old typedojo::database::introspect::Ty
in the codebase. Please update the following files to ensure consistency:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
bin/sozo/tests/test_data/manifest.json
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
struct
memberty
type has been updated todojo::model::introspect::Ty
. Ensure that all references to the old member type are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old member type. Expect: No occurrences. rg --type json -A 5 $'"dojo::database::introspect::Ty"'Length of output: 5293
125-125
: Ohayo sensei!There are still references to the old struct name
dojo::database::introspect::Member
in the following files. Please update them todojo::model::introspect::Member
:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
Analysis chain
Ohayo sensei! Verify all references to the updated struct name.
The
struct
name has been updated todojo::model::introspect::Member
. Ensure that all references to the old struct name are updated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated struct name. # Test: Search for the old struct name. Expect: No occurrences. rg --type json -A 5 $'"dojo::database::introspect::Member"'Length of output: 1315
59-59
: Ohayo sensei!The update to the
struct
memberlayout
type has been partially propagated. The new typedojo::model::layout::Layout
is present in multiple files, but the old typedojo::database::introspect::Layout
still exists in several files. Please ensure that all references to the old type are updated to the new type.
- Files with old type references:
examples/game-lib/manifests/dev/base/abis/models/armory-Flatbow-f269a4c3.json
examples/game-lib/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/dojo-world.json
examples/game-lib/armory/manifests/dev/base/abis/models/armory-ModelA-19290fb7.json
- ...
Please review and update these files accordingly.
Analysis chain
Ohayo sensei! Verify all references to the updated member type.
The
struct
memberlayout
type has been updated todojo::model::layout::Layout
. Ensure that all references to the old member type are updated throughout the codebase.
Ohayo sensei!
The old member type
dojo::database::introspect::Layout
is still present in multiple JSON files. We need to verify if the new typedojo::model::layout::Layout
has been properly propagated throughout the codebase.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the updated member type. # Test: Search for the old member type. Expect: No occurrences. rg --type json -A 5 $'"dojo::database::introspect::Layout"'Length of output: 8979
Script:
#!/bin/bash # Description: Verify all references to the new member type. # Test: Search for the new member type. Expect: Occurrences in relevant files. rg --type json -A 5 $'"dojo::model::layout::Layout"'Length of output: 95367
cce09e4
to
75a8d15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
.github/workflows/ci.yml (1)
108-108
: Ohayo, sensei! We've encountered some issues with the newscarb
version.The recent workflow runs using
scarb 2.7.0-rc.3
have not completed successfully, indicating potential compatibility issues. Here are the details:
- Run ID: 10055495710
scarb
version:2.7.0-rc.3
- Status:
failure
Please investigate the cause of these failures and ensure compatibility before proceeding with the version update.
Analysis chain
Ohayo, sensei! The version update looks good.
The
scarb
version has been updated from2.6.3
to2.7.0-rc.3
. Ensure that the new version is compatible and does not introduce any issues in the workflow.However, let's verify the compatibility of the new version in the workflow.
Ohayo, sensei! The previous attempt to verify the
scarb
version update didn't yield any results. Let's dig deeper by checking the logs of recent workflow runs to ensure compatibility.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the compatibility of the new `scarb` version in the workflow. # Test: Check the `scarb` version in the workflow logs. Expect: Successful runs with the new version. gh run list --workflow=ci --limit=5 | grep "scarb 2.7.0-rc.3"Length of output: 63
Script:
#!/bin/bash # Description: Verify the compatibility of the new `scarb` version in the workflow by checking recent workflow logs. # Fetch the IDs of the last 5 workflow runs run_ids=$(gh run list --workflow=ci --limit=5 --json databaseId --jq '.[].databaseId') # Loop through each run ID and check the logs for the `scarb` version and the success status for run_id in $run_ids; do echo "Checking run ID: $run_id" gh run view $run_id --log | grep -E "scarb (2.7.0-rc.3|2.6.3)" gh run view $run_id --json conclusion --jq '.conclusion' doneLength of output: 1795
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2187 +/- ##
==========================================
+ Coverage 68.17% 69.06% +0.89%
==========================================
Files 336 339 +3
Lines 44053 44051 -2
==========================================
+ Hits 30032 30425 +393
+ Misses 14021 13626 -395 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactoring @remybar!
Description
Cleaning/Refacto of the
dojo-core
crate. (IN PROGRESS)Related issue
N/A
Tests
Added to documentation?
Checklist
scripts/prettier.sh
,scripts/rust_fmt.sh
,scripts/cairo_fmt.sh
)scripts/clippy.sh
,scripts/docs.sh
)Summary by CodeRabbit
scarb
tool (2.7.0-rc.3), which may introduce enhancements or changes in behavior.world_contract
module, streamlining function signatures for clarity.Scarb.toml
files across multiple components to reflect the new edition version (2024_07).