Open fontanellag opened 1 month ago
Within the example in https://github.com/crytic/building-secure-contracts/tree/master/not-so-smart-contracts/cairo/unchecked_from_address_in_l1_handler the require in setOwnerOnL2() should be:
setOwnerOnL2()
require(OWNER == msg.sender, "not owner");
instead of
require(owner == msg.sender, "not owner");
Within the example in https://github.com/crytic/building-secure-contracts/tree/master/not-so-smart-contracts/cairo/unchecked_from_address_in_l1_handler the require in
setOwnerOnL2()
should be:instead of