• Conner Fromknecht's avatar
    feat: add failing Test for txmgr edge case · a27a68e6
    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.
    a27a68e6
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
audits Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...