Skip to content

Commit ae333d4

Browse files
authored
Merge branch 'ElementsProject:master' into 7117-repro-nightly-builds
2 parents c92145a + 81e30ea commit ae333d4

File tree

89 files changed

+3549
-2069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+3549
-2069
lines changed

Cargo.lock

Lines changed: 79 additions & 232 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ else
456456
PYTEST_OPTS += -x
457457
endif
458458

459+
# Allow for targeting specific tests by setting the PYTEST_TESTS environment variable.
460+
ifeq ($(PYTEST_TESTS),)
461+
PYTEST_TESTS = "tests/"
462+
endif
463+
459464
check-units:
460465

461466
check: check-units installcheck pytest
@@ -466,7 +471,7 @@ ifeq ($(PYTEST),)
466471
exit 1
467472
else
468473
# Explicitly hand VALGRIND so you can override on make cmd line.
469-
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) $(PYTEST) tests/ $(PYTEST_OPTS)
474+
PYTHONPATH=$(MY_CHECK_PYTHONPATH) TEST_DEBUG=1 VALGRIND=$(VALGRIND) $(PYTEST) $(PYTEST_TESTS) $(PYTEST_OPTS)
470475
endif
471476

472477
check-fuzz: $(ALL_FUZZ_TARGETS)

cln-grpc/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cln-grpc"
3-
version = "0.1.9"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "MIT"
66
description = "The Core Lightning API as grpc primitives. Provides the bindings used to expose the API over the network."
@@ -15,10 +15,10 @@ server = ["cln-rpc"]
1515
[dependencies]
1616
anyhow = "1.0"
1717
log = "0.4"
18-
cln-rpc = { path="../cln-rpc/", version = "^0.1", optional = true }
19-
tonic = { version = "0.8", features = ["tls", "transport"] }
20-
prost = "0.11"
18+
cln-rpc = { path="../cln-rpc/", version = "0.2", optional = true }
2119
serde = { version = "1.0", features = ["derive"] }
20+
tonic = { version = "0.11", features = ["tls", "transport"] }
21+
prost = "0.12"
2222
hex = "0.4.3"
2323
bitcoin = { version = "0.30", features = [ "serde" ] }
2424
tokio-stream = { version = "0.1.14", features = ["sync"] }
@@ -28,7 +28,7 @@ tokio-util = "0.7.10"
2828

2929
[dev-dependencies]
3030
serde_json = "1.0.72"
31-
cln-rpc = { path="../cln-rpc/", version = "^0.1" }
31+
cln-rpc = { path="../cln-rpc/", version = "0.2" }
3232

3333
[build-dependencies]
34-
tonic-build = "0.8"
34+
tonic-build = "0.11"

cln-grpc/proto/primitives.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ enum ChannelTypeName {
127127
anchors_zero_fee_htlc_tx_even = 2;
128128
scid_alias_even = 3;
129129
zeroconf_even = 4;
130+
anchors_even = 5;
130131
}
131132

132133
enum AutocleanSubsystem {

cln-rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cln-rpc"
3-
version = "0.1.9"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "MIT"
66
description = "An async RPC client for Core Lightning."

cln-rpc/src/model.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-rpc/src/primitives.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ pub enum ChannelTypeName {
6767
SCID_ALIAS_EVEN = 3,
6868
#[serde(rename = "zeroconf/even")]
6969
ZEROCONF_EVEN = 4,
70+
#[serde(rename = "anchors/even")]
71+
ANCHORS_EVEN = 5,
7072
}
7173

7274
#[derive(Copy, Clone, Serialize, Deserialize, Debug)]
@@ -407,6 +409,7 @@ impl From<i32> for ChannelTypeName {
407409
2 => ChannelTypeName::ANCHORS_ZERO_FEE_HTLC_TX_EVEN,
408410
3 => ChannelTypeName::SCID_ALIAS_EVEN,
409411
4 => ChannelTypeName::ZEROCONF_EVEN,
412+
5 => ChannelTypeName::ANCHORS_EVEN,
410413
o => panic!("Unmapped ChannelTypeName {}", o),
411414
}
412415
}
@@ -420,6 +423,7 @@ impl From<ChannelTypeName> for i32 {
420423
ChannelTypeName::ANCHORS_ZERO_FEE_HTLC_TX_EVEN => 2,
421424
ChannelTypeName::SCID_ALIAS_EVEN => 3,
422425
ChannelTypeName::ZEROCONF_EVEN => 4,
426+
ChannelTypeName::ANCHORS_EVEN => 5,
423427
}
424428
}
425429
}

0 commit comments

Comments
 (0)