This repository was archived by the owner on May 11, 2024. It is now read-only.
Commit 8fefdeb 1 parent 9ffb107 commit 8fefdeb Copy full SHA for 8fefdeb
File tree 29 files changed +35
-5
lines changed
29 files changed +35
-5
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ linters-settings:
60
60
goconst :
61
61
min-len : 3
62
62
min-occurrences : 6
63
+ goimports :
64
+ local-prefixes : github.com/taikoxyz/taiko-client
63
65
64
66
severity :
65
67
# Set the default severity for issues.
Original file line number Diff line number Diff line change 13
13
@rm -rf bin/*
14
14
15
15
lint :
16
- @go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 \
16
+ @go install golang.org/x/tools/cmd/goimports@latest \
17
+ && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 \
18
+ && goimports -local " github.com/taikoxyz/taiko-client" -w ./ \
17
19
&& golangci-lint run
18
20
19
21
test :
Original file line number Diff line number Diff line change 4
4
"os"
5
5
6
6
"github.com/ethereum/go-ethereum/log"
7
- "github.com/taikoxyz/taiko-client/cmd/flags"
8
7
"github.com/urfave/cli/v2"
8
+
9
+ "github.com/taikoxyz/taiko-client/cmd/flags"
9
10
)
10
11
11
12
// InitLogger initializes the root logger with the command line flags.
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import (
16
16
"github.com/ethereum/go-ethereum/core/types"
17
17
"github.com/ethereum/go-ethereum/log"
18
18
"github.com/ethereum/go-ethereum/rlp"
19
+
19
20
"github.com/taikoxyz/taiko-client/bindings"
20
21
"github.com/taikoxyz/taiko-client/bindings/encoding"
21
22
"github.com/taikoxyz/taiko-client/driver/chain_syncer/beaconsync"
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ import (
13
13
"github.com/ethereum/go-ethereum/core/types"
14
14
"github.com/ethereum/go-ethereum/event"
15
15
"github.com/ethereum/go-ethereum/log"
16
+ "github.com/urfave/cli/v2"
16
17
17
18
chainSyncer "github.com/taikoxyz/taiko-client/driver/chain_syncer"
18
19
"github.com/taikoxyz/taiko-client/driver/state"
19
20
"github.com/taikoxyz/taiko-client/pkg/rpc"
20
- "github.com/urfave/cli/v2"
21
21
)
22
22
23
23
const (
Original file line number Diff line number Diff line change 4
4
"context"
5
5
6
6
"github.com/ethereum/go-ethereum/core/types"
7
+
7
8
"github.com/taikoxyz/taiko-client/bindings"
8
9
"github.com/taikoxyz/taiko-client/bindings/encoding"
9
10
"github.com/taikoxyz/taiko-client/pkg"
Original file line number Diff line number Diff line change 4
4
"context"
5
5
6
6
"github.com/ethereum/go-ethereum/core/types"
7
+
7
8
"github.com/taikoxyz/taiko-client/bindings"
8
9
)
9
10
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/ethereum/go-ethereum/params"
8
8
"github.com/stretchr/testify/require"
9
+
9
10
"github.com/taikoxyz/taiko-client/internal/testutils"
10
11
"github.com/taikoxyz/taiko-client/internal/utils"
11
12
)
Original file line number Diff line number Diff line change 6
6
"github.com/ethereum-optimism/optimism/op-service/txmgr"
7
7
"github.com/ethereum/go-ethereum/common"
8
8
"github.com/ethereum/go-ethereum/crypto"
9
- "github.com/taikoxyz/taiko-client/cmd/flags"
10
9
"github.com/urfave/cli/v2"
10
+
11
+ "github.com/taikoxyz/taiko-client/cmd/flags"
11
12
)
12
13
13
14
// InitTxmgrConfigsFromCli initializes the transaction manager configs from the command line flags.
Original file line number Diff line number Diff line change 9
9
"github.com/ethereum/go-ethereum/log"
10
10
"github.com/go-resty/resty/v2"
11
11
"github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/blob"
12
+
12
13
"github.com/taikoxyz/taiko-client/bindings"
13
14
"github.com/taikoxyz/taiko-client/pkg"
14
15
)
Original file line number Diff line number Diff line change 8
8
"github.com/cenkalti/backoff/v4"
9
9
"github.com/ethereum/go-ethereum/common"
10
10
"github.com/ethereum/go-ethereum/log"
11
+
11
12
"github.com/taikoxyz/taiko-client/bindings"
12
13
)
13
14
Original file line number Diff line number Diff line change 9
9
"github.com/ethereum/go-ethereum/common"
10
10
"github.com/ethereum/go-ethereum/crypto"
11
11
"github.com/stretchr/testify/require"
12
+
12
13
"github.com/taikoxyz/taiko-client/bindings/encoding"
13
14
)
14
15
Original file line number Diff line number Diff line change 7
7
"github.com/ethereum/go-ethereum/core/types"
8
8
"github.com/ethereum/go-ethereum/event"
9
9
"github.com/stretchr/testify/require"
10
+
10
11
"github.com/taikoxyz/taiko-client/bindings"
11
12
)
12
13
Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ import (
17
17
"github.com/ethereum/go-ethereum/log"
18
18
"github.com/ethereum/go-ethereum/rlp"
19
19
20
+ "github.com/urfave/cli/v2"
21
+
20
22
"github.com/taikoxyz/taiko-client/bindings"
21
23
"github.com/taikoxyz/taiko-client/bindings/encoding"
22
24
"github.com/taikoxyz/taiko-client/internal/metrics"
23
25
"github.com/taikoxyz/taiko-client/internal/utils"
24
26
"github.com/taikoxyz/taiko-client/pkg/rpc"
25
27
selector "github.com/taikoxyz/taiko-client/proposer/prover_selector"
26
28
builder "github.com/taikoxyz/taiko-client/proposer/transaction_builder"
27
- "github.com/urfave/cli/v2"
28
29
)
29
30
30
31
var (
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
11
11
"github.com/ethereum/go-ethereum/common"
12
12
"github.com/ethereum/go-ethereum/crypto"
13
13
"github.com/ethereum/go-ethereum/crypto/kzg4844"
14
+
14
15
"github.com/taikoxyz/taiko-client/bindings/encoding"
15
16
"github.com/taikoxyz/taiko-client/pkg/rpc"
16
17
selector "github.com/taikoxyz/taiko-client/proposer/prover_selector"
Original file line number Diff line number Diff line change 4
4
"context"
5
5
6
6
"github.com/ethereum/go-ethereum/common"
7
+
7
8
"github.com/taikoxyz/taiko-client/bindings/encoding"
8
9
)
9
10
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/ethereum/go-ethereum/accounts/abi/bind"
8
8
"github.com/ethereum/go-ethereum/common"
9
+
9
10
"github.com/taikoxyz/taiko-client/pkg/rpc"
10
11
)
11
12
Original file line number Diff line number Diff line change 4
4
"context"
5
5
6
6
"github.com/ethereum-optimism/optimism/op-service/txmgr"
7
+
7
8
"github.com/taikoxyz/taiko-client/bindings/encoding"
8
9
)
9
10
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/ethereum/go-ethereum/common"
8
8
"github.com/ethereum/go-ethereum/log"
9
+
9
10
"github.com/taikoxyz/taiko-client/bindings"
10
11
"github.com/taikoxyz/taiko-client/pkg/rpc"
11
12
proofProducer "github.com/taikoxyz/taiko-client/prover/proof_producer"
Original file line number Diff line number Diff line change 8
8
state "github.com/taikoxyz/taiko-client/prover/shared_state"
9
9
10
10
"github.com/ethereum/go-ethereum/common"
11
+
11
12
"github.com/taikoxyz/taiko-client/bindings"
12
13
)
13
14
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package handler
3
3
import (
4
4
"github.com/ethereum/go-ethereum/common"
5
5
"github.com/ethereum/go-ethereum/log"
6
+
6
7
"github.com/taikoxyz/taiko-client/bindings"
7
8
"github.com/taikoxyz/taiko-client/internal/metrics"
8
9
)
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package handler
2
2
3
3
import (
4
4
"github.com/ethereum/go-ethereum/core/types"
5
+
5
6
"github.com/taikoxyz/taiko-client/bindings"
6
7
"github.com/taikoxyz/taiko-client/internal/testutils"
7
8
)
Original file line number Diff line number Diff line change 7
7
"github.com/ethereum/go-ethereum/accounts/abi/bind"
8
8
"github.com/ethereum/go-ethereum/common"
9
9
"github.com/ethereum/go-ethereum/log"
10
+
10
11
"github.com/taikoxyz/taiko-client/bindings"
11
12
"github.com/taikoxyz/taiko-client/pkg/rpc"
12
13
proofProducer "github.com/taikoxyz/taiko-client/prover/proof_producer"
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/ethereum/go-ethereum/common"
8
8
"github.com/ethereum/go-ethereum/log"
9
+
9
10
"github.com/taikoxyz/taiko-client/bindings"
10
11
"github.com/taikoxyz/taiko-client/internal/metrics"
11
12
"github.com/taikoxyz/taiko-client/pkg/rpc"
Original file line number Diff line number Diff line change 6
6
"testing"
7
7
8
8
"github.com/stretchr/testify/suite"
9
+
9
10
"github.com/taikoxyz/taiko-client/bindings"
10
11
"github.com/taikoxyz/taiko-client/bindings/encoding"
11
12
"github.com/taikoxyz/taiko-client/internal/testutils"
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/ethereum-optimism/optimism/op-service/txmgr"
8
8
"github.com/ethereum/go-ethereum/common"
9
+
9
10
"github.com/taikoxyz/taiko-client/bindings/encoding"
10
11
)
11
12
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import (
17
17
"github.com/go-resty/resty/v2"
18
18
"github.com/phayes/freeport"
19
19
"github.com/stretchr/testify/suite"
20
+
20
21
"github.com/taikoxyz/taiko-client/pkg/rpc"
21
22
proofProducer "github.com/taikoxyz/taiko-client/prover/proof_producer"
22
23
)
Original file line number Diff line number Diff line change 4
4
"sync/atomic"
5
5
6
6
"github.com/ethereum/go-ethereum/core/types"
7
+
7
8
"github.com/taikoxyz/taiko-client/pkg/rpc"
8
9
)
9
10
Original file line number Diff line number Diff line change 6
6
"github.com/ethereum/go-ethereum/common"
7
7
"github.com/ethereum/go-ethereum/core/types"
8
8
"github.com/stretchr/testify/suite"
9
+
9
10
"github.com/taikoxyz/taiko-client/pkg/rpc"
10
11
)
11
12
You can’t perform that action at this time.
0 commit comments