Skip to content

Commit 11a22b3

Browse files
endothermicdevShahanaFarooqui
authored andcommitted
doc: add poetry run to build instructions
This is required now that poetry shell is not supported Updating autogenerate to lock `listclosedchannels` sequence. Changelog-None
1 parent 922a30d commit 11a22b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/getting-started/getting-started/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ To build CLN for production:
135135
```shell
136136
poetry install
137137
./configure
138-
RUST_PROFILE=release make
138+
RUST_PROFILE=release poetry run make
139139
sudo RUST_PROFILE=release make install
140140
```
141141

@@ -358,7 +358,7 @@ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nf
358358
source ~/.bash_profile
359359
pyenv install 3.8.10
360360
pip install --upgrade pip
361-
pip install poetry
361+
pip install poetry==2.0.1
362362
```
363363

364364
If you don't have bitcoind installed locally you'll need to install that as well:

tests/autogenerate-rpc-examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ def generate_list_examples(l1, l2, l3, c12, c23_2, inv_l31, inv_l32, offer_l23,
19141914
output['amount_msat'] = 201998900000 + (i * 1000) + (k * 100)
19151915
update_example(node=l1, method='listtransactions', params={}, response=listtransactions_res1)
19161916
listclosedchannels_res1 = l2.rpc.listclosedchannels()
1917-
listclosedchannels_res1 = update_list_responses(listclosedchannels_res1, list_key='closedchannels')
1917+
listclosedchannels_res1 = update_list_responses(listclosedchannels_res1, list_key='closedchannels', slice_upto=2, update_func=None, sort=True, sort_key='channel_id')
19181918
for i, closedchannel in enumerate(listclosedchannels_res1['closedchannels'], start=1):
19191919
closedchannel['last_commitment_fee_msat'] = 2894000 + (i * 1000)
19201920
closedchannel['last_commitment_txid'] = 'txidcloselastcommitment0' + (('0000' + str(i)) * 8)

0 commit comments

Comments
 (0)