0.4.0
github-actions
released this
17 Aug 09:17
·
1005 commits
to master
since this release
Forge
Added
mock_call
cheatcodes- Functions
parse_txt
andTxtParser<T>::deserialize_txt
to load data from plain text files and serialize it #[should_panic]
attribute support by @enitratget_class_hash
cheatcode by @glihm- Print support for all basic numeric data types
Changed
- Exported
snforge_std
as a Scarb package, now you have to import it explicitly with e.g.use snforge_std::declare
and add it as a dependency to your Scarb.toml
[dependencies]
# ...
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "0.4.0" }
- Gently fails test when user tries to use syscalls not supported by forge test runner
- Updated cairo-lang to 2.1.0, starknet-api to 0.4.1 and blockifier to 0.2.0-rc0
Cast
Added
- Added
--class-hash
flag to account create/deploy, allowing for custom openzeppelin account contract class hash
Other contributors: @Utilitycoder , @binsta,
Compatible Scarb Versions
Tool | Scarb Version |
---|---|
snforge |
0.6.0 |
sncast |
>=0.4.1, <=0.6.0 |