Skip to content

Releases: matter-labs/anvil-zksync

Release: v0.2.1

04 Dec 16:24
93a7e23
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • fix: fixes gas params usage and add alias (#440)
  • fix: fixes broken logging and adds structure to logs (#411)
  • fix: proper handling of halted txs (#463)
  • fix: make manual mining produce non-empty blocks (#459)

✨ New Features:

  • feat: anvil_setRpcUrl (#451)
  • feat: add flags to control console logs (#443)
  • feat: add anvil_setNextBlockBaseFeePerGas (#450)
  • feat: add anvil_ pool manipulation methods (#447)
  • feat: add anvil_{get,set}Automine/anvil_setIntervalMining (#446)
  • feat: --no-mine mode (#445)
  • feat: add anvil_{set,remove}BlockTimestampInterval (#442)
  • feat: adds init and timestamp genesis cli params (#441)
  • feat: asynchronous and configurable block sealing (#392)

⚠️ Breaking Changes:

  • chore: renames era_test_node to anvil-zksync (#444)

📜 All Changes

  • chore: renames era_test_node to anvil-zksync (#444)
  • fix: fixes broken logging and adds structure to logs (#411)
  • fix: proper handling of halted txs (#463)
  • fix: make manual mining produce non-empty blocks (#459)
  • feat: add anvil_setRpcUrl (#451)
  • feat: add flags to control console logs (#443)
  • feat: add anvil_setNextBlockBaseFeePerGas (#450)
  • feat: add anvil_ pool manipulation methods (#447)
  • feat: add anvil_{get,set}Automine/anvil_setIntervalMining (#446)
  • feat: add --no-mine mode (#445)
  • feat: add anvil_{set,remove}BlockTimestampInterval (#442)
  • feat: adds init and timestamp genesis cli params (#441)
  • fix: fixes gas params usage and add alias (#440)
  • feat: asynchronous and configurable block sealing (#392)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 anvil-zksync-v0.2.1-x86_64-unknown-linux-gnu.tar.gz
aarch64 anvil-zksync-v0.2.1-aarch64-unknown-linux-gnu.tar.gz
x86_64 anvil-zksync-v0.2.1-x86_64-apple-darwin.tar.gz
aarch64 anvil-zksync-v0.2.1-aarch64-apple-darwin.tar.gz

Release: v0.2.0

04 Dec 14:57
ab71413
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • fix: fixes gas params usage and add alias (#440)
  • fix: fixes broken logging and adds structure to logs (#411)
  • fix: proper handling of halted txs (#463)
  • fix: make manual mining produce non-empty blocks (#459)

✨ New Features:

  • feat: anvil_setRpcUrl (#451)
  • feat: add flags to control console logs (#443)
  • feat: add anvil_setNextBlockBaseFeePerGas (#450)
  • feat: add anvil_ pool manipulation methods (#447)
  • feat: add anvil_{get,set}Automine/anvil_setIntervalMining (#446)
  • feat: --no-mine mode (#445)
  • feat: add anvil_{set,remove}BlockTimestampInterval (#442)
  • feat: adds init and timestamp genesis cli params (#441)
  • feat: asynchronous and configurable block sealing (#392)

⚠️ Breaking Changes:

  • chore: renames era_test_node to anvil-zksync (#444)

📜 All Changes

  • chore: renames era_test_node to anvil-zksync (#444)
  • fix: fixes broken logging and adds structure to logs (#411)
  • fix: proper handling of halted txs (#463)
  • fix: make manual mining produce non-empty blocks (#459)
  • feat: add anvil_setRpcUrl (#451)
  • feat: add flags to control console logs (#443)
  • feat: add anvil_setNextBlockBaseFeePerGas (#450)
  • feat: add anvil_ pool manipulation methods (#447)
  • feat: add anvil_{get,set}Automine/anvil_setIntervalMining (#446)
  • feat: add --no-mine mode (#445)
  • feat: add anvil_{set,remove}BlockTimestampInterval (#442)
  • feat: adds init and timestamp genesis cli params (#441)
  • fix: fixes gas params usage and add alias (#440)
  • feat: asynchronous and configurable block sealing (#392)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 anvil-zksync-v0.2.0-x86_64-unknown-linux-gnu.tar.gz
aarch64 anvil-zksync-v0.2.0-aarch64-unknown-linux-gnu.tar.gz
x86_64 anvil-zksync-v0.2.0-x86_64-apple-darwin.tar.gz
aarch64 anvil-zksync-v0.2.0-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.34

26 Nov 17:14
16c4d6d
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • fix: add back legacy rich wallets (#439)

✨ New Features:

  • feat: adds fork-transaction-hash and rename network to fork-url (#431)
  • feat: add anvil_setMinGasPrice as an unimplemented method (#438)
  • feat: add anvil_setLoggingEnabled (#437)
  • feat: add anvil_snapshot/anvil_revert (#432)
  • feat: adds --auto-impersonate cli cmd (#430)

⚠️ Breaking Changes:

  • N/A

📜 All Changes

  • chore: add back legacy rich wallets (#439)
  • feat: adds fork-transaction-hash and rename network to fork-url (#431)
  • feat: add anvil_setMinGasPrice as an unimplemented method (#438)
  • feat: add anvil_setLoggingEnabled (#437)
  • feat: add anvil_snapshot/anvil_revert (#432)
  • feat: adds --auto-impersonate cli cmd (#430)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.34-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.34-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.34-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.34-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.33

25 Nov 15:00
80982f3
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • fix: update config api reference (#412)
  • fix: fix issue with balance usage (#393)

✨ New Features:

  • feat: adds-host-cli-option (#395)
  • feat: add anvil_setTime, anvil_increaseTime, anvil_setNextBlockTimestamp (#421)
  • feat: add anvil_autoImpersonateAccount (#416)
  • feat: Add support for health check endpoint (#410)
  • feat(spec-tests): enforce spec-tests in CI (#400)
  • feat: adds config-out cli option (#394)
  • feat: adds account configuration options (#388)
  • feat: add support for timestamp asserter (#383)
  • feat(spec-tests): add execution-apis submodule (#381)

⚠️ Breaking Changes:

  • feat: adds account configuration options (#388): Removes previous RICH accounts, be sure to update to make use of the new dev accounts that are printed during startup.

📜 All Changes

  • chore: prepare next release (#429)
  • obtain compressed bytecodes from vm.push_transction (#427)
  • feat: adds-host-cli-option (#395)
  • fix: update config api reference (#412)
  • feat: add anvil_setTime, anvil_increaseTime, anvil_setNextBlockTimestamp (#421)
  • feat: add anvil_autoImpersonateAccount (#416)
  • feat: Add support for health check endpoint (#410)
  • feat(spec-tests): enforce spec-tests in CI (#400)
  • ci: Add workflow to build (private) docker images (#399)
  • fix: fix issue with balance usage (#393)
  • feat: adds config-out cli option (#394)
  • feat: adds account configuration options (#388)
  • refactor: move impersonation management into its own component (#391)
  • refactor: separate block sealing logic from executing txs (#389)
  • refactor: move time management into its own component (#385)
  • chore: refactors configuration and cli structure / usage (#384)
  • feat: add support for timestamp asserter (#383)
  • chore: bump version for release (#382)
  • feat(spec-tests): add execution-apis submodule (#381)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.33-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.33-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.33-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.33-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.32

11 Nov 14:02
2cece10
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • Fix typo in arg name dev-system-contracts to dev_system_contracts
  • Default run command now dynamically fetches fee params

📜 All Changes

  • fix: update run with dynamic fee params (#377)
  • remove erroneous clap::requires (#380)
  • fix arg required name (#379)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.32-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.32-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.32-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.32-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.31

05 Nov 16:58
dc3d9bd
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • fix(refactor): update so forked networks chainID is used and rename fork-at to fork-block-number` (#372)

✨ New Features:

  • feat: eth spec conformation test suite (#373)

⚠️ Breaking Changes:

  • TBD

📜 All Changes

  • chore: bump oml for release (#378)
  • fix(refactor): update so forked networks chainID is used and rename fork-at to fork-block-number` (#372)
  • feat: eth spec conformation test suite (#373)
  • refactor: Clean up dependencies (#370)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.31-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.31-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.31-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.31-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.30

30 Oct 21:32
a219915
Compare
Choose a tag to compare

📋 Summary

✨ New Features:

  • feat: Allow overriding the chain id when starting era-test-node locally (#361)
  • feat: adds hardhat_getAutomine for evm emulator and hardhat ignition usage (#357)
  • feat: populate block fields (#360)
  • feat: Conditionally enable EVM emulation (#355)

📜 All Changes

  • chore: prep for release (#371)
  • feat: Allow overriding the chain id when starting era-test-node locally (#361)
  • feat: adds hardhat_getAutomine for evm emulator and hardhat ignition usage (#357)
  • feat: populate block fields (#360)
  • feat: Conditionally enable EVM emulation (#355)
  • update zksync deps (#352)
  • chore: bump version for previous release (#353)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.30-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.30-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.30-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.30-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.29

27 Sep 14:39
09c7ed8
Compare
Choose a tag to compare

📋 Summary

✨ New Features:

  • Resolving hashes is now MUCH faster with file-based cache for all OpenChain.xyz requests
  • Support for zks_getBaseTokenL1Address added
  • Gas diff usage is now visible within the call stack of transactions
  • Low-Level VM errors are now displayed for better debugging

⚠️ Breaking Changes:

  • zksync-era and era-contracts dependencies have been updated to the latest zkEVM
  • hardhat_mine now correctly accepts seconds as input (as opposed to ms)

📜 All Changes

  • fix: fixes release pipeline due bump in rust version (#351)
  • feat: Add support for zks_getBaseTokenL1Address. Add gas used per call in the stack. (#350)
  • chore: update zksync deps (#349)
  • feat: Add persistent cache to OpenChain hash resolving requests (#348)
  • fix: Update hardhat_mine interval units from milliseconds to seconds (#338)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.29-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.29-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.29-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.29-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.27

13 Sep 11:09
5ad9652
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • --resolve-hashes works again and is now retrieving signatures from openchain.xyz

✨ New Features:

  • NEW -d flag to quickly configure era_test_node for smart contract debugging!
  • NEW ability to override contract bytecode with a local version (Really useful when replaying mainnet transactions and observing how they would behave on different bytecode)
    • Prepare a directory with files in the format 0x<address>.json containing the JSON output of zkout directories from your compiler.
    • Then, add --override-bytecodes-dir=XX flag to point at that directory (See the example_override/ dir for more details)
    • Ex: era_test_node --override-bytecodes-dir=example_override fork mainnet

📜 All Changes

  • chore: increment version (#344)
  • feat: Allow bytecode replacement (#336)
  • feat: Add debug-mode flag (#343)
  • fix: Resolve hashes now uses the new openchain.xyz endpoint (#342)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.27-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.27-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.27-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.27-aarch64-apple-darwin.tar.gz

Release: v0.1.0-alpha.26

06 Sep 14:55
1f6653c
Compare
Choose a tag to compare

📋 Summary

🐛 Bug Fixes:

  • Gas Limit per block is correctly updated to u64::MAX

✨ New Features:

  • 9 NEW endpoints!!
    • evm_setAccountNonce
    • anvil_setNonce
    • anvil_impersonateAccount
    • anvil_stopImpersonatingAccount
    • anvil_mine
    • anvil_reset
    • anvil_setBalance
    • anvil_setCode
    • anvil_setStorageAt
  • Better error handling when forking an upstream network
  • L2 Fair pubdata prices are now used for forked networks

⚠️ Breaking Changes:

  • hardhat_setCode now accepts string encoding of a hex value
  • evm_setNextBlockTimestamp now accepts a u64 and returns a u64. It now more closely matches the behavior of hardhat's default and sets the number to the next (as opposed to current) timestamp

📜 All Changes

  • chore: Update release version (#340)
  • fix: Update gas estimation logic for forks (#339)
  • test: Add test for hardhat_reset (#333)
  • feat: anvil API (#313)
  • fix: returning errors from fork handling (#335)
  • fix: changed evm_setNextBlockTimestamp (#321)
  • fix: changed hardhat_setCode code type (#327)
  • fix: returning errors from from_network and from_network_tx (#316)
  • fix: Use actual replayed tx's gas and pubdata prices to replay tx. (#319)
  • Fix Link on README.md (#314)

⭐ Contributors

📥 Binaries

System Architecture Binary
x86_64 era-test-node-v0.1.0-alpha.26-x86_64-unknown-linux-gnu.tar.gz
aarch64 era-test-node-v0.1.0-alpha.26-aarch64-unknown-linux-gnu.tar.gz
x86_64 era-test-node-v0.1.0-alpha.26-x86_64-apple-darwin.tar.gz
aarch64 era-test-node-v0.1.0-alpha.26-aarch64-apple-darwin.tar.gz