Skip to content

Commit

Permalink
fix: fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Dec 20, 2023
1 parent c34e516 commit 74aa54c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/dojo-world/src/contracts/cairo_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn encode_uri(uri: &str) -> Result<Vec<FieldElement>> {
.chunks(31)
.map(|chunk| {
let s: String = chunk.iter().collect();
cairo_short_string_to_felt(&s).unwrap()
cairo_short_string_to_felt(&s)
})
.collect::<Vec<_>>())
.collect::<Result<Vec<_>, _>>()?)
}
2 changes: 1 addition & 1 deletion crates/dojo-world/src/contracts/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ where
}
}

impl<'a, P> WorldContractReader<P>
impl<P> WorldContractReader<P>
where
P: Provider + Sync + Send,
{
Expand Down
4 changes: 2 additions & 2 deletions crates/torii/types-test/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.4.2"
version = "0.4.1"
dependencies = [
"dojo_plugin",
]
Expand All @@ -15,7 +15,7 @@ source = "git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7

[[package]]
name = "types_test"
version = "0.4.2"
version = "0.1.0"
dependencies = [
"dojo",
]

0 comments on commit 74aa54c

Please sign in to comment.