Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Oct 29, 2024
1 parent fbd3503 commit ee67d00
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/dojo-world/abigen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn get_bindings_file_content(contract_name: &str, contract_class: ContractClass)
--bin dojo-world-abigen` instead.\nuse cainome::rs::abigen;\n\nabigen!(\n {},\n \
r#\"{}\"#,\ntype_aliases {{\ndojo::world::config::Config::Event as \
DojoConfigEvent;\n}},derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, \
Clone)\n);",
Clone),contract_derives(Debug)\n);",

Check warning on line 88 in crates/dojo-world/abigen/src/main.rs

View check run for this annotation

Codecov / codecov/patch

crates/dojo-world/abigen/src/main.rs#L88

Added line #L88 was not covered by tests
contract_name,
serde_json::to_string_pretty(&contract_class.abi).unwrap()
)
Expand Down
3 changes: 1 addition & 2 deletions crates/dojo-world/src/contracts/abi/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,5 @@ abigen!(
]"#,
type_aliases {
dojo::world::config::Config::Event as DojoConfigEvent;
},derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone),
contract_derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone)
},derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone),contract_derives(Debug)
);
3 changes: 1 addition & 2 deletions crates/dojo-world/src/contracts/abi/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,5 @@ abigen!(
]"#,
type_aliases {
dojo::world::config::Config::Event as DojoConfigEvent;
},derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone),
contract_derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone)
},derives(Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone),contract_derives(Debug)
);
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@
}
],
"address": "0x46c1fd10836a8426197bf412fc5f26ea10f11a8d5c61474407f03f82c096593",
"transaction_hash": "0x7f540b040b1638b76a7f2a8fc13a33050d1c0556a63814f319a01d022b172cf",
"transaction_hash": "0x260b430cd6b661142ae2e60699a3abb0bf4b2e10c36ab723d96f619a99859f7",
"block_number": 3,
"seed": "dojo_examples",
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class_hash = "0x6f38d5d9507c5d9546290e1a27e309efe5a9af3770b6cc1627db4a1b90a7dce"
original_class_hash = "0x6f38d5d9507c5d9546290e1a27e309efe5a9af3770b6cc1627db4a1b90a7dce"
abi = "manifests/dev/deployment/abis/dojo-world.json"
address = "0x46c1fd10836a8426197bf412fc5f26ea10f11a8d5c61474407f03f82c096593"
transaction_hash = "0x7f540b040b1638b76a7f2a8fc13a33050d1c0556a63814f319a01d022b172cf"
transaction_hash = "0x260b430cd6b661142ae2e60699a3abb0bf4b2e10c36ab723d96f619a99859f7"
block_number = 3
seed = "dojo_examples"
manifest_name = "dojo-world"
Expand Down
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 ee67d00

Please sign in to comment.