Skip to content

Commit

Permalink
[cypher] load state snapshot (#5)
Browse files Browse the repository at this point in the history
* add community wallet flag to snapshot state

* add asserts

* patch load single archive

* rename cli subcommand

* wip

* refactor ledger replay

* submit to db

* add entrypoint test for exchange

* add index

* ignore expensive test

* patch

* patch index

* handle submit errors

* revert

* better error handling

* patch total funding

* patch replay

* use btree instead of hash, add fixtures and test

* patch cypher query

* docs

* complete tests
  • Loading branch information
0o-de-lally authored Dec 8, 2024
1 parent e348a09 commit 88cf89f
Show file tree
Hide file tree
Showing 13 changed files with 633 additions and 341 deletions.
3 changes: 3 additions & 0 deletions docs/local_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Start a Neo4j instance. Choose a password `<password>`. Allow it to create the d
export LIBRA_GRAPH_DB_URI='neo4j://localhost'
export LIBRA_GRAPH_DB_USER='neo4j'
export LIBRA_GRAPH_DB_PASS=<password>
# optionally export trace logging
export RUST_LOG=trace
```

Import the sample exchange orders
Expand Down
Loading

0 comments on commit 88cf89f

Please sign in to comment.