Skip to content

Commit

Permalink
fix: ensure the tag is correctly output in the manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Oct 30, 2024
1 parent fddeade commit 86ec272
Showing 1 changed file with 99 additions and 99 deletions.
198 changes: 99 additions & 99 deletions examples/simple/manifest_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@
},
"contracts": [
{
"address": "0x5d52f8c5bd309ba73977008086d7c7f9c0d2991d2e29e96f01f99bf2065f88e",
"address": "0x16501c6eeae49a38af2a34e8c50a5ba6ac08c655e9c9b77b1306aad73aaca9d",
"class_hash": "0x13767b87a8459556babbcf8cbdf2800181b462ef47f6fdafc14fc14fc1dae57",
"abi": [
{
Expand Down Expand Up @@ -1358,16 +1358,16 @@
"init_calldata": [
"0xfffe"
],
"tag": "c1",
"tag": "ns-c1",
"systems": []
},
{
"address": "0x16501c6eeae49a38af2a34e8c50a5ba6ac08c655e9c9b77b1306aad73aaca9d",
"class_hash": "0x13767b87a8459556babbcf8cbdf2800181b462ef47f6fdafc14fc14fc1dae57",
"address": "0x707ff87e1260619aa7c41ebd7f12a32d8cc358565e539c9f7b85140af3ca285",
"class_hash": "0x1eef253239f61c49444c41990940fa8fee51b021d19e48c20d31f45bc465d46",
"abi": [
{
"type": "impl",
"name": "c1__ContractImpl",
"name": "c2__ContractImpl",
"interface_name": "dojo::contract::interface::IContract"
},
{
Expand Down Expand Up @@ -1408,86 +1408,10 @@
{
"type": "function",
"name": "dojo_init",
"inputs": [
{
"name": "v",
"type": "core::felt252"
}
],
"inputs": [],
"outputs": [],
"state_mutability": "view"
},
{
"type": "impl",
"name": "MyInterfaceImpl",
"interface_name": "dojo_simple::MyInterface"
},
{
"type": "interface",
"name": "dojo_simple::MyInterface",
"items": [
{
"type": "function",
"name": "system_1",
"inputs": [
{
"name": "k",
"type": "core::felt252"
},
{
"name": "v",
"type": "core::felt252"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_2",
"inputs": [
{
"name": "k",
"type": "core::felt252"
}
],
"outputs": [
{
"type": "core::felt252"
}
],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_3",
"inputs": [
{
"name": "k",
"type": "core::felt252"
},
{
"name": "v",
"type": "core::integer::u32"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_4",
"inputs": [
{
"name": "k",
"type": "core::felt252"
}
],
"outputs": [],
"state_mutability": "external"
}
]
},
{
"type": "impl",
"name": "WorldProviderImpl",
Expand Down Expand Up @@ -1580,7 +1504,7 @@
},
{
"type": "event",
"name": "dojo_simple::c1::Event",
"name": "dojo_simple::c2::Event",
"kind": "enum",
"variants": [
{
Expand All @@ -1596,19 +1520,17 @@
]
}
],
"init_calldata": [
"0xfffe"
],
"tag": "c1",
"init_calldata": [],
"tag": "ns-c2",
"systems": []
},
{
"address": "0x707ff87e1260619aa7c41ebd7f12a32d8cc358565e539c9f7b85140af3ca285",
"class_hash": "0x1eef253239f61c49444c41990940fa8fee51b021d19e48c20d31f45bc465d46",
"address": "0x41c67324187d806f29b4d02be6b358b9d0f68db4ae070d826d3a8149feba80f",
"class_hash": "0x4be29e651d49e58fba33f71ab6fe7fe101ee811842d07852b70d43a407fef2a",
"abi": [
{
"type": "impl",
"name": "c2__ContractImpl",
"name": "c3__ContractImpl",
"interface_name": "dojo::contract::interface::IContract"
},
{
Expand Down Expand Up @@ -1745,7 +1667,7 @@
},
{
"type": "event",
"name": "dojo_simple::c2::Event",
"name": "dojo_simple::c3::Event",
"kind": "enum",
"variants": [
{
Expand All @@ -1762,16 +1684,16 @@
}
],
"init_calldata": [],
"tag": "c2",
"tag": "ns-c3",
"systems": []
},
{
"address": "0x41c67324187d806f29b4d02be6b358b9d0f68db4ae070d826d3a8149feba80f",
"class_hash": "0x4be29e651d49e58fba33f71ab6fe7fe101ee811842d07852b70d43a407fef2a",
"address": "0x5d52f8c5bd309ba73977008086d7c7f9c0d2991d2e29e96f01f99bf2065f88e",
"class_hash": "0x13767b87a8459556babbcf8cbdf2800181b462ef47f6fdafc14fc14fc1dae57",
"abi": [
{
"type": "impl",
"name": "c3__ContractImpl",
"name": "c1__ContractImpl",
"interface_name": "dojo::contract::interface::IContract"
},
{
Expand Down Expand Up @@ -1812,10 +1734,86 @@
{
"type": "function",
"name": "dojo_init",
"inputs": [],
"inputs": [
{
"name": "v",
"type": "core::felt252"
}
],
"outputs": [],
"state_mutability": "view"
},
{
"type": "impl",
"name": "MyInterfaceImpl",
"interface_name": "dojo_simple::MyInterface"
},
{
"type": "interface",
"name": "dojo_simple::MyInterface",
"items": [
{
"type": "function",
"name": "system_1",
"inputs": [
{
"name": "k",
"type": "core::felt252"
},
{
"name": "v",
"type": "core::felt252"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_2",
"inputs": [
{
"name": "k",
"type": "core::felt252"
}
],
"outputs": [
{
"type": "core::felt252"
}
],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_3",
"inputs": [
{
"name": "k",
"type": "core::felt252"
},
{
"name": "v",
"type": "core::integer::u32"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "system_4",
"inputs": [
{
"name": "k",
"type": "core::felt252"
}
],
"outputs": [],
"state_mutability": "external"
}
]
},
{
"type": "impl",
"name": "WorldProviderImpl",
Expand Down Expand Up @@ -1908,7 +1906,7 @@
},
{
"type": "event",
"name": "dojo_simple::c3::Event",
"name": "dojo_simple::c1::Event",
"kind": "enum",
"variants": [
{
Expand All @@ -1924,8 +1922,10 @@
]
}
],
"init_calldata": [],
"tag": "c3",
"init_calldata": [
"0xfffe"
],
"tag": "ns2-c1",
"systems": []
}
],
Expand Down

0 comments on commit 86ec272

Please sign in to comment.