1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-25 08:34:10 +03:00
juvix/include
Paul Cadman 8272ee32c1
Add RPC call and dev command for Anoma.Protobuf.IndexerService.ListUnrevealedCommits (#3239)
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.
2024-12-07 17:51:10 +01:00
..
anoma Add RPC call and dev command for Anoma.Protobuf.IndexerService.ListUnrevealedCommits (#3239) 2024-12-07 17:51:10 +01:00
latex Export Juvix source code to latex (#2917) 2024-08-05 11:28:19 +02:00
package Remove @? (#3216) 2024-12-04 15:59:02 +01:00
package-base/Juvix/Builtin Deriving Ord (#3184) 2024-11-28 11:21:18 +01:00