Skip to content
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

upgrade from Starknet 2.7.0 to 2.8.5 #24

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

loothero
Copy link
Contributor

@loothero loothero commented Feb 3, 2025

  • starknet: 2.7.0 => 2.8.5
  • openzeppelin: a13bae3 => 0.19.0
  • snforge: 0.26.0 => 0.31.0
  • specify targeted dependencies in Scarb.toml for more efficient builds and to reduce upstream package dependency conflicts
  • account for snforge changing cheatcode cheat_max_fee_global to start_cheat_max_fee_global

* starknet 2.7.0 => 2.8.5
* openzeppelin a13bae3 => 0.19.0
* snforge 0.26.0 => 0.31.0
* specify targeted dependencies for more performant builds and to reduce upstream dependency conflicts (aka upstream packages using OZ tokens shouldn't require same version)
* account for snforge changing cheatcode `cheat_max_fee_global` to `start_cheat_max_fee_global`
Comment on lines +9 to +15
openzeppelin_access = { git = "https://github.com/openzeppelin/cairo-contracts", tag = "v0.18.0"}
openzeppelin_upgrades = { git = "https://github.com/openzeppelin/cairo-contracts", tag = "v0.18.0"}
snforge_std = "0.31.0"

[dev-dependencies]
openzeppelin_testing = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", rev = "a13bae3" }
openzeppelin_utils = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", rev = "a13bae3" }
openzeppelin_testing = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.18.0"}
openzeppelin_utils = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.18.0"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't use tag, could we switch to scarbs.xyz? This eases how the versions are managed for packages using different version of it.

openzeppelin_access = "v0.18.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants