- 20 Feb, 2022 2 commits
-
-
smartcontracts authored
feat(sdk): add approval fns to the SDK
-
kf authored
-
- 18 Feb, 2022 3 commits
-
-
Matthew Slipper authored
fix: handle null response in `eth_getBlockRange`
-
Elena Gesheva authored
feat: verify contracts on sourcify during deploy
-
rajivpoc authored
-
- 17 Feb, 2022 4 commits
-
-
smartcontracts authored
fix(sdk): have sdk properly wait for transactions
-
smartcontracts authored
fix(sdk): correctly handle no batch case
-
kf authored
-
kf authored
Fixes the SDK so that it correctly handles the case where no batches have been submitted to the StateCommitmentChain yet. Only happens in development or immediately after a new chain is started.
-
- 16 Feb, 2022 6 commits
-
-
smartcontracts authored
feat(mr): log when txs are sent
-
kf authored
Has the Message Relayer log transaction hashes when transactions are sent.
-
smartcontracts authored
fix: update PR labeler to include SDK
-
Murphy Law authored
l2geth: Increase genesis file fetch timeout
-
inphi authored
-
Mark Tyneway authored
The RPC endpoint `eth_getBlockRange` is a custom endpoint that was added to `l2geth` to speed up pulling in data from the sequencer to run a replica of the sequencer. A `null` response is not handled properly, this commit adds the retries and errors after too many retries. It linearly backs off its timing with each retry
-
- 15 Feb, 2022 1 commit
-
-
kf authored
Updates the PR labeler to correctly label the SDK. I noticed that the SDK was not being correctly labeled and realized that I had to add it to this file.
-
- 12 Feb, 2022 3 commits
-
-
smartcontracts authored
maintenance: deleted watch-utils and added the utilities in env.ts
-
Antonis Kogias authored
-
smartcontracts authored
fix: update recommended memory for ops setup
-
- 11 Feb, 2022 13 commits
-
-
Matthew Slipper authored
fix: edge case in go/txmgr not waiting for numConfs
-
Matthew Slipper authored
feat: add teleportr Postgres backend
-
Matthew Slipper authored
feat: update message-relayer to use the SDK
-
Matthew Slipper authored
feat(core-utils): remove Watcher and injectL2Context
-
Kelvin Fichter authored
An issue was recently reported (#2191) that showed that 4gb was not sufficient to run the docker setup. This commit updates the recommended amount of memory to 8gb.
-
Kelvin Fichter authored
-
Kelvin Fichter authored
Replaces usage of injectL2Context with asL2Provider within the batch submitter and the replica healthcheck service.
-
smartcontracts authored
Removed duplicated utilities in data-transport-layer
-
Conner Fromknecht authored
-
Conner Fromknecht authored
-
Conner Fromknecht authored
-
smartcontracts authored
maintenance: minor README updates
-
Kelvin Fichter authored
Removes all message relaying utilities found inside the message-relayer package. All of these utilities are now present in the SDK. Also re-implements the message-relayer service with the utilities found in the SDK.
-
- 10 Feb, 2022 8 commits
-
-
Conner Fromknecht authored
This change adds an additional IsWaitingForConfirmation method to the txmgr.SendState, which returns true if it is aware of at least one mined tx. This allows the txmgr to skip publishing new txs while we are waiting for additional confirmation on a mined tx, which in turn reduces the number of useless API calls we make to the backend provider. As an additional benefit, this also reduces the likelihood of a false positive sample from ShouldAbortImmediately since it will stop processing errors while we have a mined tx.
-
Conner Fromknecht authored
-
Conner Fromknecht authored
This commit adds a new SendState struct, which is used internally by the txmgr to determine if we should give up on a particular tx at the given nonce due to ErrNonceTooLow failures. To do so, we track the set of mined txns at any particular time, which are updated via asynchronous calls to TxMined and TxNotMined by each of the spawned goroutines. The presence of a mined txn supercedes any of the errors returned, and will cause the txmgr to wait for full confirmation. However, if we observe multiple ErrNonceTooLows, the SendState will wait for a configurable safe abort count to ensure that the reading wasn't due to being in a transient state, as we don't have exact guarantees on the execution ordering of various goroutines. With this change, the test added in the prior commit now succeeds.
-
Conner Fromknecht authored
This commit adds a test case for the following scenario: 1. The first few publications succeed with err == nil. 2. One of the txs is mined. 3. Subsequent publications start failing because they are using the same nonce as the tx mined in (2). This edge case is currently overlooked in the txmgr, and will cause the shouldAbortImmediately method to return true and not wait for the appropriate confirmations.
-
Conner Fromknecht authored
Rather than having a combined update the gas price and publish the tx, we split this this into two methods: UpdateGasPrice and SendTransaction. This will allow the txmgr to obtain the txHash before publishing the tx.
-
Matthew Slipper authored
Version Packages
-
github-actions[bot] authored
-
Matthew Slipper authored
Develop -> Master
-