Skip to content

Commit

Permalink
fix: regenerate db with new migration spawn and move
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Nov 7, 2024
1 parent f6395c9 commit fae7d9f
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 12 deletions.
74 changes: 62 additions & 12 deletions examples/spawn-and-move/manifest_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@
"address": "0x54d0f13bf3fb5f15a8674c5204aad35e3022af96bcc23bdbd16b7e297ffd399",
"seed": "dojo_examples",
"name": "example",
"entrypoints": [
"uuid",
"set_metadata",
"register_namespace",
"register_event",
"register_model",
"register_contract",
"init_contract",
"upgrade_event",
"upgrade_model",
"upgrade_contract",
"emit_event",
"emit_events",
"set_entity",
"set_entities",
"delete_entity",
"delete_entities",
"grant_owner",
"revoke_owner",
"grant_writer",
"revoke_writer",
"upgrade"
],
"abi": [
{
"type": "impl",
Expand Down Expand Up @@ -1548,7 +1571,17 @@
],
"init_calldata": [],
"tag": "ns-actions",
"systems": []
"selector": "0x44f0e209e9c5b4b85306833a20e81c3b1a053fa9b3606cfcc59b30b28cb62f6",
"systems": [
"spawn",
"move",
"set_player_config",
"reset_player_config",
"set_player_server_profile",
"set_models",
"enter_dungeon",
"upgrade"
]
},
{
"address": "0x74967fafd9ea26b0c14287fdafa5867cf6e2d16d9e6fda3dde4361a7cf75c9d",
Expand Down Expand Up @@ -1739,7 +1772,10 @@
],
"init_calldata": [],
"tag": "ns-dungeon",
"systems": []
"selector": "0x4aec73bbf4f68c244877172d4792673ba5ea7af66e3dc7c86893a94bc9a3208",
"systems": [
"upgrade"
]
},
{
"address": "0x7077c3246c125a91b17e8c0a90f45af790ad6feabe65a3df225277d9eb02310",
Expand Down Expand Up @@ -1912,7 +1948,10 @@
],
"init_calldata": [],
"tag": "ns-mock_token",
"systems": []
"selector": "0x60a349ec0f14dd202f31c637ccccde03c97ac47110edd585dffb3f0c8fb72b4",
"systems": [
"upgrade"
]
},
{
"address": "0x7e2c18814dd45847ae85d3c8eb40196cc2aa869614efd1ff67edf380c45cb8e",
Expand Down Expand Up @@ -2092,51 +2131,62 @@
"0xff"
],
"tag": "ns-others",
"systems": []
"selector": "0x60b03a0ad2ec01ab2d6c0c99a537ac0bdb02cc3e671767315fd5a3f2d3eb964",
"systems": [
"upgrade"
]
}
],
"models": [
{
"members": [],
"class_hash": "0x60908b9fa1c4e26baf1e118fab6b79626db53f10a534a0e17bd3f7f9bd872d",
"tag": "Message"
"tag": "ns-Message",
"selector": "0x7e77b60a338fa7414998176fd93ff265e4ca04b93105ac98f155bcb2e9e8438"
},
{
"members": [],
"class_hash": "0x417aef6c830a2d6e5083c5a47e87a61c8c9eb360e40acd835b16299d433b3c1",
"tag": "MockToken"
"tag": "ns-MockToken",
"selector": "0x23ee42c8f47d1d693b966176dcd5deca0ec147b33e42186382d9d027603a6fd"
},
{
"members": [],
"class_hash": "0x645ba084821e6a6a361c209e6bbaf40ba76dd8e9ac1c8a18470995fb3a7979b",
"tag": "Moves"
"tag": "ns-Moves",
"selector": "0x54104f060e63bdd9d68bb872f2dc6d40a101e168e18b999c10de348d06ea24a"
},
{
"members": [],
"class_hash": "0x77018639b9a36824fe474c7c2b2ba7b9ef0f30fa54be1d1f62037dbfc01a89b",
"tag": "PlayerConfig"
"tag": "ns-PlayerConfig",
"selector": "0x3bea561c3e142a660a00d1471d7712b70695dc4ee3b173aeaefd5178f7a21af"
},
{
"members": [],
"class_hash": "0x6ccefe3d52e17e136309362d4b50c74c54b80f203ec1fb2f065e5ac7e4d4f5c",
"tag": "Position"
"tag": "ns-Position",
"selector": "0x5e12c61e9cf30881c126a6d298975c8d79f95abed1a05c2d38b7803ed19445f"
},
{
"members": [],
"class_hash": "0x1f071ca31db4450e20be936d32669434959a9677470a9d8d164833a3ca93bcf",
"tag": "ServerProfile"
"tag": "ns-ServerProfile",
"selector": "0x641dc5f178aff0c7935a8f1ae30c6038a3d3512ea164d486f98bc37b6beabf"
}
],
"events": [
{
"members": [],
"class_hash": "0x3dc79bcf7e88304d1331cdf9e232ff9f78ac19a719e998bd68016eb5ebb3e38",
"tag": "Moved"
"tag": "ns-Moved",
"selector": "0x6d4c1ac3717ba997500153c52344a2acac5123bbfa0f78d3dcc04cb786826b0"
},
{
"members": [],
"class_hash": "0x7ddb49b2db32089d1bb14a6f66d91582fffdd09d18325187840de65ae443598",
"tag": "MyInit"
"tag": "ns-MyInit",
"selector": "0xe1c030210beae7e2153a7b996d7d2ae6a428faf16a61f192f02178718b6f0"
}
]
}
Binary file modified spawn-and-move-db.tar.gz
Binary file not shown.
Binary file modified types-test-db.tar.gz
Binary file not shown.

0 comments on commit fae7d9f

Please sign in to comment.