Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
feat(utils): Merge branched changes (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear authored Jan 25, 2023
1 parent c8fb70f commit c117d7e
Show file tree
Hide file tree
Showing 19 changed files with 103 additions and 1,028 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: Test Unit
command: mage testunitcover
- codecov/upload:
file: coverage-testUnitCover.txt
file: coverage-testunitcover.txt
- store_test_results:
path: .

Expand Down
6 changes: 3 additions & 3 deletions build/mage/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ var (

// Arguments.
junitArgs = []string{"--junit-report", "out.xml"}
coverArgs = append(junitArgs, []string{"--cover", "--coverprofile", "coverage.txt", "--covermode", "atomic"}...)
raceArgs = append(junitArgs, []string{"-race"}...)

coverArgs = append(junitArgs, []string{"--cover", "--coverprofile",
"coverage-testunitcover.txt", "--covermode", "atomic"}...)
raceArgs = append(junitArgs, []string{"-race"}...)
// Commands.
goTest = mi.RunCmdV("go", "test", "-mod=readonly")
ginkgoTest = mi.RunCmdV("ginkgo", "-r", "--randomize-all", "--fail-on-pending", "-trace")
Expand Down
1 change: 1 addition & 0 deletions build/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
_ "github.com/google/addlicense"
_ "github.com/incu6us/goimports-reviser/v3"
_ "github.com/onsi/ginkgo/v2/ginkgo"
_ "github.com/securego/gosec/v2/cmd/gosec"
_ "github.com/segmentio/golines"
_ "golang.org/x/tools/cmd/goimports"
_ "golang.org/x/tools/gopls"
Expand Down
14 changes: 7 additions & 7 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ comment:
require_changes: true

ignore:
- "*/**/*.pb.go"
- "*/**/*.pb.gw.go"
- "*/**/*.pb.pulsar.go"
- "*/**/*.abigen.go"
- "*/**/*.mock.go"
- "*/**/proto"
- "**/*.pb.go"
- "**/*.pb.gw.go"
- "**/*.pb.pulsar.go"
- "**/*.abigen.go"
- "**/*.mock.go"
- "**/proto"
- "build/"
- "cmd/"
- "cmd/"
2 changes: 1 addition & 1 deletion core/state/types/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"strings"

"cosmossdk.io/errors"
"github.com/berachain/stargazer/lib/common"
"github.com/berachain/stargazer/lib/errors"
"github.com/berachain/stargazer/lib/gointerfaces"
)

Expand Down
2 changes: 1 addition & 1 deletion core/state/types/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package types
import (
"fmt"

"cosmossdk.io/errors"
"github.com/berachain/stargazer/lib/errors"
"github.com/berachain/stargazer/lib/gointerfaces"
)

Expand Down
101 changes: 0 additions & 101 deletions core/vm/precompile/ethlog_factory.go

This file was deleted.

213 changes: 0 additions & 213 deletions core/vm/precompile/ethlog_factory_test.go

This file was deleted.

Loading

0 comments on commit c117d7e

Please sign in to comment.