• 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
..
dial Loading commit data...
drivers Loading commit data...
metrics Loading commit data...
mock Loading commit data...
txmgr Loading commit data...
.gitignore Loading commit data...
batch_submitter.go Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
sentry_log.go Loading commit data...
service.go Loading commit data...