Skip to content

Commit

Permalink
[AVAX] Post Merge fixes for Cortina 18 (v1.10.18)
Browse files Browse the repository at this point in the history
  • Loading branch information
evlekht committed Jul 24, 2024
1 parent b8f3448 commit 404afb1
Show file tree
Hide file tree
Showing 130 changed files with 3,020 additions and 2,678 deletions.
81 changes: 0 additions & 81 deletions .github/workflows/cnr-build-test-release.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/cnr-codeql-analysis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ run:
# Allowed values: readonly|vendor|mod
# By default, it isn't set.
modules-download-mode: readonly
skip-dirs:
- "tools/camino-network-runner"

output:
# Make issues output unique by line.
Expand Down
8 changes: 1 addition & 7 deletions api/info/camino_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@ import (
"testing"

"github.com/stretchr/testify/require"
"go.uber.org/mock/gomock"

"github.com/ava-labs/avalanchego/utils/logging"
)

func TestGetGenesisBytes(t *testing.T) {
mockLog := logging.NewMockLogger(gomock.NewController(t))
service := Info{log: mockLog}

mockLog.EXPECT().Debug(gomock.Any()).Times(1)

service := Info{log: logging.NoLog{}}
service.GenesisBytes = []byte("some random bytes")

reply := GetGenesisBytesReply{}
require.NoError(t, service.GetGenesisBytes(nil, nil, &reply))
require.Equal(t, GetGenesisBytesReply{GenesisBytes: service.GenesisBytes}, reply)
Expand Down
156 changes: 128 additions & 28 deletions cache/mock_cacher.go

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

Loading

0 comments on commit 404afb1

Please sign in to comment.