Skip to content

Latest commit

 

History

History
755 lines (507 loc) · 21.8 KB

CHANGELOG.md

File metadata and controls

755 lines (507 loc) · 21.8 KB

@eth-optimism/sdk

3.2.0

Minor Changes

Patch Changes

3.1.8

Patch Changes

3.1.7

Patch Changes

3.1.6

Patch Changes

3.1.5

Patch Changes

3.1.4

Patch Changes

3.1.3

Patch Changes

3.1.2

Patch Changes

3.1.1

Patch Changes

3.1.0

Minor Changes

Patch Changes

3.0.0

Major Changes

  • 119754c2f: Make optimism/sdk default to bedrock mode

Patch Changes

2.1.0

Minor Changes

  • 5063a69fb: Update sdk contract addresses for bedrock

Patch Changes

  • a1b7ff9e3: add eco bridge adapter
  • 8133872ed: Fix firefox bug with getTokenPair
  • afc2ab8c9: Update the migrated withdrawal gas limit for non goerli networks
  • aa854bdd8: Add warning if bedrock is not turned on
  • Updated dependencies [f1e867177]
  • Updated dependencies [197884eae]
  • Updated dependencies [6eb05430d]
  • Updated dependencies [5063a69fb]

2.0.2

Patch Changes

  • be3315689: Have SDK automatically create Standard and ETH bridges when L1StandardBridge is provided.
  • Updated dependencies [b16067a9f]
  • Updated dependencies [9a02079eb]
  • Updated dependencies [98fbe9d22]

2.0.1

Patch Changes

  • 66cafc00a: Update migrated withdrawal gaslimit calculation
  • Updated dependencies [22c3885f5]
  • Updated dependencies [f52c07529]

2.0.0

Major Changes

  • cb19e2f9c: Moves FINALIZATION_PERIOD_SECONDS from the OptimismPortal to the L2OutputOracle & ensures the CHALLENGER key cannot delete finalized outputs.

Patch Changes

1.10.4

Patch Changes

1.10.3

Patch Changes

  • Updated dependencies [7c0a2cc37]
  • Updated dependencies [2865dd9b4]
  • Updated dependencies [efc98d261]
  • Updated dependencies [388f2c25a]

1.10.2

Patch Changes

  • 5372c9f5b: Remove assert node builtin from sdk
  • Updated dependencies [3c22333b8]

1.10.1

Patch Changes

1.10.0

Minor Changes

  • 3f4b3c328: Add in goerli bedrock addresses

1.9.1

Patch Changes

1.9.0

Minor Changes

  • d1f9098f9: Removes support for Kovan

Patch Changes

  • ba8b94a60: Don't pass 0 gasLimit for migrated withdrawals
  • Updated dependencies [fe80a9488]
  • Updated dependencies [827fc7b04]
  • Updated dependencies [a2166dcad]
  • Updated dependencies [ff09ec22d]
  • Updated dependencies [85dfa9fe2]
  • Updated dependencies [d1f9098f9]
  • Updated dependencies [0f8fc58ad]
  • Updated dependencies [89f70c591]
  • Updated dependencies [03940c3cb]

1.8.0

Minor Changes

  • c975c9620: Add suppory for finalizing legacy withdrawals after the Bedrock migration

Patch Changes

  • 767585b07: Removes an unused variable from the SDK
  • 136ea1785: Refactors the L2OutputOracle to key the l2Outputs mapping by index instead of by L2 block number.
  • Updated dependencies [43f33f39f]
  • Updated dependencies [237a351f1]
  • Updated dependencies [1d3c749a2]
  • Updated dependencies [c975c9620]
  • Updated dependencies [1594678e0]
  • Updated dependencies [1d3c749a2]
  • Updated dependencies [136ea1785]
  • Updated dependencies [4d13f0afe]
  • Updated dependencies [7300a7ca7]

1.7.0

Minor Changes

  • 1bfe79f20: Adds an implementation of the Two Step Withdrawals V2 proposal

Patch Changes

  • Updated dependencies [c025a1153]
  • Updated dependencies [f8697a607]
  • Updated dependencies [59adcaa09]
  • Updated dependencies [c71500a7e]
  • Updated dependencies [f49b71d50]
  • Updated dependencies [1bfe79f20]
  • Updated dependencies [ccaf5bc83]

1.6.11

Patch Changes

  • Updated dependencies [52079cc12]
  • Updated dependencies [13bfafb21]
  • Updated dependencies [eeae96941]
  • Updated dependencies [427831d86]

