Skip to content

Commit

Permalink
refactor(dash/types): rename package dashtypes to types
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Dec 2, 2021
1 parent b6c851e commit d5fc0e0
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion abci/example/kvstore/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls12381"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
)

func ValUpdate(
Expand Down
2 changes: 1 addition & 1 deletion dash/quorum/mock/mock_switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"time"

"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/mocks"
)
Expand Down
2 changes: 1 addition & 1 deletion dash/quorum/mock/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math"

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
"github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/types"
)
Expand Down
2 changes: 1 addition & 1 deletion dash/quorum/validator_conn_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"github.com/stretchr/testify/require"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/dash/dashtypes"
"github.com/tendermint/tendermint/dash/quorum/mock"
"github.com/tendermint/tendermint/dash/quorum/selectpeers"
dashtypes "github.com/tendermint/tendermint/dash/types"
tmbytes "github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log"
mmock "github.com/tendermint/tendermint/mempool/mock"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dashtypes
package types

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dashtypes
package types

import (
"errors"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dashtypes
package types

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion state/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"github.com/tendermint/tendermint/crypto/bls12381"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/crypto"
Expand Down
2 changes: 1 addition & 1 deletion state/execution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls12381"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
Expand Down
2 changes: 1 addition & 1 deletion state/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls12381"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
tmrand "github.com/tendermint/tendermint/libs/rand"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/dashevo/dashd-go/btcjson"

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

"github.com/stretchr/testify/require"

Expand Down
2 changes: 1 addition & 1 deletion types/protobuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls12381"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/crypto/ed25519"
Expand Down
2 changes: 1 addition & 1 deletion types/protobuf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/dashevo/dashd-go/btcjson"

"github.com/tendermint/tendermint/crypto/bls12381"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion types/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls12381"
ce "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
)

Expand Down
2 changes: 1 addition & 1 deletion types/validator_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/crypto/bls12381"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/crypto/merkle"
"github.com/tendermint/tendermint/dash/dashtypes"
dashtypes "github.com/tendermint/tendermint/dash/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
)

Expand Down

0 comments on commit d5fc0e0

Please sign in to comment.