Skip to content

Commit 3c29492

Browse files
bump signer to v0.2.0 (#40)
1 parent 63f7956 commit 3c29492

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ require (
5050

5151
require (
5252
github.com/babylonchain/covenant-signer v0.1.2
53+
github.com/babylonchain/networks/parameters v0.2.0
5354
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
5455
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.4
5556
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
@@ -91,7 +92,6 @@ require (
9192
github.com/aead/siphash v1.0.1 // indirect
9293
github.com/andybalholm/brotli v1.0.5 // indirect
9394
github.com/aws/aws-sdk-go v1.44.312 // indirect
94-
github.com/babylonchain/networks/parameters v0.2.0 // indirect
9595
github.com/beorn7/perks v1.0.1 // indirect
9696
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
9797
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
@@ -327,4 +327,4 @@ require (
327327
sigs.k8s.io/yaml v1.4.0 // indirect
328328
)
329329

330-
replace github.com/babylonchain/covenant-signer => github.com/babylonchain/covenant-signer v0.1.2
330+
replace github.com/babylonchain/covenant-signer => github.com/babylonchain/covenant-signer-private v0.2.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8
279279
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
280280
github.com/babylonchain/babylon v0.8.6-0.20240426101001-7778c798e236 h1:Ydna4VcP56xu1+zdgygqHdSCeMduZjuznVhr4exO5do=
281281
github.com/babylonchain/babylon v0.8.6-0.20240426101001-7778c798e236/go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M=
282-
github.com/babylonchain/covenant-signer v0.1.2 h1:MaiMG2Rouw+wsA4PhWUtx9/WCYh0Y9r1rMENvzYs8zY=
283-
github.com/babylonchain/covenant-signer v0.1.2/go.mod h1:alX7NoDE2m7gW4O17hLAsluU30P0XaP5RlThAco8Y9Q=
282+
github.com/babylonchain/covenant-signer-private v0.2.0 h1:/Z6o9KLDSSHz0A3M/bUKzTjSr7pKX6cIG36tRE/4UzQ=
283+
github.com/babylonchain/covenant-signer-private v0.2.0/go.mod h1:eJOoz//rsRCCrAhop+/EqXcnsEgPEy+T8LO7ak6dBHo=
284284
github.com/babylonchain/networks/parameters v0.2.0 h1:f3e1MwMFm33mIKji7AgQk39aO9YIfbCbbjXtQHEQ99E=
285285
github.com/babylonchain/networks/parameters v0.2.0/go.mod h1:nejhvrL7Iwh5Vunvkg7pnomQZlHnyNzOY9lQaDp6tOA=
286286
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=

itest/e2e_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func StartManager(
228228
func startSigningServer(
229229
t *testing.T,
230230
magicBytes []byte,
231-
) (*config.RemoteSignerConfig, *signerapp.ParsedGlobalParams, *signerservice.SigningServer) {
231+
) (*config.RemoteSignerConfig, *parser.ParsedGlobalParams, *signerservice.SigningServer) {
232232
appConfig := signercfg.DefaultConfig()
233233
appConfig.BtcNodeConfig.Host = "127.0.0.1:18443"
234234
appConfig.BtcNodeConfig.User = "user"
@@ -292,8 +292,8 @@ func startSigningServer(
292292
chainInfo := signerapp.NewBitcoindChainInfo(client)
293293
signer := signerapp.NewPsbtSigner(client)
294294

295-
signerGlobalParams := signerapp.ParsedGlobalParams{
296-
Versions: []*signerapp.ParsedVersionedGlobalParams{
295+
signerGlobalParams := parser.ParsedGlobalParams{
296+
Versions: []*parser.ParsedVersionedGlobalParams{
297297
{
298298
Version: 0,
299299
ActivationHeight: 0,
@@ -315,7 +315,9 @@ func startSigningServer(
315315
app := signerapp.NewSignerApp(
316316
signer,
317317
chainInfo,
318-
&signerGlobalParams,
318+
&signerapp.VersionedParamsRetriever{
319+
ParsedGlobalParams: &signerGlobalParams,
320+
},
319321
netParams,
320322
)
321323

0 commit comments

Comments
 (0)