• Matthew Slipper's avatar
    Add SendAsync to TxMgr (#11843) · 97aa08a6
    Matthew Slipper authored
    * Add SendAsync to TxMgr
    
    Adds a SendAsync method to TxMgr. I'd like to use this for `op-deployer`, which needs to send multiple transactions in parallel but with predictable nonces. `SendAsync` returns a channel that resolves with the result of each send, but synchronously increases the nonce and prepares the first send prior to returning.
    
    * review updates + tests
    97aa08a6
sender_test.go 5.16 KB