Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Nov 5, 2024
1 parent 969004b commit c9d86e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/contracts/src/contract/components/upgradeable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ pub mod upgradeable_cpt {
);
assert(new_class_hash.is_non_zero(), Errors::INVALID_CLASS);

// Seems like the match doesn't catch the error is the entrypoint is
// not found.
// Seems like the match doesn't catch the error if the entrypoint is
// not found. This is observed on public network like Sepolia.
// On the cairo runner, behavior seems to be as expected.
match starknet::syscalls::library_call_syscall(
new_class_hash, selector!("dojo_name"), [].span(),
) {
Expand Down

0 comments on commit c9d86e4

Please sign in to comment.