Skip to content

Commit

Permalink
Merge branch 'rc/v1.7.0' into remove-code-leaf-builtin-func
Browse files Browse the repository at this point in the history
  • Loading branch information
ssd04 authored Dec 7, 2023
2 parents 9e19668 + d059d58 commit bec3579
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 2,159 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
test:
@echo " > Running unit tests"
go test -cover -race -coverprofile=coverage.txt -covermode=atomic -v ./...

lint-install:
ifeq (,$(wildcard test -f bin/golangci-lint))
@echo "Installing golint"
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s
endif

run-lint:
@echo "Running golint"
bin/golangci-lint run --max-issues-per-linter 0 --max-same-issues 0 --timeout=2m

lint: lint-install run-lint
2 changes: 1 addition & 1 deletion data/api/guardianData.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ type Guardian struct {
type GuardianData struct {
ActiveGuardian *Guardian `json:"activeGuardian,omitempty"`
PendingGuardian *Guardian `json:"pendingGuardian,omitempty"`
Guarded bool `json:"guarded,omitempty"`
Guarded bool `json:"guarded"`
}
156 changes: 0 additions & 156 deletions data/mock/cacherMock.go

This file was deleted.

124 changes: 0 additions & 124 deletions data/mock/memDbMock.go

This file was deleted.

59 changes: 0 additions & 59 deletions data/mock/multipleShardsCoordinatorMock.go

This file was deleted.

Loading

0 comments on commit bec3579

Please sign in to comment.