Skip to content

Commit 7d3c960

Browse files
committed
add v2 for version v2
Signed-off-by: Fedor Partanskiy <fredprtnsk@gmail.com>
1 parent 62e7161 commit 7d3c960

66 files changed

Lines changed: 150 additions & 153 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99

1010
env:
1111
GO_VER: 1.26.0
12-
PROTOC_VER: "33.1"
13-
PROTOC_GEN_GO_VER: v1.36.10
12+
PROTOC_VER: "34.1"
13+
PROTOC_GEN_GO_VER: v1.36.11
1414

1515
jobs:
1616
validate:

examples/naive_chain/chain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ package naive
88
import (
99
"encoding/asn1"
1010

11-
smart "github.com/hyperledger-labs/SmartBFT/pkg/api"
12-
"github.com/hyperledger-labs/SmartBFT/pkg/wal"
11+
smart "github.com/hyperledger-labs/SmartBFT/v2/pkg/api"
12+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/wal"
1313
)
1414

1515
type Block struct {

examples/naive_chain/chain_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"testing"
1212
"time"
1313

14-
smart "github.com/hyperledger-labs/SmartBFT/pkg/api"
15-
"github.com/hyperledger-labs/SmartBFT/pkg/metrics/disabled"
16-
"github.com/hyperledger-labs/SmartBFT/pkg/wal"
14+
smart "github.com/hyperledger-labs/SmartBFT/v2/pkg/api"
15+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/metrics/disabled"
16+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/wal"
1717
"github.com/stretchr/testify/assert"
1818
"go.uber.org/zap"
1919
"google.golang.org/protobuf/proto"

examples/naive_chain/node.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import (
1313
"sync"
1414
"time"
1515

16-
smart "github.com/hyperledger-labs/SmartBFT/pkg/api"
17-
smartbft "github.com/hyperledger-labs/SmartBFT/pkg/consensus"
18-
bft "github.com/hyperledger-labs/SmartBFT/pkg/types"
19-
"github.com/hyperledger-labs/SmartBFT/pkg/wal"
20-
"github.com/hyperledger-labs/SmartBFT/smartbftprotos"
16+
smart "github.com/hyperledger-labs/SmartBFT/v2/pkg/api"
17+
smartbft "github.com/hyperledger-labs/SmartBFT/v2/pkg/consensus"
18+
bft "github.com/hyperledger-labs/SmartBFT/v2/pkg/types"
19+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/wal"
20+
"github.com/hyperledger-labs/SmartBFT/v2/smartbftprotos"
2121
"google.golang.org/protobuf/proto"
2222
)
2323

examples/naive_chain/test_message.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/naive_chain/test_message.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
syntax = "proto3";
77

8-
option go_package = "github.com/hyperledger-labs/SmartBFT/naive";
8+
option go_package = "github.com/hyperledger-labs/SmartBFT/v2/naive";
99

1010
package naive;
1111

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/hyperledger-labs/SmartBFT
1+
module github.com/hyperledger-labs/SmartBFT/v2
22

33
go 1.26.0
44

internal/bft/batcher_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/hyperledger-labs/SmartBFT/internal/bft"
14-
"github.com/hyperledger-labs/SmartBFT/internal/bft/mocks"
15-
"github.com/hyperledger-labs/SmartBFT/pkg/types"
13+
"github.com/hyperledger-labs/SmartBFT/v2/internal/bft"
14+
"github.com/hyperledger-labs/SmartBFT/v2/internal/bft/mocks"
15+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/types"
1616
"github.com/stretchr/testify/assert"
1717
"github.com/stretchr/testify/mock"
1818
"go.uber.org/zap"

internal/bft/controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"sync/atomic"
1111
"time"
1212

13-
"github.com/hyperledger-labs/SmartBFT/pkg/api"
14-
"github.com/hyperledger-labs/SmartBFT/pkg/types"
15-
protos "github.com/hyperledger-labs/SmartBFT/smartbftprotos"
13+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/api"
14+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/types"
15+
protos "github.com/hyperledger-labs/SmartBFT/v2/smartbftprotos"
1616
"google.golang.org/protobuf/proto"
1717
)
1818

internal/bft/controller_sync_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/hyperledger-labs/SmartBFT/pkg/types"
13-
protos "github.com/hyperledger-labs/SmartBFT/smartbftprotos"
12+
"github.com/hyperledger-labs/SmartBFT/v2/pkg/types"
13+
protos "github.com/hyperledger-labs/SmartBFT/v2/smartbftprotos"
1414
"github.com/stretchr/testify/assert"
1515
"go.uber.org/zap"
1616
)

0 commit comments

Comments
 (0)