Skip to content

Commit

Permalink
add ubuntu-latest-m
Browse files Browse the repository at this point in the history
  • Loading branch information
eureka-cpu committed Dec 11, 2024
1 parent cc54459 commit 95d46d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-ci-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "*"
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
17 changes: 17 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,20 @@ todo

### Prove
todo

### Estimate

You can estimate the number of cycles and segments using risc0 emulation to step through an ELF by passing the `estimate` command the path to a manifest.json and an inputs file (if required).

```
bonsol -k ./keypair.json -u http://localhost:8899 estimate \
--manifest-path program/manifest.json \
--input-file program/inputs.json \
--max-cycles 16777216 # this is the default
# Example Output:
#
# User cycles: 3380
# Total cycles: 65536
# Segments: 1
```

0 comments on commit 95d46d4

Please sign in to comment.