- 11 Feb, 2022 12 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
-
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 19 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
-
smartcontracts authored
fix: skip an unreliable integration test
-
Kelvin Fichter authored
Skips the unreliable timestamp/blocknumber test which would often be off by one or two. Creates an annoying habit of having to rerun the integration tests until the test passes, which isn't how integration tests should work.
-
Antonis Kogias authored
-
Kelvin Fichter authored
-
Matthew Slipper authored
go/proxyd: Handle nil responses better
-
Conner Fromknecht authored
fix: use correct token for label-requires-review
-
Conner Fromknecht authored
This check is the only one we have that uses PERSONAL_ACCESS_TOKEN, perhaps it's expired or not present.
-
Matthew Slipper authored
fix: make relayer work again
-
Matthew Slipper authored
-
Matthew Slipper authored
fix: remove extra space in BSS metric names
-
Conner Fromknecht authored
-
- 09 Feb, 2022 9 commits
-
-
Kelvin Fichter authored
Fixes a bug where the relayer package was not correctly running the start script since the start script updated recently.
-
Matthew Slipper authored
feat: unify BSS metric name format, switch num_elements_per_batch to Summary
-
Matthew Slipper authored
bss: properly set gas limit on clearing txs
-
Matthew Slipper authored
feat: add LOG_TERMINAL flag, default to JSON
-
smartcontracts authored
test(integration): replace watcher with sdk CrossChainMessenger
-
Johns authored
-
Conner Fromknecht authored
The histogram doesn't seem to render too well on Grafana, but the batch_size_bytes one does. This commit modifies the num_elements_per_batch to also use a Summary with the same buckets.
-
Conner Fromknecht authored
This commit: - Ensures each bss metric is prefixed by "batch_submitter_". - Ensures that Sequencer/Proposer name is made lowercase. - Ensures all units are present and positioned as a suffix.
-
Conner Fromknecht authored
This commit modifies the BSS to default to JSON logs, which are more useful in production. This can be overridden by setting LOG_TERMINAL to true for debugging locally.
-