Skip to content

Commit 0254a6f

Browse files
committed
Merge branch 'staging' into update_sp1_4
2 parents 05cdeb9 + b281543 commit 0254a6f

File tree

7 files changed

+11
-106
lines changed

7 files changed

+11
-106
lines changed

.github/workflows/build-and-test-go.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,26 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v4
23+
2324
- uses: actions/setup-go@v5
2425
with:
2526
go-version: "1.23"
2627
cache: false
28+
2729
- name: foundry-toolchain
2830
uses: foundry-rs/[email protected]
31+
2932
- name: Build SP1 bindings
3033
run: make build_sp1_linux
31-
- name: Build Old SP1 bindings
32-
run: make build_sp1_linux_old
34+
3335
- name: Build Risc Zero go bindings
3436
run: make build_risc_zero_linux
35-
- name: Build Old Risc Zero go bindings
36-
run: make build_risc_zero_linux_old
37+
3738
- name: Build Merkle Tree bindings
3839
run: make build_merkle_tree_linux
40+
3941
- name: Build operator
4042
run: go build operator/cmd/main.go
43+
4144
- name: Build aggregator
4245
run: go build aggregator/cmd/main.go

.github/workflows/test-risc-zero-old.yml

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

.github/workflows/test-sp1-old.yml

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

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/src/core/AlignedLayerServiceManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ contract AlignedLayerServiceManager is
344344
function checkPublicInput(
345345
bytes calldata publicInput,
346346
bytes32 hash
347-
) public pure returns (bool) {
347+
) external pure returns (bool) {
348348
return keccak256(publicInput) == hash;
349349
}
350350

contracts/src/core/IAlignedLayerServiceManager.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ interface IAlignedLayerServiceManager {
7878
function withdraw(uint256 amount) external;
7979

8080
function depositToBatcher(address account) external payable;
81+
82+
function checkPublicInput(bytes calldata publicInput, bytes32 hash) external pure returns (bool);
8183
}

docker/aligned_base.Dockerfile

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,6 @@ COPY operator/risc_zero/lib/src/ /aligned_layer/operator/risc_zero/lib/src/
5353
WORKDIR /aligned_layer/operator/risc_zero/lib
5454
RUN cargo chef prepare --recipe-path /aligned_layer/operator/risc_zero/lib/recipe.json
5555

56-
# build_sp1_linux_old
57-
COPY operator/sp1_old/lib/Cargo.toml /aligned_layer/operator/sp1_old/lib/Cargo.toml
58-
COPY operator/sp1_old/lib/src/ /aligned_layer/operator/sp1_old/lib/src/
59-
WORKDIR /aligned_layer/operator/sp1_old/lib/src/
60-
RUN cargo chef prepare --recipe-path /aligned_layer/operator/sp1_old/lib/recipe.json
61-
62-
# build_risc_zero_linux_old
63-
COPY operator/risc_zero_old/lib/Cargo.toml /aligned_layer/operator/risc_zero_old/lib/Cargo.toml
64-
COPY operator/risc_zero_old/lib/src/ /aligned_layer/operator/risc_zero_old/lib/src/
65-
WORKDIR /aligned_layer/operator/risc_zero_old/lib/src/
66-
RUN cargo chef prepare --recipe-path /aligned_layer/operator/risc_zero_old/lib/recipe.json
67-
6856
# build_merkle_tree_linux
6957
COPY operator/merkle_tree/lib/Cargo.toml /aligned_layer/operator/merkle_tree/lib/Cargo.toml
7058
COPY operator/merkle_tree/lib/src/ /aligned_layer/operator/merkle_tree/lib/src/
@@ -87,18 +75,6 @@ COPY --from=planner /aligned_layer/operator/risc_zero/lib/recipe.json /aligned_l
8775
WORKDIR /aligned_layer/operator/risc_zero/lib/
8876
RUN cargo chef cook --release --recipe-path /aligned_layer/operator/risc_zero/lib/recipe.json
8977

90-
# build_sp1_linux_old
91-
COPY operator/sp1_old/ /aligned_layer/operator/sp1_old/
92-
COPY --from=planner /aligned_layer/operator/sp1_old/lib/recipe.json /aligned_layer/operator/sp1_old/lib/recipe.json
93-
WORKDIR /aligned_layer/operator/sp1_old/lib/
94-
RUN cargo chef cook --release --recipe-path /aligned_layer/operator/sp1_old/lib/recipe.json
95-
96-
# build_risc_zero_linux_old
97-
COPY operator/risc_zero_old/ /aligned_layer/operator/risc_zero_old/
98-
COPY --from=planner /aligned_layer/operator/risc_zero_old/lib/recipe.json /aligned_layer/operator/risc_zero_old/lib/recipe.json
99-
WORKDIR /aligned_layer/operator/risc_zero_old/lib/
100-
RUN cargo chef cook --release --recipe-path /aligned_layer/operator/risc_zero_old/lib/recipe.json
101-
10278
# build_merkle_tree_linux
10379
COPY operator/merkle_tree/ /aligned_layer/operator/merkle_tree/
10480
COPY --from=planner /aligned_layer/operator/merkle_tree/lib/recipe.json /aligned_layer/operator/merkle_tree/lib/recipe.json
@@ -127,19 +103,6 @@ WORKDIR /aligned_layer/operator/risc_zero/lib
127103
RUN cargo build ${RELEASE_FLAG}
128104
RUN cp /aligned_layer/operator/risc_zero/lib/target/${TARGET_REL_PATH}/librisc_zero_verifier_ffi.so /aligned_layer/operator/risc_zero/lib/librisc_zero_verifier_ffi.so
129105

130-
# build_sp1_linux_old
131-
COPY --from=chef_builder /aligned_layer/operator/sp1_old/lib/target/ /aligned_layer/operator/sp1_old/lib/target/
132-
WORKDIR /aligned_layer/operator/sp1_old/lib
133-
RUN cargo build ${RELEASE_FLAG}
134-
RUN cp /aligned_layer/operator/sp1_old/lib/target/${TARGET_REL_PATH}/libsp1_verifier_old_ffi.so /aligned_layer/operator/sp1_old/lib/libsp1_verifier_old_ffi.so
135-
136-
# build_risc_zero_linux_old
137-
COPY --from=chef_builder /aligned_layer/operator/risc_zero_old/lib/target/ /aligned_layer/operator/risc_zero_old/lib/target/
138-
WORKDIR /aligned_layer/operator/risc_zero_old/lib
139-
RUN cargo build ${RELEASE_FLAG}
140-
RUN cp /aligned_layer/operator/risc_zero_old/lib/target/${TARGET_REL_PATH}/librisc_zero_verifier_old_ffi.so /aligned_layer/operator/risc_zero_old/lib/librisc_zero_verifier_old_ffi.so
141-
142-
143106
# build_merkle_tree_linux
144107
COPY --from=chef_builder /aligned_layer/operator/merkle_tree/lib/target/ /aligned_layer/operator/merkle_tree/lib/target/
145108
WORKDIR /aligned_layer/operator/merkle_tree/lib

0 commit comments

Comments
 (0)