-
Notifications
You must be signed in to change notification settings - Fork 52
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
Rc 1 #1851
Rc 1 #1851
Changes from all commits
7ed275b
d4b459c
fd88f3c
3586373
aa55533
57688d2
37f544c
02461f5
dfaf38c
8b5d625
d67ca2d
30555a9
8c3dafc
b03ef6f
26a81c9
341574f
b15ac4c
0decb19
16fef7f
434956a
9e6aba5
9f4fce9
7951044
78e365c
2a25fc8
f1f875d
23be36d
1d429c4
680539a
ecae590
2310a62
dab5e2b
1b2960b
4f4c1a0
003ac93
aa87c34
f32cc95
e30fdc1
c6f15ba
a34984b
e138a98
db9998c
8baa182
8309a9b
c1e4d12
276aa0a
c5a873f
55b5807
003d70f
ada1944
359e1c8
0472626
ac1ee24
63d8757
b86500b
c81f5e1
757dea6
6fa946b
f260a49
a702529
9d52288
023c067
b85a25f
406b8a3
8cbdb57
d3fb7ec
e3ff5d7
e470d21
cd75fda
c13cd08
e9cb7a9
f3ef035
2486827
a2d9695
8ec19e7
c667dec
b453596
932c950
928b171
ba0494b
eb2b859
e31afc0
59cddd4
963476d
fb1e3db
4c7f964
6de7390
5dc3bc0
9dbc41f
95f5490
22449f4
7833d38
d005d7d
0cc2229
8248678
0e1332b
074124e
5f6a2c0
e8a568d
822ad1f
1ba99ae
325b8be
6f632ba
dfd5c5f
2c80369
df7697d
dca104d
6685c57
51a1802
57edcbf
1e94beb
a6d95ec
71d3639
ef27bff
b11dec3
60bbf41
75b16fe
205b141
a7b5c14
018d7f8
e9f0700
716f745
2834f08
7b451f5
3327118
1fcc5de
5872a6e
6f771ef
dcfb369
3f1549f
366dc55
77490fa
b49927b
8fd2093
61f98f2
e526ce5
8ac82fb
d87355e
c654835
9f6db40
82e89c5
17403a0
e6c9b45
0c78279
258e8c9
d5ed29f
009e1ea
3893817
83ad711
2fd4dce
83c4c02
7bd5b26
81c777e
23b011a
63ca259
8e48a21
662ed39
c95a216
e41a1d2
8cede70
e0c6189
1904495
2f40afc
d527a64
d63d298
5109861
ee9e868
523bb99
2b2cfcc
c40fd9d
5a4272b
a505a7c
80b1a2b
78b962f
8abf12d
6016c5a
a3501e4
91ec567
bd0fefd
a2f561a
4074074
284dfbb
3dd4130
1c08457
ba6a127
d2882c9
a770f1b
17e94db
78db91e
e27460a
ab4fbaf
91425f7
e4c3327
773908d
c0527f7
f2ff3c4
dbcb4b0
086721e
051bc65
d1f00ca
7d527a2
4da1f66
4d7fdf7
8a2cc87
6660583
cd391e2
74454f1
bf0f35d
add877d
d005dc2
523c2ae
38e703e
79afdf2
8f1160b
76e9fb3
f3656b9
05b0d80
a3254b6
a15c3ca
d7f9eb9
4ee6227
5310fc9
c40b852
b892b31
859802c
5665eb0
8c37e8a
3a98461
891e09a
446933f
0845541
579efe7
80376c5
b8803f5
957c5f2
4f92f84
2f8dda6
7212a73
3ddbf7f
6f6c17a
cd9b9d2
c88ee86
c115ba7
2cf90eb
e4fe14f
ff15188
841183d
405a1d9
8314257
0683274
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 |
---|---|---|
|
@@ -39,17 +39,18 @@ jobs: | |
hyperstructure_test, | ||
bank_test, | ||
map_test, | ||
resources_test, | ||
resource_bridge_test, | ||
trade_test, | ||
realm_test, | ||
guild_test, | ||
transport_test, | ||
test_ownership_systems, | ||
] | ||
fail-fast: false | ||
steps: | ||
- name: Download Dojo release artifact | ||
run: | | ||
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v1.0.0-alpha.12/dojo_v1.0.0-alpha.12_linux_amd64.tar.gz | ||
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v1.0.0-rc.1/dojo_v1.0.0-rc.1_linux_amd64.tar.gz | ||
tar -xzf dojo-linux-x86_64.tar.gz | ||
sudo mv sozo /usr/local/bin/ | ||
- name: Checkout repository | ||
|
@@ -68,5 +69,5 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: software-mansion/setup-scarb@v1 | ||
with: | ||
scarb-version: "2.7.0" | ||
scarb-version: "2.8.4" | ||
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 Version requirements are partially documented but need improvement The README.md mentions Dojo version
The version requirements should be updated in the README to match the current dependencies.
🔗 Analysis chainDocument version requirements The workflow updates Scarb from Let's check if version requirements are documented: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for version documentation
# Test: Look for version documentation in common locations
echo "Checking for version documentation..."
rg -l "scarb.*version|dojo.*version" --type md
Length of output: 403 Script: #!/bin/bash
# Let's check README and other documentation files more broadly
echo "Checking documentation files..."
fd -e md -X cat {}
# Also check Scarb.toml for version specifications
echo -e "\nChecking Scarb.toml..."
fd Scarb.toml -X cat {}
Length of output: 15882 |
||
- run: cd contracts && scarb fmt --check |
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,31 @@ | ||||||||||||||||||
name: test season pass | ||||||||||||||||||
|
||||||||||||||||||
on: | ||||||||||||||||||
pull_request: | ||||||||||||||||||
paths-ignore: | ||||||||||||||||||
- "contracts/**" | ||||||||||||||||||
- "client/**" | ||||||||||||||||||
- "**/manifest.json" | ||||||||||||||||||
- "discord-bot/**" | ||||||||||||||||||
- "config/**" | ||||||||||||||||||
- ".github/**" | ||||||||||||||||||
- "pnpm-lock.yaml" | ||||||||||||||||||
|
||||||||||||||||||
env: | ||||||||||||||||||
SCARB_VERSION: v2.8.2 | ||||||||||||||||||
Comment on lines
+14
to
+15
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. 🛠️ Refactor suggestion Consider using the SCARB_VERSION environment variable. The Update the Scarb setup step to use the environment variable: - uses: software-mansion/setup-scarb@v1
with:
+ scarb-version: ${{ env.SCARB_VERSION }}
tool-versions: season_pass/contracts/.tool-versions 📝 Committable suggestion
Suggested change
|
||||||||||||||||||
|
||||||||||||||||||
jobs: | ||||||||||||||||||
test-season-pass: | ||||||||||||||||||
runs-on: ubuntu-latest | ||||||||||||||||||
steps: | ||||||||||||||||||
- uses: actions/checkout@v3 | ||||||||||||||||||
- uses: software-mansion/setup-scarb@v1 | ||||||||||||||||||
with: | ||||||||||||||||||
tool-versions: season_pass/contracts/.tool-versions | ||||||||||||||||||
- uses: foundry-rs/setup-snfoundry@v3 | ||||||||||||||||||
with: | ||||||||||||||||||
tool-versions: season_pass/contracts/.tool-versions | ||||||||||||||||||
Comment on lines
+17
to
+27
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 🛠️ Refactor suggestion Update actions and pin the Ubuntu version. The current workflow uses
🔗 Analysis chainConsider updating actions and pinning the Ubuntu version. The job setup looks good overall, but there are a few suggestions for improvement:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the existence and content of the .tool-versions file
# Test: Check if the file exists and display its content
if [ -f "season_pass/contracts/.tool-versions" ]; then
echo "Content of .tool-versions file:"
cat "season_pass/contracts/.tool-versions"
else
echo "Error: .tool-versions file not found"
exit 1
fi
Length of output: 201 Script: #!/bin/bash
# Description: Check the version of actions/checkout in the workflow file
# Use grep to find the actions/checkout version
echo "Checking actions/checkout version:"
grep 'uses: actions/checkout@' .github/workflows/test-season-pass.yml || { echo "actions/checkout not found"; exit 1; }
Length of output: 184 Script: #!/bin/bash
# Description: Verify if the Ubuntu version is pinned in the workflow file
# Check if runs-on is set to ubuntu-latest
echo "Checking runs-on configuration:"
if grep -q 'runs-on: ubuntu-latest' .github/workflows/test-season-pass.yml; then
echo "runs-on is set to ubuntu-latest. Consider pinning to a specific version like ubuntu-22.04."
exit 1
else
echo "runs-on is pinned to a specific Ubuntu version."
fi
Length of output: 346 |
||||||||||||||||||
- run: scarb build | ||||||||||||||||||
working-directory: season_pass/contracts | ||||||||||||||||||
- run: snforge test | ||||||||||||||||||
working-directory: season_pass/contracts |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
node_modules | ||
node_modules | ||
target | ||
.snfoundry_cache |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
scarb 2.7.0 | ||
dojo 1.0.0-alpha.12 | ||
scarb 2.8.4 | ||
dojo 1.0.0-rc.1 |
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -58,7 +58,7 @@ | |||||||||||||||
} | ||||||||||||||||
@layer base { | ||||||||||||||||
* { | ||||||||||||||||
@apply border-border; | ||||||||||||||||
@apply border-border bg-black; | ||||||||||||||||
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. Reconsider applying black background to all elements. Adding
Consider one of these alternatives: - * {
- @apply border-border bg-black;
- }
+ * {
+ @apply border-border;
+ } Or if a dark background is specifically needed: - * {
- @apply border-border bg-black;
- }
+ * {
+ @apply border-border;
+ }
+ body {
+ @apply bg-black text-foreground;
+ } This maintains the theme system's flexibility while achieving the desired dark appearance. 📝 Committable suggestion
Suggested change
|
||||||||||||||||
} | ||||||||||||||||
body { | ||||||||||||||||
@apply bg-background text-foreground; | ||||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
VITE_PUBLIC_MASTER_ADDRESS="0x779c2c098f066ddde5850ec8426511e46e6499adf0b5c77e8961917413b57db" | ||
VITE_PUBLIC_MASTER_PRIVATE_KEY="0x189765c7b9daa2efdd3025d3236a929ce5e510834b8cba4f002a0d5c1accb5a" | ||
VITE_PUBLIC_WORLD_ADDRESS="0x76ca3dfc3e96843716f882546f0db96b7da0cf988bdba284b469d0defb2f48f" | ||
VITE_PUBLIC_ACCOUNT_CLASS_HASH="0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c" | ||
VITE_EVENT_KEY="0x1a2f334228cee715f1f0f54053bb6b5eac54fa336e0bc1aacf7516decb0471d" | ||
VITE_PUBLIC_TORII="https://api.cartridge.gg/x/eternum-42/torii" | ||
VITE_PUBLIC_NODE_URL="https://api.cartridge.gg/x/eternum-42/katana/" | ||
VITE_PUBLIC_MASTER_ADDRESS=0x4aa20bd71961247515f78970708f260c60b308e4ae131f085a6f5a61d0f19c0 | ||
VITE_PUBLIC_MASTER_PRIVATE_KEY=0x1957b6ac5c9f80cb18995c3304e63b2a8dd33c1e058c2f014de0b4c5c788fd | ||
VITE_PUBLIC_WORLD_ADDRESS="0x073bad29b5c12b09f9023e8d3a5876ea6ebd41fa26cab5035369fec4691067c2" | ||
VITE_PUBLIC_ACCOUNT_CLASS_HASH="0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2" | ||
VITE_PUBLIC_TORII=https://api.cartridge.gg/x/eternum-rc1-1/torii | ||
VITE_PUBLIC_NODE_URL=https://api.cartridge.gg/x/eternum-rc1-1/katana | ||
VITE_PUBLIC_DEV=false | ||
VITE_PUBLIC_GAME_VERSION="v0.9.0" | ||
VITE_PUBLIC_GAME_VERSION="v1.0.0-rc0" | ||
VITE_PUBLIC_SHOW_FPS=false | ||
VITE_PUBLIC_GRAPHICS_DEV=false | ||
VITE_PUBLIC_TORII_RELAY="/dns4/api.cartridge.gg/tcp/443/x-parity-wss/%2Fx%2Feternum-42%2Ftorii%2Fwss" | ||
VITE_PUBLIC_CONSTRUCTION_FLAG=true | ||
VITE_PUBLIC_TORII_RELAY=/dns4/api.cartridge.gg/tcp/443/x-parity-wss/%2Fx%2Feternum-rc1-1%2Ftorii%2Fwss | ||
|
||
VITE_SEASON_PASS_ADDRESS="0x4ba954b600d68b3309f0f9a6a1626389ca1a3615bdaef754e9f04b07ca0b62d" | ||
VITE_REALMS_ADDRESS="0x6b9857a356258e95a7ad7c842ca4cc71c25e171b123256072d2abefef2e03ec" | ||
VITE_LORDS_ADDRESS="0x4ca3786b2bbe3c9b373b19f6c5b27bc5cfa9ed169292583b126c2fd9ee27200" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,7 @@ Procfile text | |
*.wbmp binary | ||
*.webp binary | ||
*.avif binary | ||
|
||
*.hdr binary | ||
|
||
# Audio | ||
*.kar binary | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,6 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
yarn.lock | ||
yarn.lock | ||
|
||
dev-dist |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { createDojoConfig } from "@dojoengine/core"; | ||
import devManifest from "../contracts/manifests/dev/deployment/manifest.json"; | ||
import productionManifest from "../contracts/manifests/prod/deployment/manifest.json"; | ||
import devManifest from "../contracts/manifest_dev.json"; | ||
import productionManifest from "../contracts/manifest_prod.json"; | ||
|
||
const { | ||
VITE_PUBLIC_NODE_URL, | ||
|
@@ -15,14 +15,16 @@ const { | |
|
||
const manifest = VITE_PUBLIC_DEV === "true" ? devManifest : productionManifest; | ||
|
||
console.log(productionManifest); | ||
|
||
export const dojoConfig = createDojoConfig({ | ||
rpcUrl: VITE_PUBLIC_NODE_URL, | ||
toriiUrl: VITE_PUBLIC_TORII, | ||
relayUrl: VITE_PUBLIC_TORII_RELAY, | ||
masterAddress: VITE_PUBLIC_MASTER_ADDRESS, | ||
masterPrivateKey: VITE_PUBLIC_MASTER_PRIVATE_KEY, | ||
accountClassHash: | ||
VITE_PUBLIC_ACCOUNT_CLASS_HASH || "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c", | ||
feeTokenAddress: VITE_PUBLIC_FEE_TOKEN_ADDRESS || "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", | ||
VITE_PUBLIC_ACCOUNT_CLASS_HASH || "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2", | ||
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 Inconsistent
🔗 Analysis chainVerify the new account class hash across the codebase. The To ensure consistency and correctness, please run the following script: Ensure that:
If any inconsistencies are found, please update the relevant files to maintain consistency across the codebase. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the new account class hash across the codebase
# Test 1: Check for the new hash in .env files
echo "Checking .env files for the new hash:"
rg "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2" .env*
# Test 2: Check for any remaining instances of the old hash
echo "Checking for any remaining instances of the old hash:"
rg "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c"
# Test 3: Verify VITE_PUBLIC_ACCOUNT_CLASS_HASH in .env files
echo "Verifying VITE_PUBLIC_ACCOUNT_CLASS_HASH in .env files:"
rg "VITE_PUBLIC_ACCOUNT_CLASS_HASH" .env*
Length of output: 610 Script: #!/bin/bash
# Description: Comprehensive verification of the account class hash across the entire codebase
# Test 1: Check for the new hash in all files
echo "Checking for the new account class hash in the codebase:"
rg "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2" --hidden --ignore-dir={node_modules,dist,build}
# Test 2: Check for any remaining instances of the old hash in all files
echo "Checking for any remaining instances of the old account class hash in the codebase:"
rg "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c" --hidden --ignore-dir={node_modules,dist,build}
# Test 3: Verify all instances of VITE_PUBLIC_ACCOUNT_CLASS_HASH are updated
echo "Verifying all occurrences of VITE_PUBLIC_ACCOUNT_CLASS_HASH in the codebase:"
rg "VITE_PUBLIC_ACCOUNT_CLASS_HASH" --hidden --ignore-dir={node_modules,dist,build}
Length of output: 2187 Script: #!/bin/bash
# Description: Comprehensive verification of the account class hash across the entire codebase with corrected rg commands
# Test 1: Check for the new hash in all files
echo "Checking for the new account class hash in the codebase:"
rg "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2" --hidden --ignore-dir node_modules --ignore-dir dist --ignore-dir build
# Test 2: Check for any remaining instances of the old account class hash in all files
echo "Checking for any remaining instances of the old account class hash in the codebase:"
rg "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c" --hidden --ignore-dir node_modules --ignore-dir dist --ignore-dir build
# Test 3: Verify all instances of VITE_PUBLIC_ACCOUNT_CLASS_HASH are updated
echo "Verifying all occurrences of VITE_PUBLIC_ACCOUNT_CLASS_HASH in the codebase:"
rg "VITE_PUBLIC_ACCOUNT_CLASS_HASH" --hidden --ignore-dir node_modules --ignore-dir dist --ignore-dir build
Length of output: 2187 Script: #!/bin/bash
# Description: Comprehensive verification of the account class hash across the entire codebase using --glob to exclude directories
# Test 1: Check for the new account class hash in all files except excluded directories
echo "Checking for the new account class hash in the codebase:"
rg "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2" --hidden --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**'
# Test 2: Check for any remaining instances of the old account class hash in all files except excluded directories
echo "Checking for any remaining instances of the old account class hash in the codebase:"
rg "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c" --hidden --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**'
# Test 3: Verify all instances of VITE_PUBLIC_ACCOUNT_CLASS_HASH are updated in all files except excluded directories
echo "Verifying all occurrences of VITE_PUBLIC_ACCOUNT_CLASS_HASH in the codebase:"
rg "VITE_PUBLIC_ACCOUNT_CLASS_HASH" --hidden --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**'
Length of output: 2251 |
||
feeTokenAddress: VITE_PUBLIC_FEE_TOKEN_ADDRESS || "0x0", | ||
manifest, | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,12 +40,17 @@ | |
<link rel="prefetch" href="/images/resources/9.png" /> | ||
<link rel="prefetch" href="/images/resources/coin.png" /> | ||
<!-- avatars --> | ||
<link rel="prefetch" href="/images/avatars/1.png" /> | ||
<link rel="prefetch" href="/images/avatars/2.png" /> | ||
<link rel="prefetch" href="/images/avatars/3.png" /> | ||
<link rel="prefetch" href="/images/avatars/4.png" /> | ||
<link rel="prefetch" href="/images/avatars/5.png" /> | ||
<link rel="prefetch" href="/images/avatars/6.png" /> | ||
<link rel="prefetch" href="/images/avatars/01.png" /> | ||
<link rel="prefetch" href="/images/avatars/02.png" /> | ||
<link rel="prefetch" href="/images/avatars/03.png" /> | ||
<link rel="prefetch" href="/images/avatars/04.png" /> | ||
<link rel="prefetch" href="/images/avatars/05.png" /> | ||
<link rel="prefetch" href="/images/avatars/06.png" /> | ||
<link rel="prefetch" href="/images/avatars/07.png" /> | ||
<link rel="prefetch" href="/images/avatars/08.png" /> | ||
<link rel="prefetch" href="/images/avatars/09.png" /> | ||
<link rel="prefetch" href="/images/avatars/10.png" /> | ||
|
||
<!-- buildings --> | ||
<!-- contruction --> | ||
<link rel="prefetch" href="/images/buildings/construction/archery.png" /> | ||
|
@@ -77,6 +82,17 @@ | |
<link rel="prefetch" href="/textures/paper/worldmap-bg.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<title>Realms: Eternum</title> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
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. Remove duplicate viewport meta tag. There's a conflicting viewport meta tag. The existing tag prevents zooming with |
||
<meta name="description" content="The ultimate strategy game on Starknet" /> | ||
<meta property="og:title" content="Realms: Eternum" /> | ||
<meta property="og:description" content="The ultimate strategy game on Starknet" /> | ||
<meta property="og:image" content="/images/cover.png" /> | ||
<meta property="og:url" content="https://eternum.realms.world" /> | ||
<meta property="og:type" content="website" /> | ||
<link rel="icon" href="/images/favicon.ico" /> | ||
<link rel="apple-touch-icon" href="/images/apple-touch-icon-180x180.png" sizes="180x180" /> | ||
<link rel="mask-icon" href="/images/maskable-icon-512x512.png" color="#FFFFFF" /> | ||
<meta name="theme-color" content="#ffffff" /> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,12 +40,17 @@ | |
<link rel="prefetch" href="/images/resources/9.png" /> | ||
<link rel="prefetch" href="/images/resources/coin.png" /> | ||
<!-- avatars --> | ||
<link rel="prefetch" href="/images/avatars/1.png" /> | ||
<link rel="prefetch" href="/images/avatars/2.png" /> | ||
<link rel="prefetch" href="/images/avatars/3.png" /> | ||
<link rel="prefetch" href="/images/avatars/4.png" /> | ||
<link rel="prefetch" href="/images/avatars/5.png" /> | ||
<link rel="prefetch" href="/images/avatars/6.png" /> | ||
<link rel="prefetch" href="/images/avatars/01.png" /> | ||
<link rel="prefetch" href="/images/avatars/02.png" /> | ||
<link rel="prefetch" href="/images/avatars/03.png" /> | ||
<link rel="prefetch" href="/images/avatars/04.png" /> | ||
<link rel="prefetch" href="/images/avatars/05.png" /> | ||
<link rel="prefetch" href="/images/avatars/06.png" /> | ||
<link rel="prefetch" href="/images/avatars/07.png" /> | ||
<link rel="prefetch" href="/images/avatars/08.png" /> | ||
<link rel="prefetch" href="/images/avatars/09.png" /> | ||
<link rel="prefetch" href="/images/avatars/10.png" /> | ||
Comment on lines
+43
to
+52
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 The prefetch links reference avatar images that don't exist in the expected location. Additionally, there are dynamic avatar references in the codebase that might need adjustment:
Please ensure:
🔗 Analysis chainLGTM! Improved avatar naming convention. The update to a two-digit format (01-10) provides better consistency and sorting. The expansion from 6 to 10 avatars suggests enhanced customization options. Let's verify the existence of the new avatar images and check for any remaining old-format references: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify avatar images and references
# Test 1: Check if all new avatar images exist
for i in {01..10}; do
fd "^${i}.png$" "images/avatars"
done
# Test 2: Look for any remaining single-digit avatar references that might need updating
rg -g '!*.html' '[^0-9][1-6]\.png'
# Test 3: Check for any hardcoded avatar paths that might need updating
ast-grep --pattern 'avatars/[1-6].png'
Length of output: 3281 Script: #!/bin/bash
# Let's verify if the images directory exists and its structure
fd -t d "images"
# Check for any avatar-related files in the repository
fd -t f "avatar"
# Look for any references to avatar images in the codebase
rg -g '!*.html' "avatar.*\.png"
Length of output: 641 |
||
|
||
<!-- buildings --> | ||
<!-- contruction --> | ||
<link rel="prefetch" href="/images/buildings/construction/archery.png" /> | ||
|
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
Test matrix entries don't match actual test file names
The workflow's test matrix entries don't correspond to the actual test file structure in the repository. The test files are organized as:
contracts/src/systems/resources/tests/resource_bridge_system_tests.cairo
contracts/src/systems/trade/tests/trade_systems_tests.cairo
contracts/src/systems/realm/tests.cairo
contracts/src/systems/guild/tests.cairo
contracts/src/systems/transport/tests/travel_systems_tests.cairo
contracts/src/systems/ownership/tests.cairo
The matrix entries should be updated to match these actual file names and paths.
🔗 Analysis chain
Maintain consistent test naming conventions.
The test name
test_ownership_systems
doesn't follow the*_test
naming pattern used by other tests in the matrix.Consider renaming to
ownership_systems_test
for consistency.Let's verify the test files exist and follow naming conventions:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 279
Script:
Length of output: 2824