1.6.10

Patch Changes

  • Updated dependencies [1e76cdb86]
  • Updated dependencies [c02831144]
  • Updated dependencies [d58b0a397]
  • Updated dependencies [ff860ecf3]
  • Updated dependencies [cc5adbc61]
  • Updated dependencies [31c91ea74]
  • Updated dependencies [87702c741]

1.6.9

Patch Changes

  • Updated dependencies [db84317b]
  • Updated dependencies [9b90c732]

1.6.8

Patch Changes

1.6.7

Patch Changes

  • b40913b1: Adds contract addresses for the Bedrock Alpha testnet
  • a5e715c3: Rename the event emitted in the L2ToL1MessagePasser
  • Updated dependencies [35a7bb5e]
  • Updated dependencies [a5e715c3]
  • Updated dependencies [d18b8aa3]

1.6.6

Patch Changes

  • Updated dependencies [6ed68fa3]
  • Updated dependencies [628affc7]
  • Updated dependencies [3d4e8529]
  • Updated dependencies [caf5dd3e]
  • Updated dependencies [740e1bcc]
  • Updated dependencies [a6cbfee2]
  • Updated dependencies [394a26ec]

1.6.5

Patch Changes

  • e2faaa8b: Update for new BedrockMessagePasser contract
  • Updated dependencies [cb5fed67]
  • Updated dependencies [c427f0c0]
  • Updated dependencies [e2faaa8b]
  • Updated dependencies [d28ad592]
  • Updated dependencies [76c8ee2d]

1.6.4

Patch Changes

  • 7215f4ce: Bump ethers to 5.7.0 globally
  • 206f6033: Fix outdated references to 'withdrawal contract'
  • d7679ca4: Add source maps
  • Updated dependencies [88dde7c8]
  • Updated dependencies [7215f4ce]
  • Updated dependencies [249a8ed6]
  • Updated dependencies [7d7c4fdf]
  • Updated dependencies [e164e22e]
  • Updated dependencies [0bc1be45]
  • Updated dependencies [af3e56b1]
  • Updated dependencies [206f6033]
  • Updated dependencies [88dde7c8]
  • Updated dependencies [8790156c]
  • Updated dependencies [515685f4]

1.6.3

Patch Changes

1.6.2

Patch Changes

  • cfa81f88: Add DAI bridge support to Goerli
  • Updated dependencies [85232179]
  • Updated dependencies [593f1cfb]
  • Updated dependencies [334a3eb0]
  • Updated dependencies [f78eb056]

1.6.1

Patch Changes

  • b27d0fa7: Add wsteth support for DAI bridge to sdk
  • Updated dependencies [7fdc490c]
  • Updated dependencies [3d228a0e]
  • Updated dependencies [dbfea116]
  • Updated dependencies [63ef1949]
  • Updated dependencies [299157e7]

1.6.0

Minor Changes

  • 3af9c7a9: Removes the ICrossChainMessenger interface to speed up SDK development.

Patch Changes

  • 3df66a9a: Fix eth withdrawal bug
  • 8323407f: Fixes a bug in the SDK for certain bridge withdrawals.
  • aa2949ef: Add eth withdrawal support
  • a1a73e64: Updates the SDK to pull contract addresses from the deployments of the contracts package. Updates the Contracts package to export a function that makes it possible to pull deployed addresses.
  • f53c30b9: Minor refactor to variables within the SDK package.
  • Updated dependencies [a095d544]
  • Updated dependencies [cdf2163e]
  • Updated dependencies [791f30bc]
  • Updated dependencies [193befed]
  • Updated dependencies [0c2719f8]
  • Updated dependencies [02420db0]
  • Updated dependencies [94a8f287]
  • Updated dependencies [7d03c5c0]
  • Updated dependencies [fec22bfe]
  • Updated dependencies [9272253e]
  • Updated dependencies [a1a73e64]
  • Updated dependencies [c025f418]
  • Updated dependencies [329d21b6]
  • Updated dependencies [35eafed0]
  • Updated dependencies [3cde9205]

1.5.0

Minor Changes

  • dcd715a6: Update wsteth bridge address

1.4.0

Minor Changes

  • f05ab6b6: Add wstETH to sdk
  • dac4a9f0: Updates the SDK to be compatible with Bedrock (via the "bedrock: true" constructor param). Updates the build pipeline for contracts-bedrock to export a properly formatted dist folder that matches our other packages.

