Skip to content

Commit

Permalink
Merge branch 'develop' into BCI-2235-txm-abandoned-tx-tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanTinianov authored Nov 9, 2023
2 parents 2806d80 + d8dc7ab commit c494167
Show file tree
Hide file tree
Showing 30 changed files with 4,193 additions and 79 deletions.
18 changes: 18 additions & 0 deletions common/client/mock_hashable_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package client

import "cmp"

// Hashable - simple implementation of types.Hashable interface to be used as concrete type in tests
type Hashable string

func (h Hashable) Cmp(c Hashable) int {
return cmp.Compare(h, c)
}

func (h Hashable) String() string {
return string(h)
}

func (h Hashable) Bytes() []byte {
return []byte(h)
}
57 changes: 57 additions & 0 deletions common/client/mock_head_test.go

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

168 changes: 168 additions & 0 deletions common/client/mock_node_client_test.go

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

57 changes: 57 additions & 0 deletions common/client/mock_node_selector_test.go

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

Loading

0 comments on commit c494167

Please sign in to comment.