Skip to content

Commit

Permalink
Added transaction status function for external components to use
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Apr 30, 2024
1 parent d67d79b commit 06ae015
Show file tree
Hide file tree
Showing 15 changed files with 343 additions and 96 deletions.
81 changes: 58 additions & 23 deletions common/txmgr/mocks/tx_manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/txmgr/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ func (er *Resender[CHAIN_ID, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) XXXTestRes
return er.resendUnconfirmed(er.ctx)
}

func (b *Txm[CHAIN_ID, HEAD, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE]) XXXTestAbandon(addr ADDR) (err error) {
func (b *Txm[CHAIN_ID, HEAD, ADDR, TX_HASH, BLOCK_HASH, R, SEQ, FEE, ERROR]) XXXTestAbandon(addr ADDR) (err error) {
return b.abandon(addr)
}
Loading

0 comments on commit 06ae015

Please sign in to comment.