v0.9.0
Highlights
Added protostar multicall
command
Multicall executes multiple calls as a single transaction. If one call fails, the entire operation is aborted. Use it to prevent leaving your system in an inconsistent state.
Changed protostar deploy
to use Universal Deployer Contract
protostar deploy
invokes a Universal Deployer Contract, which deploys the contract with the given class hash and constructor arguments.
Removed deprecated protostar migrate
The migrations functionality has been removed in favor of using JSON outputs of the commands, and creating the deployment scripts in a language of your choice.
Changelog
- Added
protostar multicall
command. - Added
estimate-gas
argument toprotostar test
command. - Added Uint256 fuzzing strategy.
- Updated cairo-lang to version 0.10.3.
- Improved
--inputs
argument ofcall
,deploy
andinvoke
commands by adding a custom parser that allows passing keyword arguments. - Improved
expect_call
cheatcode by making it return an assertion that can be used to limit a scope. - Improved
prepare
cheatcode by allowing providingsalt
in order to generate contract address deterministically. - Changed
protostar deploy
to use Universal Deployer Contract. - Changed
protostar init
to not create a Git repository. Instead,protostar install
creates a Git repository if it doesn't exist. - Fixed loading arguments from the configuration file when profile is used.
- Fixed showing "upgraded successfully" message when no upgrade was done by @ptisserand.
- Removed deprecated
protostar migrate
command. - Removed unsigned transactions support.