Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/rollkit/rollkit into chandi…
Browse files Browse the repository at this point in the history
…ni/avail-da2
  • Loading branch information
chandiniv1 committed Aug 30, 2023
2 parents 86aa124 + 997572c commit c9bbe44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions conv/addr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,15 @@ func TestTranslateAddresses(t *testing.T) {
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
assert := assert.New(t)
// c.input is changed in place
err := TranslateAddresses(&c.input)
// input is changed in place
input := c.input
err := TranslateAddresses(&input)
if c.expectedErr != "" {
assert.Error(err)
assert.True(strings.HasPrefix(err.Error(), c.expectedErr), "invalid error message")
} else {
assert.NoError(err)
assert.Equal(c.expected, c.input)
assert.Equal(c.expected, input)
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/cometbft/cometbft v0.37.2
github.com/creachadair/taskgroup v0.6.0
github.com/dgraph-io/badger/v3 v3.2103.5
github.com/go-kit/kit v0.12.0
github.com/go-kit/kit v0.13.0
github.com/gogo/protobuf v1.3.3
github.com/gorilla/mux v1.8.0
github.com/gorilla/rpc v1.2.0
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,9 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o=
github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4=
github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs=
github.com/go-kit/kit v0.13.0 h1:OoneCcHKHQ03LfBpoQCUfCluwd2Vt3ohz+kvbJneZAU=
github.com/go-kit/kit v0.13.0/go.mod h1:phqEHMMUbyrCFCTgH48JueqrM3md2HcAZ8N3XE4FKDg=
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0=
github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU=
Expand Down

0 comments on commit c9bbe44

Please sign in to comment.