Skip to content

v6.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Mar 23:32
· 146 commits to main since this release

6.6.0 (2024-03-18)

Bug Fixes

  • provider: create prefetched txs correctly in Block object (8ef06f2), closes #75
  • provider: disable caching for local networks (26d6f63)
  • utils: add padding in apply and undo alias in order to return 20 bytes long address (a5a83b6)

Features

  • extract all files from the src folder into the build folder (e5f2209)
  • provider: add support for era test node (7be6040)
  • provider: remove support for the ZKSYNC_WEB3_API_URL environment variable (f5b8529)

Reverts

  • adapters: make AdapterL1.getFullRequiredDepositFee work with overrides (0ed9389)

BREAKING CHANGES

  • provider: Remove support for the ZKSYNC_WEB3_API_URL environment
    variable from the Provider.getDefaultProvider() to make it compatible
    with browser integration.
  • Previously, the build folder contained the src folder along
    with all the js and d.ts files. This setup resulted in a poor developer
    experience, as developers were required to use the src prefix in their imports
    (e.g., 'zksync-ethers/src/types'). Now, all files from the src folder are
    extracted, eliminating the need to specify the src prefix in the path.
  • adapters: Remove support from AdapterL1.getFullRequiredDepositFee for
    considering overrides.from as the initiator of the operation. This functionality
    was previously used to calculate the full deposit fee for accounts whose private
    key is unknown. However, this feature is no longer necessary because
    L1VoidSigner.getFullRequiredDepositFee is specifically designed to handle such
    cases.