Skip to content

build(deps): bump github.com/utxorpc/go-codegen from 0.16.0 to 0.17.0 #428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ linters:
- musttag
- nilerr
- nilnesserr
- noctx
- perfsprint
- prealloc
- protogetter
Expand All @@ -41,6 +40,7 @@ linters:
- zerologlint
disable:
- depguard
- noctx
exclusions:
generated: lax
presets:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/swaggo/files v1.0.1
github.com/swaggo/gin-swagger v1.6.0
github.com/swaggo/swag v1.16.4
github.com/utxorpc/go-codegen v0.16.0
github.com/utxorpc/go-codegen v0.17.0
go.uber.org/automaxprocs v1.6.0
golang.org/x/net v0.42.0
gopkg.in/yaml.v2 v2.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE=
github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
github.com/utxorpc/go-codegen v0.16.0 h1:jPTyKtv2OI6Ms7U/goAYbaP6axAZ39vRmoWdjO/rkeM=
github.com/utxorpc/go-codegen v0.16.0/go.mod h1:2Nwq1md4HEcO2guvTpH45slGHO2aGRbiXKx73FM65ow=
github.com/utxorpc/go-codegen v0.17.0 h1:cJ7Df9r8Az39lveIcmzcRciIDc3UJFdMSmXg8IAtBPM=
github.com/utxorpc/go-codegen v0.17.0/go.mod h1:LBVGFns4YAHMhy+Pc8tF5ExkU+N8Wm3srst4omKZy4g=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
Expand Down
6 changes: 3 additions & 3 deletions internal/utxorpc/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *chainSyncServiceServer) FetchBlock(
var points []ocommon.Point
if len(ref) > 0 {
for _, blockRef := range ref {
blockIdx := blockRef.GetIndex()
blockIdx := blockRef.GetSlot()
blockHash := blockRef.GetHash()
slot := uint64(blockIdx)
point := ocommon.NewPoint(slot, blockHash)
Expand Down Expand Up @@ -129,7 +129,7 @@ func (s *chainSyncServiceServer) DumpHistory(
if startToken != nil {
log.Printf("startToken != nil\n")
blockRef := startToken
blockIdx := blockRef.GetIndex()
blockIdx := blockRef.GetSlot()
blockHash := blockRef.GetHash()
slot := uint64(blockIdx)
startPoint = ocommon.NewPoint(slot, blockHash)
Expand Down Expand Up @@ -187,7 +187,7 @@ func (s *chainSyncServiceServer) FollowTip(
var point ocommon.Point
if len(intersect) > 0 {
for _, blockRef := range intersect {
blockIdx := blockRef.GetIndex()
blockIdx := blockRef.GetSlot()
blockHash := blockRef.GetHash()
log.Printf("BlockRef: idx: %d, hash: %x", blockIdx, blockHash)
slot := uint64(blockIdx)
Expand Down