github.com/ethereum-optimism/optimism@v1.7.2/packages/core-utils/CHANGELOG.md (about) 1 # @eth-optimism/core-utils 2 3 ## 0.13.1 4 5 ### Patch Changes 6 7 - [#7450](https://github.com/ethereum-optimism/optimism/pull/7450) [`ac90e16a7`](https://github.com/ethereum-optimism/optimism/commit/ac90e16a7f85c4f73661ae6023135c3d00421c1e) Thanks [@roninjin10](https://github.com/roninjin10)! - Updated dev dependencies related to testing that is causing audit tooling to report failures 8 9 ## 0.13.0 10 11 ### Minor Changes 12 13 - [#7336](https://github.com/ethereum-optimism/optimism/pull/7336) [`210b2c81d`](https://github.com/ethereum-optimism/optimism/commit/210b2c81dd383bad93480aa876b283d9a0c991c2) Thanks [@tynes](https://github.com/tynes)! - Delete unmaintained geth types 14 15 ## 0.12.3 16 17 ### Patch Changes 18 19 - [#6797](https://github.com/ethereum-optimism/optimism/pull/6797) [`dfa309e34`](https://github.com/ethereum-optimism/optimism/commit/dfa309e3430ebc8790b932554dde120aafc4161e) Thanks [@roninjin10](https://github.com/roninjin10)! - Upgraded npm dependencies to latest 20 21 ## 0.12.2 22 23 ### Patch Changes 24 25 - [#6164](https://github.com/ethereum-optimism/optimism/pull/6164) [`c11039060`](https://github.com/ethereum-optimism/optimism/commit/c11039060bc037a88916c2cba602687b6d69ad1a) Thanks [@pengin7384](https://github.com/pengin7384)! - fix typo 26 27 - [#6198](https://github.com/ethereum-optimism/optimism/pull/6198) [`77da6edc6`](https://github.com/ethereum-optimism/optimism/commit/77da6edc643e0b5e39f7b6bb41c3c7ead418a876) Thanks [@tremarkley](https://github.com/tremarkley)! - Delete dead typescript https://github.com/ethereum-optimism/optimism/pull/6148. 28 29 ## 0.12.1 30 31 ### Patch Changes 32 33 - 8d7dcc70c: Delete legacy core-utils 34 - d6388be4a: Added a new service wallet-mon to identify unexpected transfers from key accounts 35 36 ## 0.12.0 37 38 ### Minor Changes 39 40 - c975c9620: Add suppory for finalizing legacy withdrawals after the Bedrock migration 41 42 ### Patch Changes 43 44 - 136ea1785: Refactors the L2OutputOracle to key the l2Outputs mapping by index instead of by L2 block number. 45 46 ## 0.11.0 47 48 ### Minor Changes 49 50 - 1e76cdb86: Changes the type for Bedrock withdrawal proofs 51 52 ## 0.10.1 53 54 ### Patch Changes 55 56 - 7215f4ce: Bump ethers to 5.7.0 globally 57 - 206f6033: Fix outdated references to 'withdrawal contract' 58 59 ## 0.10.0 60 61 ### Minor Changes 62 63 - dbfea116: Removes ethers as a dependency in favor of individual ethers sub-packages 64 65 ## 0.9.3 66 67 ### Patch Changes 68 69 - 0df744f6: Implement basic OpNodeProvider 70 - 8ae39154: Update deposit transaction type 71 - 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. 72 73 ## 0.9.2 74 75 ### Patch Changes 76 77 - 0bf3b9b4: Add encoding and hashing functions for bedrock 78 - 8d26459b: Remove subversion byte from deposit tx 79 - 4477fe9f: Update deposit transaction serialization 80 81 ## 0.9.1 82 83 ### Patch Changes 84 85 - f9fee446: Move the `DepositTx` type to `core-utils`. This way it can be more easily used across projects 86 87 ## 0.9.0 88 89 ### Minor Changes 90 91 - 700dcbb0: Update geth's Genesis type to work with modern geth 92 93 ## 0.8.7 94 95 ### Patch Changes 96 97 - 29ff7462: Revert es target back to 2017 98 99 ## 0.8.6 100 101 ### Patch Changes 102 103 - 17962ca9: Update geth genesis type 104 105 ## 0.8.5 106 107 ### Patch Changes 108 109 - d18ae135: Updates all ethers versions in response to BN.js bug 110 111 ## 0.8.4 112 113 ### Patch Changes 114 115 - 5cb3a5f7: Add a `calldataCost` function that computes the cost of calldata 116 - 6b9fc055: Adds a one-liner for getting chain ID from provider 117 118 ## 0.8.3 119 120 ### Patch Changes 121 122 - b57014d1: Update to typescript@4.6.2 123 124 ## 0.8.2 125 126 ### Patch Changes 127 128 - c1957126: Update Dockerfile to use Alpine 129 130 ## 0.8.1 131 132 ### Patch Changes 133 134 - 5a6f539c: Add toJSON methods to the batch primitives 135 - 27d8942e: Update batch serialization with typed batches and zlib compression 136 137 ## 0.8.0 138 139 ### Minor Changes 140 141 - 0b4453f7: Deletes the Watcher and injectL2Context functions. Use the SDK instead. 142 143 ## 0.7.7 144 145 ### Patch Changes 146 147 - b4165299: Added tests and docstrings to misc functions 148 - 3c2acd91: Refactor folder structure of @eth-optimism/core-utils. 149 150 ## 0.7.6 151 152 ### Patch Changes 153 154 - ba14c59d: Updates various ethers dependencies to their latest versions 155 156 ## 0.7.5 157 158 ### Patch Changes 159 160 - ad94b9d1: test/docs: Improve docstrings and tests for utils inside of hex-strings.ts 161 162 ## 0.7.4 163 164 ### Patch Changes 165 166 - ba96a455: Improved docstrings for BCFG typings 167 - c3e85fef: Cleans up the internal file and folder structure for the typings exported by core-utils 168 169 ## 0.7.3 170 171 ### Patch Changes 172 173 - 584cbc25: Clean up the L1 => L2 address aliasing utilities 174 175 ## 0.7.2 176 177 ### Patch Changes 178 179 - 8e634b49: Fix package JSON issues 180 181 ## 0.7.1 182 183 ### Patch Changes 184 185 - 243f33e5: Standardize package json file format 186 187 ## 0.7.0 188 189 ### Minor Changes 190 191 - 896168e2: Parse optimistic ethereum specific fields on transaction receipts 192 - 83a449c4: Change the expectApprox interface to allow setting an absoluteexpected deviation range 193 - 81ccd6e4: `regenesis/0.5.0` release 194 195 ### Patch Changes 196 197 - 3ce62c81: Export bnToAddress 198 - cee2a464: Add awaitCondition to core utils 199 - 222a3eef: Add 'User-Agent' to the http headers for ethers providers 200 - 7c352b1e: Add bytes32ify 201 - b70ee70c: upgraded to solidity 0.8.9 202 - 20c8969b: Correctly move chai into deps instead of dev deps 203 - 6d32d701: Expose lower level API for tx fees 204 205 ## 0.6.1 206 207 ### Patch Changes 208 209 - 6d3e1d7f: Update dependencies 210 - 2e929aa9: Parse the L1 timestamp in `injectContext` 211 212 ## 0.6.0 213 214 ### Minor Changes 215 216 - 8da04505: Allow a configurable L1 and L2 blocks to fetch in the watcher 217 218 ### Patch Changes 219 220 - e0be02e1: Add fallback provider support to DTL using helper function in core-utils 221 222 ## 0.5.5 223 224 ### Patch Changes 225 226 - eb0854e7: increased coverage of core-utils 227 - 21b17edd: Added coverage for packages 228 - dfe3598f: Lower per tx fee overhead to more accurately represent L1 costs 229 230 ## 0.5.4 231 232 ### Patch Changes 233 234 - 085b35ba: Watcher: Even lower num blocks to fetch 235 236 ## 0.5.3 237 238 ### Patch Changes 239 240 - 2aa4416e: Watcher: Make blocks to fetch a config option 241 - 0b8180b0: Lower NUM_BLOCKS_TO_FETCH in Watcher 242 243 ## 0.5.2 244 245 ### Patch Changes 246 247 - 918c08ca: Bump ethers dependency to 5.4.x to support eip1559 248 249 ## 0.5.1 250 251 ### Patch Changes 252 253 - c73c3939: Update the typescript version to `4.3.5` 254 255 ## 0.5.0 256 257 ### Minor Changes 258 259 - 049200f4: removed unused functions from core-utils 260 261 ## 0.4.7 262 263 ### Patch Changes 264 265 - 224b04c0: Adds a pollInterval delay to watcher.ts 266 267 ## 0.4.6 268 269 ### Patch Changes 270 271 - d9644c34: Minor fix on watchers to pick up finalization of transactions on L1 272 - df5ff890: improved watcher ability to find transactions during periods of high load 273 274 ## 0.4.5 275 276 ### Patch Changes 277 278 - a64f8161: Implement the next fee spec in both geth and in core-utils 279 - 750a5021: Delete dead transaction coders. These are no longer used now that RLP encoded transactions are used 280 - c2b6e14b: Implement the latest fee spec such that the L2 gas limit is scaled and the tx.gasPrice/tx.gasLimit show correctly in metamask 281 282 ## 0.4.4 283 284 ### Patch Changes 285 286 - f091e86: Have watcher correctly handle failed L1 => L2 messages 287 - f880479: End to end fee integration with recoverable L2 gas limit 288 289 ## 0.4.3 290 291 ### Patch Changes 292 293 - 96a586e: Migrate bcfg interface to core-utils 294 295 ## 0.4.2 296 297 ### Patch Changes 298 299 - b799caa: Update toRpcHexString to accept ethers.BigNumber and add tests 300 301 ## 0.4.1 302 303 ### Patch Changes 304 305 - 1d40586: Removed various unused dependencies 306 - ce7fa52: Add an additional enum for EthSign transactions as they now are batch submitted with 2 different enum values 307 308 ## 0.4.0 309 310 ### Minor Changes 311 312 - 28dc442: move metrics, logger, and base-service to new common-ts package 313 314 ### Patch Changes 315 316 - a0a0052: Update toRpcHexString to accept ethers.BigNumber and add tests 317 318 ## 0.3.2 319 320 ### Patch Changes 321 322 - 6daa408: update hardhat versions so that solc is resolved correctly 323 - dee74ef: migrate batch submitter types to core-utils 324 - d64b66d: reformat error context for Sentry 325 326 ## 0.3.1 327 328 ### Patch Changes 329 330 - 5077441: - Use raw transaction in batch submitter -- incompatible with L2Geth v0.1.2.1 331 - Pass through raw transaction in l2context 332 333 ## 0.3.0 334 335 ### Minor Changes 336 337 - 91460d9: add Metrics and use in base-service, rename DTL services to avoid spaces 338 - a0a7956: initialize Sentry and streams in Logger, remove Sentry from Batch Submitter 339 340 ### Patch Changes 341 342 - 0497d7d: Re-organize event typings to core-utils 343 344 ## 0.2.3 345 346 ### Patch Changes 347 348 - 35b99b0: add Sentry to TypeScript services for error tracking 349 350 ## 0.2.2 351 352 ### Patch Changes 353 354 - 01eaf2c: added extra logs to base-service / dtl to improve observability 355 356 ## 0.2.1 357 358 ### Patch Changes 359 360 - 5362d38: adds build files which were not published before to npm 361 362 ## 0.2.0 363 364 ### Minor Changes 365 366 - 6cbc54d: allow injecting L2 transaction and block context via core-utils (this removes the need to import the now deprecated @eth-optimism/provider package)