Releases
v0.6.0
Highlights
Contract profiler — Protostar can dynamically analyze your contracts and help you optimize it.
Protostar documentation discussions — Comments and ask questions directly in Protostar documentation.
send_message_to_l2
cheatcode — Simulate L1 message to L2 in your test cases
invoke command — Send invoke transactions from the Protostar CLI.
Performance improvements ~25%
Changelog
added test case profiling
added support for commenting below the Protostar documentation
added an option to run recently failed tests (--last-failed
)
added send_message_to_l2
cheatcode
added invoke command
added ability to provide a contract name instead of path in declare
and deploy_contract
test cheatcodes
improved performance (thanks @Solpatium )
improved error messages
improved documentation
changed how the contract name is provided to the migration cheatcodes — it is now resolved to the path in the compiled-contracts-dir
directory
changed the init
command to allow creating projects noninteractively
fixed mixing building output when the contract didn’t have entrypoints by creating an empty ABI file
made max_fee
required in commands and migration cheatcodes for v1 transactions
removed auto_estimate_fee
from the migration cheatcodes configuration in favor of max_fee=“auto”
You can’t perform that action at this time.