Skip to content

Commit 3b55d73

Browse files
author
mj
committed
feat(pactus): update pactus package to version 1.6
1 parent 25c71da commit 3b55d73

File tree

419 files changed

+56026
-5379
lines changed

Some content is hidden

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

419 files changed

+56026
-5379
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fmt:
3636
go mod tidy
3737

3838
check:
39-
golangci-lint run --timeout=20m0s
39+
golangci-lint cache clean && golangci-lint run --timeout=20m0s
4040

4141
### building
4242
build: build-cli build-discord build-grpc build-telegram build-http

go.mod

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,68 @@
11
module github.com/pagu-project/Pagu
22

3-
go 1.22.2
3+
go 1.23.2
44

55
require (
66
github.com/bwmarrin/discordgo v0.28.1
77
github.com/go-mail/mail/v2 v2.3.0
88
github.com/h2non/gock v1.2.0
99
github.com/jszwec/csvutil v1.10.0
1010
github.com/labstack/echo/v4 v4.12.0
11-
github.com/pactus-project/pactus v1.3.0
11+
github.com/pactus-project/pactus v1.6.0
1212
github.com/spf13/cobra v1.8.1
1313
github.com/stretchr/testify v1.9.0
14-
google.golang.org/grpc v1.64.0
14+
google.golang.org/grpc v1.68.0
1515
gopkg.in/telebot.v3 v3.3.8
1616
gorm.io/datatypes v1.2.1
1717
gorm.io/driver/mysql v1.5.7
1818
gorm.io/gorm v1.25.10
1919
)
2020

21-
require github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
21+
require (
22+
github.com/bits-and-blooms/bitset v1.15.0 // indirect
23+
github.com/consensys/bavard v0.1.22 // indirect
24+
github.com/consensys/gnark-crypto v0.14.0 // indirect
25+
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
26+
github.com/mmcloughlin/addchain v0.4.0 // indirect
27+
rsc.io/tmplfunc v0.0.3 // indirect
28+
)
2229

2330
require (
2431
filippo.io/edwards25519 v1.1.0 // indirect
2532
github.com/NathanBaulch/protoc-gen-cobra v1.2.1 // indirect
2633
github.com/davecgh/go-spew v1.1.1 // indirect
2734
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
2835
github.com/go-sql-driver/mysql v1.8.1 // indirect
29-
github.com/google/pprof v0.0.0-20240622144329-c177fd99eaa9 // indirect
3036
github.com/google/uuid v1.6.0 // indirect
3137
github.com/gorilla/websocket v1.5.3 // indirect
32-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
38+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 // indirect
3339
github.com/iancoleman/strcase v0.3.0 // indirect
3440
github.com/inconshreveable/mousetrap v1.1.0 // indirect
35-
github.com/ipfs/boxo v0.21.0 // indirect
3641
github.com/jinzhu/inflection v1.0.0 // indirect
3742
github.com/jinzhu/now v1.1.5 // indirect
3843
github.com/kilic/bls12-381 v0.1.0 // indirect
3944
github.com/labstack/gommon v0.4.2 // indirect
40-
github.com/libp2p/go-libp2p v0.35.1 // indirect
4145
github.com/mattn/go-colorable v0.1.13 // indirect
4246
github.com/mattn/go-isatty v0.0.20 // indirect
4347
github.com/mitchellh/mapstructure v1.5.0 // indirect
4448
github.com/pmezard/go-difflib v1.0.0 // indirect
45-
github.com/prometheus/common v0.54.0 // indirect
46-
github.com/quic-go/quic-go v0.45.1 // indirect
4749
github.com/rogpeppe/go-internal v1.12.0 // indirect
4850
github.com/rs/zerolog v1.33.0
49-
github.com/spf13/cast v1.6.0 // indirect
51+
github.com/spf13/cast v1.7.0 // indirect
5052
github.com/spf13/pflag v1.0.5 // indirect
5153
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
5254
github.com/valyala/bytebufferpool v1.0.0 // indirect
5355
github.com/valyala/fasttemplate v1.2.2 // indirect
5456
github.com/x448/float16 v0.8.4 // indirect
55-
go.uber.org/mock v0.4.0
56-
golang.org/x/crypto v0.24.0 // indirect
57-
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
58-
golang.org/x/net v0.26.0 // indirect
59-
golang.org/x/sys v0.21.0 // indirect
60-
golang.org/x/text v0.16.0
61-
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
62-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
63-
google.golang.org/protobuf v1.34.2
57+
go.uber.org/mock v0.5.0
58+
golang.org/x/crypto v0.29.0 // indirect
59+
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
60+
golang.org/x/net v0.31.0 // indirect
61+
golang.org/x/sys v0.27.0 // indirect
62+
golang.org/x/text v0.20.0
63+
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
64+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
65+
google.golang.org/protobuf v1.35.1
6466
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
6567
gopkg.in/mail.v2 v2.3.1 // indirect
6668
gopkg.in/natefinch/lumberjack.v2 v2.2.1

go.sum

Lines changed: 123 additions & 109 deletions
Large diffs are not rendered by default.

internal/engine/engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ func (be *BotEngine) NetworkStatus() (*network.NetStatus, error) {
201201
return &network.NetStatus{
202202
ConnectedPeersCount: netInfo.ConnectedPeersCount,
203203
ValidatorsCount: chainInfo.TotalValidators,
204-
TotalBytesSent: netInfo.TotalSentBytes,
205-
TotalBytesReceived: netInfo.TotalReceivedBytes,
204+
TotalBytesSent: int64(netInfo.MetricInfo.TotalSent.Bytes),
205+
TotalBytesReceived: int64(netInfo.MetricInfo.TotalReceived.Bytes),
206206
CurrentBlockHeight: chainInfo.LastBlockHeight,
207207
TotalNetworkPower: chainInfo.TotalPower,
208208
TotalCommitteePower: chainInfo.CommitteePower,

vendor/github.com/bits-and-blooms/bitset/.gitignore

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

vendor/github.com/bits-and-blooms/bitset/.travis.yml

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

vendor/github.com/bits-and-blooms/bitset/LICENSE

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

vendor/github.com/bits-and-blooms/bitset/README.md

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

vendor/github.com/bits-and-blooms/bitset/SECURITY.md

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

0 commit comments

Comments
 (0)