Skip to content

Commit 507ae8c

Browse files
Merge pull request #266 from SiaFoundation/dependabot/go_modules/all-dependencies-749fcb9b23
Bump the all-dependencies group with 4 updates
2 parents df28027 + 20e7ded commit 507ae8c

File tree

5 files changed

+15
-18
lines changed

5 files changed

+15
-18
lines changed

cmd/explored/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ func runRootCmd(ctx context.Context, log *zap.Logger) error {
192192
case "zen":
193193
network, genesisBlock = chain.TestnetZen()
194194
cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.ZenBootstrapPeers...)
195-
case "anagami":
196-
network, genesisBlock = chain.TestnetAnagami()
197-
cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.AnagamiBootstrapPeers...)
198195
default:
199196
log.Fatal("network must be 'mainnet', 'zen', or 'anagami'", zap.String("network", cfg.Consensus.Network))
200197
}

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.24.2
44

55
require (
66
github.com/google/go-cmp v0.7.0
7-
github.com/mattn/go-sqlite3 v1.14.28
8-
github.com/oschwald/geoip2-golang v1.11.0
9-
go.sia.tech/core v0.14.3
10-
go.sia.tech/coreutils v0.16.6-0.20250725192801-b7206fb99580
7+
github.com/mattn/go-sqlite3 v1.14.30
8+
github.com/oschwald/geoip2-golang v1.13.0
9+
go.sia.tech/core v0.16.0
10+
go.sia.tech/coreutils v0.17.0
1111
go.sia.tech/jape v0.14.0
1212
go.uber.org/zap v1.27.0
1313
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
1010
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
1111
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
1212
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
13-
github.com/mattn/go-sqlite3 v1.14.28 h1:ThEiQrnbtumT+QMknw63Befp/ce/nUPgBPMlRFEum7A=
14-
github.com/mattn/go-sqlite3 v1.14.28/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
15-
github.com/oschwald/geoip2-golang v1.11.0 h1:hNENhCn1Uyzhf9PTmquXENiWS6AlxAEnBII6r8krA3w=
16-
github.com/oschwald/geoip2-golang v1.11.0/go.mod h1:P9zG+54KPEFOliZ29i7SeYZ/GM6tfEL+rgSn03hYuUo=
13+
github.com/mattn/go-sqlite3 v1.14.30 h1:bVreufq3EAIG1Quvws73du3/QgdeZ3myglJlrzSYYCY=
14+
github.com/mattn/go-sqlite3 v1.14.30/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
15+
github.com/oschwald/geoip2-golang v1.13.0 h1:Q44/Ldc703pasJeP5V9+aFSZFmBN7DKHbNsSFzQATJI=
16+
github.com/oschwald/geoip2-golang v1.13.0/go.mod h1:P9zG+54KPEFOliZ29i7SeYZ/GM6tfEL+rgSn03hYuUo=
1717
github.com/oschwald/maxminddb-golang v1.13.0 h1:R8xBorY71s84yO06NgTmQvqvTvlS/bnYZrrWX1MElnU=
1818
github.com/oschwald/maxminddb-golang v1.13.0/go.mod h1:BU0z8BfFVhi1LQaonTwwGQlsHUEu9pWNdMfmq4ztm0o=
1919
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -30,10 +30,10 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
3030
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
3131
go.etcd.io/bbolt v1.4.2 h1:IrUHp260R8c+zYx/Tm8QZr04CX+qWS5PGfPdevhdm1I=
3232
go.etcd.io/bbolt v1.4.2/go.mod h1:Is8rSHO/b4f3XigBC0lL0+4FwAQv3HXEEIgFMuKHceM=
33-
go.sia.tech/core v0.14.3 h1:cqg+Ub5+FCBtwDs2qAsSXRRS7y9EfeQ3YSiDoQqYPlA=
34-
go.sia.tech/core v0.14.3/go.mod h1:LTwIv96zPnsUbHNOUlXmo73B1A3PCmFFjilr14R1/dY=
35-
go.sia.tech/coreutils v0.16.6-0.20250725192801-b7206fb99580 h1:dj8doTEf8tx9uT47jWiQqoxBYB0IydppAxCJnrbIIDg=
36-
go.sia.tech/coreutils v0.16.6-0.20250725192801-b7206fb99580/go.mod h1:KgkWPWGFsJE/Rq4bosAF60Maxu45JfaM5Kh7AEEGwJ0=
33+
go.sia.tech/core v0.16.0 h1:XAvmyB48oqoYU+U8uCxuJBUWUEUpCv6hKMFpY7aOOCc=
34+
go.sia.tech/core v0.16.0/go.mod h1:UfNGef3Jk7tWykIw7bIPIn7cNT7hRAxk+FgwdsmFLlg=
35+
go.sia.tech/coreutils v0.17.0 h1:0ucYewcpBXHuBRqwt1fZNDDC73wt9Lsas+usIhotpGg=
36+
go.sia.tech/coreutils v0.17.0/go.mod h1:4u2CM3gWaCk8833gH46YicYWDLT9Dyw3l9yRcrkCvHQ=
3737
go.sia.tech/jape v0.14.0 h1:hyocTKqvcji+rC1vDE1djINlpErQQVDS6zoLMmxW3Xs=
3838
go.sia.tech/jape v0.14.0/go.mod h1:tONxoKrNr0iQWzBCygwlTkGoGjuEhyVpLGInvGd2mGY=
3939
go.sia.tech/mux v1.4.0 h1:LgsLHtn7l+25MwrgaPaUCaS8f2W2/tfvHIdXps04sVo=

internal/testutil/chain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ func MineV2Block(state consensus.State, v1Txns []types.Transaction, v2Txns []typ
121121
},
122122
}
123123
b.V2.Commitment = state.Commitment(b.MinerPayouts[0].Address, b.Transactions, b.V2Transactions())
124-
for b.ID().CmpWork(state.ChildTarget) < 0 {
125-
b.Nonce += state.NonceFactor()
124+
if !coreutils.FindBlockNonce(state, &b, time.Minute) {
125+
panic("failed to mine test block quickly enough")
126126
}
127127
return b
128128
}

persist/sqlite/scan_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func TestScan(t *testing.T) {
296296
RegistryEntriesTotal: 50,
297297
}
298298
v2Settings := proto4.HostSettings{
299-
ProtocolVersion: [3]uint8{4, 0, 0},
299+
ProtocolVersion: [3]uint8{5, 0, 0},
300300
Release: "test",
301301
AcceptingContracts: true,
302302
WalletAddress: w.Address(),

0 commit comments

Comments
 (0)