-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCI-1923: Cairo Test Upgradeable #326
BCI-1923: Cairo Test Upgradeable #326
Conversation
Contract builds fail in a weird way. Maybe we need to bump the scarb version on CI? |
Thanks, I fixed the issue. It was failing locally too. I pinpointed the issue to the constructor of the mock contracts, which need to have a mutable reference instead of a snapshot to the contract state even if they are not writing anything to storage. I also made some changes to implement the IUpgradeable trait. Do you think we should remove the |
Yeah I think that's fine, since we're no longer upstreaming the contract we can just implement |
SonarQube Quality Gate |
Changes
note: we'll need to change these tests once contract composition is introduced because this will change the way we compose the Upgradeable module. See https://community.starknet.io/t/cairo-1-contract-syntax-is-evolving/94794?page=2#extensibility-and-components-11 for the proposed
#[starknet::component]
macro