Patch Changes

  • Updated dependencies [056cb982]
  • Updated dependencies [a32e68ac]
  • Updated dependencies [c648d55c]
  • Updated dependencies [d544f804]
  • Updated dependencies [ccbfe545]
  • Updated dependencies [c97ad241]
  • Updated dependencies [0df744f6]
  • Updated dependencies [45541553]
  • Updated dependencies [3dd296e8]
  • Updated dependencies [fe94b864]
  • Updated dependencies [28649d64]
  • Updated dependencies [898c7ac5]
  • Updated dependencies [51a1595b]
  • Updated dependencies [8ae39154]
  • Updated dependencies [af96563a]
  • Updated dependencies [dac4a9f0]

1.3.1

Patch Changes

  • 680714c1: Updates the CCM to throw a better error for missing or invalid chain IDs
  • 29830750: Update the Goerli SCC's address
  • Updated dependencies [0bf3b9b4]
  • Updated dependencies [8d26459b]
  • Updated dependencies [4477fe9f]
  • Updated dependencies [1de4f48e]

1.3.0

Minor Changes

  • 032f7214: Update Goerli SDK addresses for new Goerli testnet

1.2.1

Patch Changes

1.2.0

Minor Changes

  • 977493bc: Have SDK use L2 chain ID as the source of truth.

Patch Changes

1.1.9

Patch Changes

1.1.8

Patch Changes

  • Updated dependencies [7c5ac36f]
  • Updated dependencies [3d4d988c]

1.1.7

Patch Changes

1.1.6

Patch Changes

1.1.5

Patch Changes

  • 86901552: Fixes a bug in the SDK which would cause the SDK to throw if no tx nonce is provided

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

  • 1338135c: Fixes a bug where the wrong Overrides type was being used for gas estimation functions

1.1.0

Minor Changes

  • a9f8e577: New isL2Provider helper function. Internal cleanups.

Patch Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

  • d49feca1: Comment out non-functional getMessagesByAddress function
  • Updated dependencies [88601cb7]

1.0.1

Patch Changes

  • 7ae1c67f: Update package json to include correct repo link
  • 47e5d118: Tighten type restriction on ProviderLike
  • Updated dependencies [175ae0bf]

1.0.0

Major Changes

  • 84f63c49: Update README and bump SDK to 1.0.0

Patch Changes

  • 42227d69: Fix typo in constructor docstring

0.2.5

Patch Changes

  • b66e3131: Add a function for waiting for a particular message status
  • Updated dependencies [962f36e4]
  • Updated dependencies [f2179e37]
  • Updated dependencies [b6a4fa4b]
  • Updated dependencies [b7c0a5ca]
  • Updated dependencies [5a6f539c]
  • Updated dependencies [27d8942e]

0.2.4

Patch Changes

  • 44420939: 1. Fix a bug in L2Provider.getL1GasPrice() 2. Make it easier to get correct estimates from L2Provider.estimateL1Gas() and L2.estimateL2GasCost.

0.2.3

Patch Changes

  • f37c283c: Have SDK properly handle case when no batches are submitted yet
  • 3f4d3c13: Have SDK wait for transactions in getMessagesByTransaction
  • 0c54e60e: Add approval functions to the SDK
  • Updated dependencies [0b4453f7]
  • Updated dependencies [78298782]

0.2.2

Patch Changes

  • fd6ea3ee: Adds support for depositing or withdrawing to a target address
  • 5ffb5fcf: Removes the getTokenBridgeMessagesByAddress function
  • dd4b2055: This update implements the asL2Provider function
  • f08c06a8: Updates the SDK to include default bridges for the local Optimism network (31337)
  • da53dc64: Have SDK sort deposits/withdrawals descending by block number
  • Updated dependencies [b4165299]
  • Updated dependencies [3c2acd91]

0.2.1

Patch Changes

0.2.0

Minor Changes

  • dd9683bb: Correctly export SDK contents

0.1.0

Minor Changes

  • cb65f3d8: Beta release of the Optimism SDK

Patch Changes

  • ba14c59d: Updates various ethers dependencies to their latest versions
  • 64e746b6: Have SDK include ethers as a peer dependency
  • Updated dependencies [ba14c59d]

0.0.7

Patch Changes

0.0.6

Patch Changes

0.0.5

Patch Changes

0.0.4

Patch Changes

  • Updated dependencies [b3efb8b7]
  • Updated dependencies [279603e5]
  • Updated dependencies [b6040bb3]

0.0.3

Patch Changes

0.0.2

Patch Changes

  • Updated dependencies [bbd42e03]
  • Updated dependencies [453f0774]