Skip to content

v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Oct 09:13
· 537 commits to master since this release

Highlights

  • Contract profiler — Protostar can dynamically analyze your contracts and help you optimize it.
    protostar-profiler
  • 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”