mirror of
https://github.com/anoma/juvix.git
synced 2024-12-25 08:34:10 +03:00
8272ee32c1
This PR adds support for `Anoma.Protobuf.IndexerService.ListUnrevealedCommits` via the CLI: ``` $ juvix dev anoma indexer list-unrevealed-commits --help Usage: juvix dev anoma indexer list-unrevealed-commits [-o|--output OUTPUT_FILE] Call the Anoma.Protobuf.IndexerService.ListUnrevealedCommits endpoint Available options: -o,--output OUTPUT_FILE Path to output file -h,--help Show this help text ``` It also adds a test suite for Anoma client transaction submissions / verification. The Swap example using the Resource Machine API is tested with the following flow: 1. Compile the Swap example 2. Submit the compiled output to the prove endpoint - capture the expected commitment in a trace 3. Submit the proved output to add-transaction 4. Poll ListUnrevealedCommits until a commit appears and compare it with the commitment we captured in 2. |
||
---|---|---|
.. | ||
Commands | ||
TopCommand | ||
App.hs | ||
AsmInterpreter.hs | ||
CommonOptions.hs | ||
Evaluator.hs | ||
GlobalOptions.hs | ||
HaskelineJB.hs | ||
Main.hs | ||
RegInterpreter.hs | ||
TopCommand.hs | ||
TreeEvaluator.hs |