File tree Expand file tree Collapse file tree 10 files changed +28
-19
lines changed Expand file tree Collapse file tree 10 files changed +28
-19
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ fmt: ## Format the code
31
31
cd $(PWD ) /rollup/ && go mod tidy
32
32
cd $(PWD ) /tests/integration-test/ && go mod tidy
33
33
34
- goimports -local $(PWD) /bridge-history-api/ -w .
35
- goimports -local $(PWD) /common/ -w .
36
- goimports -local $(PWD) /coordinator/ -w .
37
- goimports -local $(PWD) /database/ -w .
38
- goimports -local $(PWD) /rollup/ -w .
39
- goimports -local $(PWD) /tests/integration-test/ -w .
34
+ goimports -local scroll-tech /bridge-history-api/ -w .
35
+ goimports -local scroll-tech /common/ -w .
36
+ goimports -local scroll-tech /coordinator/ -w .
37
+ goimports -local scroll-tech /database/ -w .
38
+ goimports -local scroll-tech /rollup/ -w .
39
+ goimports -local scroll-tech /tests/integration-test/ -w .
40
40
41
41
dev_docker : # # Build docker images for development/testing usages
42
42
docker pull postgres
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ import (
13
13
"github.com/scroll-tech/go-ethereum/params"
14
14
"gorm.io/gorm"
15
15
16
- "scroll-tech/common/types"
17
- "scroll-tech/common/types/message"
18
- "scroll-tech/common/utils"
19
-
20
16
"scroll-tech/coordinator/internal/config"
21
17
"scroll-tech/coordinator/internal/orm"
22
18
coordinatorType "scroll-tech/coordinator/internal/types"
23
19
cutils "scroll-tech/coordinator/internal/utils"
20
+
21
+ "scroll-tech/common/types"
22
+ "scroll-tech/common/types/message"
23
+ "scroll-tech/common/utils"
24
24
)
25
25
26
26
// BundleProverTask is prover task implement for bundle proof
Original file line number Diff line number Diff line change @@ -9,11 +9,12 @@ import (
9
9
"github.com/stretchr/testify/assert"
10
10
"gorm.io/gorm"
11
11
12
+ "scroll-tech/database/migrate"
13
+
12
14
"scroll-tech/common/testcontainers"
13
15
"scroll-tech/common/types"
14
16
"scroll-tech/common/types/message"
15
17
"scroll-tech/common/utils"
16
- "scroll-tech/database/migrate"
17
18
)
18
19
19
20
var (
Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ import (
20
20
"github.com/stretchr/testify/assert"
21
21
"gorm.io/gorm"
22
22
23
+ "scroll-tech/database/migrate"
24
+
23
25
"scroll-tech/common/testcontainers"
24
26
"scroll-tech/common/types"
25
27
"scroll-tech/common/types/message"
26
28
"scroll-tech/common/version"
27
- "scroll-tech/database/migrate"
28
29
29
30
"scroll-tech/coordinator/internal/config"
30
31
"scroll-tech/coordinator/internal/controller/api"
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package config
3
3
import (
4
4
"fmt"
5
5
"reflect"
6
- "scroll-tech/common/database"
7
6
"strings"
8
7
8
+ "scroll-tech/common/database"
9
+
9
10
"github.com/mitchellh/mapstructure"
10
11
"github.com/scroll-tech/go-ethereum/common"
11
12
"github.com/scroll-tech/go-ethereum/rpc"
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ import (
27
27
"github.com/stretchr/testify/assert"
28
28
"gorm.io/gorm"
29
29
30
+ "scroll-tech/database/migrate"
31
+
30
32
"scroll-tech/common/testcontainers"
31
33
"scroll-tech/common/types"
32
- "scroll-tech/database/migrate"
33
34
34
35
bridgeAbi "scroll-tech/rollup/abi"
35
36
"scroll-tech/rollup/internal/config"
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ import (
11
11
"github.com/stretchr/testify/assert"
12
12
"gorm.io/gorm"
13
13
14
+ "scroll-tech/database/migrate"
15
+
14
16
"scroll-tech/common/database"
15
17
"scroll-tech/common/testcontainers"
16
- "scroll-tech/database/migrate"
17
18
18
19
"scroll-tech/rollup/internal/config"
19
20
)
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ import (
13
13
"github.com/stretchr/testify/assert"
14
14
"gorm.io/gorm"
15
15
16
+ "scroll-tech/database/migrate"
17
+
16
18
"scroll-tech/common/testcontainers"
17
19
"scroll-tech/common/types"
18
20
"scroll-tech/common/types/message"
19
- "scroll-tech/database/migrate"
20
21
21
22
"scroll-tech/rollup/internal/utils"
22
23
)
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ import (
22
22
"github.com/stretchr/testify/assert"
23
23
"gorm.io/gorm"
24
24
25
+ "scroll-tech/database/migrate"
26
+
25
27
"scroll-tech/common/database"
26
28
tc "scroll-tech/common/testcontainers"
27
29
"scroll-tech/common/utils"
28
- "scroll-tech/database/migrate"
29
30
30
31
bcmd "scroll-tech/rollup/cmd"
31
32
"scroll-tech/rollup/mock_bridge"
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ import (
12
12
"github.com/stretchr/testify/assert"
13
13
"gorm.io/gorm"
14
14
15
+ "scroll-tech/integration-test/orm"
16
+
17
+ "scroll-tech/database/migrate"
18
+
15
19
"scroll-tech/common/testcontainers"
16
20
"scroll-tech/common/utils"
17
21
"scroll-tech/common/version"
18
- "scroll-tech/database/migrate"
19
- "scroll-tech/integration-test/orm"
20
22
21
23
capp "scroll-tech/coordinator/cmd/api/app"
22
24
You can’t perform that action at this time.
0 commit comments