File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ retract v0.12.0 // Published by accident
88
99require (
1010 github.com/celestiaorg/utils v0.1.0
11- github.com/cometbft/cometbft v0.38.7
11+ github.com/cometbft/cometbft v0.38.11
1212 github.com/cosmos/gogoproto v1.7.0
1313 github.com/go-kit/kit v0.13.0
1414 github.com/gogo/protobuf v1.3.2
Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH
239239github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490 /go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs =
240240github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa /go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8 =
241241github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd /go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI =
242- github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk =
243- github.com/cometbft/cometbft v0.38.7 /go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY =
242+ github.com/cometbft/cometbft v0.38.11 h1:6bNDUB8/xq4uYonYwIfGc9OqK1ZH4NkdaMmR1LZIJqk =
243+ github.com/cometbft/cometbft v0.38.11 /go.mod h1:jHPx9vQpWzPHEAiYI/7EDKaB1NXhK6o3SArrrY8ExKc =
244244github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo =
245245github.com/cometbft/cometbft-db v0.8.0 /go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0 =
246246github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327 /go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE =
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func TestBlockSerializationRoundTrip(t *testing.T) {
5151 }
5252
5353 pubKey1 := ed25519 .GenPrivKey ().PubKey ()
54- validator1 := & cmtypes.Validator {Address : pubKey1 .Address (), PubKey : pubKey1 }
54+ validator1 := & cmtypes.Validator {Address : pubKey1 .Address (), PubKey : pubKey1 , VotingPower : 1 }
5555
5656 cases := []struct {
5757 name string
@@ -62,12 +62,11 @@ func TestBlockSerializationRoundTrip(t *testing.T) {
6262 SignedHeader : SignedHeader {
6363 Header : h1 ,
6464 Signature : Signature ([]byte {1 , 1 , 1 }),
65- Validators : & cmtypes.ValidatorSet {
66- Validators : []* cmtypes.Validator {
65+ Validators : cmtypes .NewValidatorSet (
66+ []* cmtypes.Validator {
6767 validator1 ,
6868 },
69- Proposer : validator1 ,
70- },
69+ ),
7170 },
7271 Data : Data {
7372 Txs : nil ,
You can’t perform that action at this time.
0 commit comments