Skip to content

Commit

Permalink
itest: use grpc for cln lspd
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Mar 29, 2024
1 parent 2b33523 commit 40db5f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/GoWebProd/uuid7 v0.0.0-20230623091058-5f5954faed6a
github.com/aws/aws-sdk-go v1.34.0
github.com/breez/lntest v0.0.30-0.20240301123156-3c1dcbf88c1d
github.com/breez/lntest v0.0.30-0.20240324204336-6f828e9fca8f
github.com/btcsuite/btcd v0.23.5-0.20230905170901-80f5a0ffdf36
github.com/btcsuite/btcd/btcec/v2 v2.3.2
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ github.com/breez/glightning v0.0.1-breez.0.20231123140102-d50d43e22138 h1:qNHyE7
github.com/breez/glightning v0.0.1-breez.0.20231123140102-d50d43e22138/go.mod h1:YAdIeSyx8VEhDCtEaGOJLmWNpPaQ3x4vYSAj9Vrppdo=
github.com/breez/lnd v0.15.0-beta.rc6.0.20231122093500-0c939786ced7 h1:RLHCG90jBAE8wNCUFMeu7j4LNbXWdV8BOsVZtmsTFpk=
github.com/breez/lnd v0.15.0-beta.rc6.0.20231122093500-0c939786ced7/go.mod h1:AOHMNILUI56HaVlVMai+ComGHsxMzMMCoxqFwN0wmvw=
github.com/breez/lntest v0.0.30-0.20240301123156-3c1dcbf88c1d h1:7MMuYkpZjlHLhzRcH2K7G4Lgl8t2e/CD+Zo1ysPl0oA=
github.com/breez/lntest v0.0.30-0.20240301123156-3c1dcbf88c1d/go.mod h1:TYaPUDOmJyag/+ezQFvMD3Qqwos8QIEE36CP06gwQUU=
github.com/breez/lntest v0.0.30-0.20240324204336-6f828e9fca8f h1:EnpiiJxDGFVO1waxiz/YTCn1sboN+O7gZJ6G9DbDlDk=
github.com/breez/lntest v0.0.30-0.20240324204336-6f828e9fca8f/go.mod h1:TYaPUDOmJyag/+ezQFvMD3Qqwos8QIEE36CP06gwQUU=
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c/go.mod h1:tjmYdS6MLJ5/s0Fj4DbLgSbDHbEqLJrtnHecBFkdz5M=
github.com/btcsuite/btcd v0.22.0-beta.0.20220204213055-eaf0459ff879/go.mod h1:osu7EoKiL36UThEgzYPqdRaxeo0NU8VoXqgcnwpey0g=
Expand Down
5 changes: 4 additions & 1 deletion itest/cln_lspd_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ func NewClnLspdNode(h *lntest.TestHarness, m *lntest.Miner, mem *mempoolApi, nam
lightningNode := lntest.NewClnNode(h, m, name, args...)
cln := &config.ClnConfig{
PluginAddress: pluginAddress,
SocketPath: filepath.Join(lightningNode.SocketDir(), lightningNode.SocketFile()),
GrpcAddress: fmt.Sprintf("localhost:%d", lightningNode.GrpcPort()),
CaCert: lightningNode.CaCertPath(),
ClientCert: lightningNode.ClientCertPath(),
ClientKey: lightningNode.ClientKeyPath(),
}
lspbase, err := newLspd(h, mem, name, nodeConfig, nil, cln)
if err != nil {
Expand Down

0 comments on commit 40db5f2

Please sign in to comment.