Skip to content

Commit 2ce75c6

Browse files
authored
feat: v1.0.4-testnet (#835)
2 parents 21455d3 + 3cc3cc6 commit 2ce75c6

21 files changed

Lines changed: 30 additions & 75 deletions

File tree

.github/workflows/pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: PR
22

33
on:
44
push:
5-
branches: [main, dev]
5+
branches: [main]
66
pull_request:
77
branches:
88
- "**"
@@ -15,6 +15,7 @@ on:
1515
- "sdk/**"
1616
- "zkvm/**"
1717
- "tests/**"
18+
- "examples/**"
1819
- ".github/workflows/**"
1920
merge_group:
2021

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "release_name=Nightly ($(date '+%Y-%m-%d'))" >> $GITHUB_OUTPUT
4343
elif [[ "${GITHUB_REF_NAME}" == "main" ]]; then
4444
echo "tag_name=latest" >> $GITHUB_OUTPUT
45-
echo "release_name=Latest Release" >> $GITHUB_OUTPUT
45+
echo "release_name=Latest" >> $GITHUB_OUTPUT
4646
else
4747
echo "tag_name=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
4848
echo "release_name=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
@@ -205,14 +205,14 @@ jobs:
205205
with:
206206
name: ${{ needs.prepare.outputs.release_name }}
207207
tag_name: ${{ needs.prepare.outputs.tag_name }}
208-
prerelease: ${{ env.IS_NIGHTLY }}
208+
prerelease: ${{ env.IS_NIGHTLY || needs.prepare.outputs.tag_name == 'latest' }}
209209
body: ${{ needs.prepare.outputs.changelog }}
210210
files: |
211211
${{ steps.artifacts.outputs.file_name }}
212212
${{ steps.man.outputs.cargo_prove_man }}
213213
214214
# If this is a nightly release, it also updates the release
215-
# tagged `nightly` for compatibility with `foundryup`
215+
# tagged `nightly` for compatibility with `sp1up`
216216
- name: Update nightly release
217217
if: ${{ env.IS_NIGHTLY }}
218218
uses: softprops/action-gh-release@v1

examples/Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

examples/aggregation/programs/aggregation/Cargo.toml renamed to examples/aggregation/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
[dependencies]
88
hex = "0.4.3"
99
sha2 = "0.10.8"
10-
sp1-zkvm = { path = "../../../../zkvm/entrypoint", features = ["verify"] }
10+
sp1-zkvm = { path = "../../../zkvm/entrypoint", features = ["verify"] }
1111

1212
[patch.crates-io]
1313
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes.git", package = "sha2", branch = "patch-v0.10.8" }

examples/aggregation/programs/aggregation/elf/riscv32im-succinct-zkvm-elf renamed to examples/aggregation/program/elf/riscv32im-succinct-zkvm-elf

145 KB
Binary file not shown.
File renamed without changes.

examples/aggregation/programs/fibonacci/src/main.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/aggregation/script/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[package]
22
version = "0.1.0"
3-
name = "sp1-aggregation-example-script"
3+
name = "aggregation-script"
44
edition = "2021"
5-
default-run = "sp1-aggregation-example-script"
65

76
[dependencies]
87
hex = "0.4.3"
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
fn main() {
2+
sp1_helper::build_program(&format!("{}/../program", env!("CARGO_MANIFEST_DIR")));
23
sp1_helper::build_program(&format!(
3-
"{}/../programs/aggregation",
4-
env!("CARGO_MANIFEST_DIR")
5-
));
6-
sp1_helper::build_program(&format!(
7-
"{}/../programs/fibonacci",
4+
"{}/../../fibonacci/program",
85
env!("CARGO_MANIFEST_DIR")
96
));
107
}

0 commit comments

Comments
 (0)