Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ linters-settings:
rules:
- name: package-comments
disabled: true
goimports:
local-prefixes: github.com/celestiaorg
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"encoding/hex"
"time"

"github.com/celestiaorg/rollmint/types"
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/celestiaorg/rollmint/types"
)

const (
Expand Down
3 changes: 2 additions & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"testing"
"time"

"github.com/celestiaorg/rollmint/types"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"

"github.com/celestiaorg/rollmint/types"
)

func TestViperAndCobra(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion conv/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/celestiaorg/rollmint/config"
tmcfg "github.com/tendermint/tendermint/config"

"github.com/celestiaorg/rollmint/config"
)

func TestGetNodeConfig(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion da/grpc/mockserv/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import (
"os"
"strconv"

tmlog "github.com/tendermint/tendermint/libs/log"

grpcda "github.com/celestiaorg/rollmint/da/grpc"
"github.com/celestiaorg/rollmint/da/grpc/mockserv"
"github.com/celestiaorg/rollmint/store"
tmlog "github.com/tendermint/tendermint/libs/log"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion da/test/da_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
"github.com/stretchr/testify/require"
"google.golang.org/grpc"

tmlog "github.com/tendermint/tendermint/libs/log"

"github.com/celestiaorg/rollmint/da"
"github.com/celestiaorg/rollmint/da/celestia"
cmock "github.com/celestiaorg/rollmint/da/celestia/mock"
Expand All @@ -23,7 +25,6 @@ import (
"github.com/celestiaorg/rollmint/log/test"
"github.com/celestiaorg/rollmint/store"
"github.com/celestiaorg/rollmint/types"
tmlog "github.com/tendermint/tendermint/libs/log"
)

const mockDaBlockTime = 100 * time.Millisecond
Expand Down
3 changes: 2 additions & 1 deletion rpc/json/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import (

tmjson "github.com/tendermint/tendermint/libs/json"

"github.com/celestiaorg/rollmint/log"
"github.com/gorilla/rpc/v2"
"github.com/gorilla/rpc/v2/json2"

"github.com/celestiaorg/rollmint/log"
)

type handler struct {
Expand Down
3 changes: 2 additions & 1 deletion store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import (
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
tmtypes "github.com/tendermint/tendermint/types"

"github.com/celestiaorg/rollmint/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/celestiaorg/rollmint/types"
)

func TestStoreHeight(t *testing.T) {
Expand Down