Skip to content
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

Makin Slot work again #1

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Makin Slot work again #1

merged 2 commits into from
Jul 3, 2024

Conversation

RolandoDrRobot
Copy link
Contributor

@RolandoDrRobot RolandoDrRobot commented Jul 3, 2024

Deployment success 🚀

Endpoints:
RPC: https://api.cartridge.gg/x/brussels/katana

Stream logs with slot deployments logs brussels katana -f

sozo build
sozo migrate plan

Migration account: 0x63eee6e20919b06f8198151c9951e5cf616077d395599ec124824bc6a505c9c

World name: dojo_starter

Chain ID: WP_WORK

[1] 🌎 Building World state....

No remote World found
[2] 🧰 Evaluating Worlds diff....
Total diffs found: 6
[3] 📦 Preparing for migration....
Total items to be migrated (6): New 6 Update 0

📋 Migration Strategy

World address: 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18

Base Contract

Class hash: 0x22f3e55b61d86c2ac5239fa3b3b8761f26b9a5c0b5f61ddbd5d756ced498b46

World

Class hash: 0x3f63cecdc4964acafb921ba2934c6507d1b3c344edb64c2762cf08053169ab9

Models (4)

dojo_starter::models::moves::directions_available

Class hash: 0x13fc796dd2d767ca4051ee20d673074f74b6e6b072bef1926ba429e427c8080
dojo_starter::models::moves::moves
Class hash: 0x2f6c0529a3aa4c81c1679408106b2c00013fc19a7088ed9639046c0e3aeac7a
dojo_starter::models::position::position
Class hash: 0x4312e0e9fa6d912c293311798591e5022744a5fbebefc5ddfcfcc9b7c0c9be1
dojo_starter::systems::actions::actions::moved
Class hash: 0x1e1fa676a44c4b22fe024f3d3a681904fc4fcaececd382b94d794593b811de2

Contracts (1)

deploy dojo_starter::systems::actions::actions

Class hash: 0x6b9e8abff1a178c80f9c18a29a35436d48759a1bcada1f074b1821df0f87119
Contract address: 0x3610b797baec740e2fa25ae90b4a57d92b04f48a1fdbae1ae203eaf9723c1a0

[5] ✨ Updating manifests....

✨ Done.
rolo@Rolandos-MacBook-Pro-2 StarkHack2024BackEnd % sozo migrate apply

Migration account: 0x63eee6e20919b06f8198151c9951e5cf616077d395599ec124824bc6a505c9c

World name: dojo_starter

Chain ID: WP_WORK

[1] 🌎 Building World state....

No remote World found
[2] 🧰 Evaluating Worlds diff....
Total diffs found: 6
[3] 📦 Preparing for migration....
Total items to be migrated (6): New 6 Update 0
[4] 🛠 Migrating....

Base Contract

Class Hash: 0x22f3e55b61d86c2ac5239fa3b3b8761f26b9a5c0b5f61ddbd5d756ced498b46

World

Contract address: 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18

Models (4)

dojo_starter::models::moves::directions_available

Class hash: 0x13fc796dd2d767ca4051ee20d673074f74b6e6b072bef1926ba429e427c8080
dojo_starter::models::moves::moves
Class hash: 0x2f6c0529a3aa4c81c1679408106b2c00013fc19a7088ed9639046c0e3aeac7a
dojo_starter::models::position::position
Class hash: 0x4312e0e9fa6d912c293311798591e5022744a5fbebefc5ddfcfcc9b7c0c9be1
dojo_starter::systems::actions::actions::moved
Class hash: 0x1e1fa676a44c4b22fe024f3d3a681904fc4fcaececd382b94d794593b811de2
All models are registered at: 0x24098469f73f9a61193f851842e70dd8c9a1f75c46ab2750c0db81e2ae5d1c1

Contracts (1)

dojo_starter::systems::actions::actions

Contract address: 0x3610b797baec740e2fa25ae90b4a57d92b04f48a1fdbae1ae203eaf9723c1a0

🎉 Successfully migrated World on block #3 at address 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18

[5] ✨ Updating manifests....

✨ Done.

[6] 🖋️ Authorizing Models to Systems (based on overlay)....

Authorizing dojo_starter::systems::actions::actions for Models: ["Position", "Moves", "DirectionsAvailable"]
Transaction hash: 0x59dec8f3fcbdd9502a1198159d38c8dcd7e3b00270126db5cbf24e3b726293a
Auto authorize completed successfully

[7] 🌐 Uploading metadata....

world: ipfs://QmVwgFy3gcUZpTJeRJMi7jsxpvA9weJMtHSJwyAntbZ3eP
dojo_starter::models::moves::directions_available: ipfs://QmbfMea3hDYMsS4gKpHjWW1h7RTPZv86Ua9BwEsHGzoZiH
dojo_starter::systems::actions::actions::moved: ipfs://QmPf3h2QkeALJra8DiUWu3kRjxhFQnhgqk9nUxmY5iCmGW
dojo_starter::models::moves::moves: ipfs://QmRhNwJW6xjn69YTybrDHBeXARiLWDbhvLcaZhiZR3ccJT
dojo_starter::models::position::position: ipfs://QmV3jymZLP6HJe26m9JchTogDY6xNedmT4h88xAvPfAroT
dojo_starter::systems::actions::actions: ipfs://QmNfjMszCD48dZQH65uHH5SE4hcGH1B2wc6JMPU9BE4Xq8
All IPFS artifacts have been successfully uploaded.
All metadata have been registered in the resource registry (tx hash: 0x2507cded17cd093536d3dcccccce16fc84226b6962f1d7111d7f88b8ff33f87)

✨ Done.

rolo@Rolandos-MacBook-Pro-2 StarkHack2024BackEnd % slot deployments create work torii --world 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18 --rpc https://api.cartridge.gg/x/work/katana --start-block 1

Deployment success 🚀

Configuration:
World: 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18
RPC: https://api.cartridge.gg/x/work/katana
Start Block: 1
Index Pending: false

Endpoints:
GRAPHQL: https://api.cartridge.gg/x/work/torii/graphql
GRPC: https://api.cartridge.gg/x/work/torii

Stream logs with slot deployments logs work torii -f

@RolandoDrRobot RolandoDrRobot merged commit e8a7bfd into main Jul 3, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant