Skip to content

Commit 75aceba

Browse files
authored
chore(deps): update blinklabs-io/gouroboros to v0.89.0 (#66)
1 parent 112e622 commit 75aceba

File tree

3 files changed

+19
-27
lines changed

3 files changed

+19
-27
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/blinklabs-io/cardano-models
33
go 1.21
44

55
require (
6-
github.com/blinklabs-io/gouroboros v0.88.0
6+
github.com/blinklabs-io/gouroboros v0.89.0
77
github.com/fxamacker/cbor/v2 v2.6.0
88
github.com/go-playground/validator/v10 v10.22.0
99
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/blinklabs-io/gouroboros v0.88.0 h1:LCZ6V5NxO7YxEjOz5eLuKFSNkZX1y70+H7iYoXkEzgY=
2-
github.com/blinklabs-io/gouroboros v0.88.0/go.mod h1:1lxsmbJQQMbzta5np5TG0qmb0aNYAeMDvQXcoCwE7XU=
1+
github.com/blinklabs-io/gouroboros v0.89.0 h1:EGetVz7u7yrVN6oRP/YmwEQFRVK2I7yvF1GxRv/vlio=
2+
github.com/blinklabs-io/gouroboros v0.89.0/go.mod h1:1lxsmbJQQMbzta5np5TG0qmb0aNYAeMDvQXcoCwE7XU=
33
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
44
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
55
github.com/fxamacker/cbor/v2 v2.6.0 h1:sU6J2usfADwWlYDAFhZBQ6TnLFBHxgesMrQfQgk1tWA=

tuna.go

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,14 @@ func (t *TunaV1State) MarshalCBOR() ([]byte, error) {
4040
tmp := cbor.NewConstructor(
4141
0,
4242
cbor.IndefLengthList{
43-
Items: []any{
44-
t.BlockNumber,
45-
t.CurrentHash,
46-
t.LeadingZeros,
47-
t.DifficultyNumber,
48-
t.EpochTime,
49-
t.RealTimeNow,
50-
t.Extra,
51-
cbor.IndefLengthList{
52-
Items: tmpInterlink,
53-
},
54-
},
43+
t.BlockNumber,
44+
t.CurrentHash,
45+
t.LeadingZeros,
46+
t.DifficultyNumber,
47+
t.EpochTime,
48+
t.RealTimeNow,
49+
t.Extra,
50+
cbor.IndefLengthList(tmpInterlink),
5551
},
5652
)
5753
return cbor.Encode(&tmp)
@@ -90,18 +86,14 @@ func (t *TunaV2State) MarshalCBOR() ([]byte, error) {
9086
tmp := cbor.NewConstructor(
9187
0,
9288
cbor.IndefLengthList{
93-
Items: []any{
94-
t.BlockNumber,
95-
t.CurrentHash,
96-
t.LeadingZeros,
97-
t.DifficultyNumber,
98-
t.EpochTime,
99-
t.RealTimeNow,
100-
cbor.IndefLengthList{
101-
Items: tmpInterlink,
102-
},
103-
t.Extra,
104-
},
89+
t.BlockNumber,
90+
t.CurrentHash,
91+
t.LeadingZeros,
92+
t.DifficultyNumber,
93+
t.EpochTime,
94+
t.RealTimeNow,
95+
cbor.IndefLengthList(tmpInterlink),
96+
t.Extra,
10597
},
10698
)
10799
return cbor.Encode(&tmp)

0 commit comments

Comments
 (0)