Commit Graph

3 Commits

Author SHA1 Message Date
Rusty Russell
1612447c09 datastore: don't fail upgrade test if lightningd has real datastore.
Reported-by: @cdecker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-30 07:31:33 +02:00
Rusty Russell
0b9e6c9517 datastore: change keys into an array.
We store this internally as hex, since shelve insists on string keys.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-25 18:10:40 +02:00
Rusty Russell
2ec769e05b datastore.py: update to meet new datastore builtin PR.
The new datastore PR now has a generation count; this passes
the tests against that now.

Also copies tests from c-lightning, and adds ugprade test.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-25 18:10:40 +02:00