-
Notifications
You must be signed in to change notification settings - Fork 54
fix: paths #311
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
fix: paths #311
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { createDojoConfig } from "@dojoengine/core"; | ||
|
||
import manifest from "../../worlds/dojo-starter/manifests/dev/deployment/manifest.json"; | ||
import manifest from "../../worlds/dojo-starter/manifest_dev.json"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Invalid manifest import path across multiple examples The verification reveals critical issues:
This indicates the path changes are incorrect and need to be fixed to point to the actual manifest location. 🔗 Analysis chainVerify the manifest file location and consistency. The import path has been simplified, which aligns with the PR objective to fix paths. Let's verify the new structure is consistent and valid. Let me verify if the manifest file exists in a different location or if there are any related manifest files. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify manifest file existence and path consistency across examples
# Check if the new manifest file exists
echo "Checking manifest_dev.json existence:"
ls -l worlds/dojo-starter/manifest_dev.json
# Check for consistency across all dojoConfig.ts files
echo -e "\nChecking manifest import paths in all dojoConfig.ts files:"
fd dojoConfig.ts --exec grep -l "manifest.*json" {} \;
# Show the actual import lines to verify consistency
echo -e "\nShowing manifest import lines from all dojoConfig.ts files:"
fd dojoConfig.ts --exec grep "manifest.*json" {} \;
Length of output: 1817 Script: #!/bin/bash
# Search for manifest files in the repository
echo "Searching for manifest files:"
fd manifest.*json
# Search for any references to manifest files in the codebase
echo -e "\nSearching for manifest file references in code:"
rg "manifest.*json" -g "!package*.json" -g "!dojoConfig.ts"
Length of output: 708 |
||
|
||
export const dojoConfig = createDojoConfig({ | ||
manifest, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { createDojoConfig } from "@dojoengine/core"; | ||
|
||
import manifest from "../../worlds/dojo-starter/manifests/dev/deployment/manifest.json"; | ||
import manifest from "../../worlds/dojo-starter/manifest_dev.json"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Path inconsistency detected across examples The verification reveals inconsistencies in manifest file imports:
🔗 Analysis chainVerify the new manifest path structure. The simplified path structure looks good and aligns with the PR's objective to fix paths. However, let's ensure the changes are complete and consistent. Let's verify the changes: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify manifest file existence and check for any remaining old path references
# Test 1: Check if the new manifest file exists
if [ -f "worlds/dojo-starter/manifest_dev.json" ]; then
echo "✓ New manifest file exists"
else
echo "⨯ New manifest file not found"
fi
# Test 2: Search for any remaining references to the old path structure
echo "Checking for remaining references to old path..."
rg -l "manifests/dev/deployment/manifest.json"
# Test 3: Verify no other files are still using the old manifest path
echo "Checking for other dojoConfig files..."
fd "dojoConfig.ts" | xargs rg "manifests/dev/deployment"
Length of output: 415 Script: #!/bin/bash
# Let's verify with a broader search to understand the manifest file structure
# Check for any manifest files in the repository
echo "=== Looking for manifest files ==="
fd "manifest.*\.json"
# Search for any manifest-related imports
echo -e "\n=== Checking manifest imports ==="
rg "import.*manifest.*from" -A 1
# Look for manifest-related paths in configuration files
echo -e "\n=== Checking configuration files for manifest paths ==="
fd "config|dojoConfig" | xargs rg "manifest"
# Check the specific directory structure
echo -e "\n=== Checking worlds directory structure ==="
ls -R worlds/ 2>/dev/null || echo "worlds directory not found"
Length of output: 5268 |
||
|
||
export const dojoConfig = createDojoConfig({ | ||
manifest, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,7 +224,7 @@ To run the examples, you'll need to set up three terminal windows: | |
|
||
```bash | ||
sozo build | ||
sozo migrate apply | ||
sozo migrate | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent migration commands in the documentation. The migration command has been updated to Update both instances to use the same command syntax: - sozo build && sozo migrate apply
+ sozo build && sozo migrate
|
||
``` | ||
|
||
3. Run Torii (indexer) with the world address and allowed origins: | ||
|
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.
💡 Codebase verification
Path change needs revision - manifest file not found
The verification reveals critical issues with the manifest path change:
manifest_dev.json
does not exist at the specified locationdojo-starter/target/dev/manifest.json
This path change appears to be incorrect and needs to be revised to point to the actual manifest location.
🔗 Analysis chain
Verify manifest file existence and compatibility
The import path has been simplified to use
manifest_dev.json
. Let's verify the file exists and maintains the expected structure.Let me gather more information about the manifest file location and structure.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 396
Script:
Length of output: 5378