- 09 Feb, 2022 12 commits
-
-
Conner Fromknecht authored
Fixes a bug where clearing txs are rejected on startup if the gas limit is not set.
-
Conner Fromknecht authored
This was overlooked when https://github.com/ethereum-optimism/optimism/pull/2107 was merged.
-
Conner Fromknecht authored
-
smartcontracts authored
feat(sdk): remove getTokenBridgeMessages function
-
Kelvin Fichter authored
Removes the getTokenBridgeMessagesByAddress function from the SDK. This function is not particularly useful and its behavior is confusing. It's much easier for users of the package to simply use getDepositsByAddress and getWithdrawalsByAddress separately, since this is already what getTokenBridgeMessagesByAddress was doing under the hood.
-
smartcontracts authored
refactor: improve core-utils folder structure
-
Kelvin Fichter authored
Improves the folder structure within the core-utils to make it more intuitive. core-utils is now split into three primary folders, "common", "external", and "optimism". "common" includes TypeScript/JavaScript utilities not necessarily meant to be used with any particular package (like hex string utilities). "external" includes utilities that are meant to be used in conjunction with some other particular piece of tooling (ethers provider utilities, geth typings). "optimism" includes any utilities that are specifically meant to be used in the context of Optimism (like address aliasing utils, batch encoding utils).
-
smartcontracts authored
test: misc.ts in core-utils
-
Lord of the dance authored
-
smartcontracts authored
maintenance: remove regenesis-surgery package
-
Kelvin Fichter authored
Removes the regenesis-surgery package. The contents of this package are not being actively used in any capacity. We can look at Git history if we ever want to access the code again, but it's unlikely that we'll need this code because we've committed to not doing another regenesis.
-
smartcontracts authored
feat(sdk): implement asL2Provider
-
- 08 Feb, 2022 9 commits
-
-
Kelvin Fichter authored
Replaces usage of injectL2Context with the new asL2Provider function which is intended to eventually replace injectL2Context entirely.
-
Kelvin Fichter authored
Implements the asL2Provider function as well as various other useful functions for making queries about L2 transaction gas usage.
-
smartcontracts authored
Replaced sleep function in integration-tests
-
Antonis Kogias authored
-
Matthew Slipper authored
integration-tests: Support networks that aren't specified in the SDK
-
Matthew Slipper authored
The SDK expects all L1 contracts to be specified if the L1 chain ID isn't well-known. This PR makes the integration test setup always specify the L1 contracts, since networks like the nightly don't use a well-known chain ID.
-
smartcontracts authored
feat(sdk): allow withdrawals or deposits to target
-
Kelvin Fichter authored
This commit updates the SDK to add support for withdrawing or depositing to a target address (as opposed to simply depositing or withdrawing to yourself).
-
smartcontracts authored
feat(itests): remove Watcher from fundUser
-
- 07 Feb, 2022 4 commits
-
-
Kelvin Fichter authored
This commit removes the deprecated Watcher class from the fundUser function in favor of using the CrossChainMessenger class from the new Optimism SDK. This is part of a series of commits that are designed to eventually remove the Watcher entirely from the integration tests (and then from the entire repository).
-
smartcontracts authored
feat: use SDK for bridge integration tests
-
Kelvin Fichter authored
-
Kelvin Fichter authored
-
- 06 Feb, 2022 5 commits
-
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Develop -> Master PR
-
Matthew Slipper authored
maintenance: decrease geth diff
-
Kelvin Fichter authored
-
- 05 Feb, 2022 10 commits
-
-
Mark Tyneway authored
Remove some unused code
-
Mark Tyneway authored
dtl: handle errors in context api
-
smartcontracts authored
develop => master
-
smartcontracts authored
Version Packages
-
github-actions[bot] authored
-
smartcontracts authored
develop => master
-
Mark Tyneway authored
Both `GET /eth/context/latest` and `GET /eth/context/blocknumber/:number` rely on fetching a remote block to pull the timestamp, blocknumber and blockhash from. If the fetched block is not found, then properties on `null` will be attempted to be accessed which will result in a runtime error. This commit adds handling for this case to prevent that kind of bug.
-
smartcontracts authored
fix: correctly export SDK
-
kf authored
-
smartcontracts authored
master => develop
-