Skip to content

Commit ba9d6ed

Browse files
authored
bump github.com/hyperledger-labs/SmartBFT to v0.0.0-20250503203013-eb005eef8866 (#5212)
Signed-off-by: Fedor Partanskiy <[email protected]>
1 parent c07cfe7 commit ba9d6ed

File tree

11 files changed

+566
-802
lines changed

11 files changed

+566
-802
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/go-viper/mapstructure/v2 v2.2.1
1616
github.com/gorilla/handlers v1.5.2
1717
github.com/gorilla/mux v1.8.1
18-
github.com/hyperledger-labs/SmartBFT v0.0.0-20241013183757-134292d4208a
18+
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866
1919
github.com/hyperledger/fabric-chaincode-go/v2 v2.3.0
2020
github.com/hyperledger/fabric-config v0.3.0
2121
github.com/hyperledger/fabric-lib-go v1.1.3-0.20240523144151-25edd1eaf5f5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU
881881
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
882882
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
883883
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
884-
github.com/hyperledger-labs/SmartBFT v0.0.0-20241013183757-134292d4208a h1:+rSygBMv8VJVDVbXn1NHff/0gv9wQp8R2FhcuRGTULM=
885-
github.com/hyperledger-labs/SmartBFT v0.0.0-20241013183757-134292d4208a/go.mod h1:xRvr2gJBeo88dQuxw5AK9f+Wj7+mYxpl7EUFUvlZBm0=
884+
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866 h1:Mu/6NJsfl9g3wM15Ue7hqPq4LtgYDoABh8MO4u8aW4g=
885+
github.com/hyperledger-labs/SmartBFT v0.0.0-20250503203013-eb005eef8866/go.mod h1:9aNHNXsCVy/leGz2gpTC1eOL5QecxbSAGjqsLh4T1LM=
886886
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc h1:3Ykk6MtyfnlzMOQry9zkxsoLWpCWZwDPqehO/BJwArM=
887887
github.com/hyperledger/aries-bbs-go v0.0.0-20240528084656-761671ea73bc/go.mod h1:Kofn6A6WWea1ZM8Rys5aBW9dszwJ7Ywa0kyyYL0TPYw=
888888
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 h1:B1Nt8hKb//KvgGRprk0h1t4lCnwhE9/ryb1WqfZbV+M=

orderer/consensus/smartbft/util_network_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,17 @@ func (ns *NetworkSetupInfo) AddNewNode() (map[uint64]*Node, *Node) {
119119

120120
ledgerToSyncWith := findLargestDifferentLedger(ns.nodeIdToNode, newNodeId)
121121

122+
clusterService := &cluster.ClusterService{
123+
StreamCountReporter: &cluster.StreamCountReporter{},
124+
Logger: flogging.MustGetLogger("orderer.common.cluster"),
125+
StepLogger: flogging.MustGetLogger("orderer.common.cluster.step"),
126+
MinimumExpirationWarningInterval: cluster.MinimumExpirationWarningInterval,
127+
MembershipByChannel: make(map[string]*cluster.ChannelMembersConfig),
128+
RequestHandler: &smartbft.Ingress{},
129+
}
130+
122131
ns.nodeIdToNode[newNodeId] = NewNode(ns.t, newNodeId, ns.dir, ns.channelId, ns.genesisBlock, ns.configInfo, ledgerToSyncWith)
132+
ns.nodeIdToNode[newNodeId].Chain.ClusterService = clusterService
123133

124134
// update all nodes about the nodes map
125135
for nodeId := uint64(1); nodeId <= numberOfNodes; nodeId++ {

vendor/github.com/hyperledger-labs/SmartBFT/internal/bft/controller.go

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

vendor/github.com/hyperledger-labs/SmartBFT/internal/bft/requestpool.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hyperledger-labs/SmartBFT/internal/bft/util.go

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

vendor/github.com/hyperledger-labs/SmartBFT/internal/bft/view.go

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

vendor/github.com/hyperledger-labs/SmartBFT/pkg/types/config.go

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

vendor/github.com/hyperledger-labs/SmartBFT/smartbftprotos/logrecord.pb.go

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

0 commit comments

Comments
 (0)