Skip to content

Commit 10e821d

Browse files
authored
Merge branch 'main' into feat/save-config-for-restarts
2 parents 514c332 + 3e01dfa commit 10e821d

File tree

58 files changed

+5459
-1209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5459
-1209
lines changed

.env.e2e

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
RUST_LOG=info
2+
CARGO_TARGET_DIR=target
23
#### AWS CONFIG ####
34
AWS_ACCESS_KEY_ID=test
45
AWS_SECRET_ACCESS_KEY=test
@@ -11,15 +12,16 @@ AWS_DEFAULT_REGION=localhost
1112
## MONGODB ##
1213

1314
MADARA_ORCHESTRATOR_DATABASE_NAME=orchestrator
14-
MADARA_ORCHESTRATOR_MADARA_VERSION=0.13.3
15+
MADARA_ORCHESTRATOR_MADARA_VERSION=0.14.0
1516

1617
#### PROVER ####
1718

1819

1920
#### BATCHING ####
20-
MADARA_ORCHESTRATOR_MAX_BATCH_TIME_SECONDS=30
21+
MADARA_ORCHESTRATOR_MAX_BATCH_TIME_SECONDS=90
2122
MADARA_ORCHESTRATOR_MAX_BATCH_SIZE=40
2223
MADARA_ORCHESTRATOR_BATCHING_LOCK_DURATION_SECONDS=3600
24+
MADARA_ORCHESTRATOR_MAX_BLOCKS_PER_SNOS_BATCH=10 # Need to add this since Pathfinder doesn't store builtin weights
2325

2426
## ATLANTIC ##
2527

@@ -29,8 +31,9 @@ MADARA_ORCHESTRATOR_ATLANTIC_MOCK_FACT_HASH=true # Whether to use mock fact regi
2931
MADARA_ORCHESTRATOR_ATLANTIC_PROVER_TYPE="herodotus" # ("herodotus" | "starkware")
3032
MADARA_ORCHESTRATOR_ATLANTIC_SETTLEMENT_LAYER="ethereum" # ("ethereum" | "starknet")
3133
MADARA_ORCHESTRATOR_ATLANTIC_VERIFIER_CONTRACT_ADDRESS=0x07ec0D28e50322Eb0C159B9090ecF3aeA8346DFe
32-
MADARA_ORCHESTRATOR_ATLANTIC_CAIRO_VM=python
34+
MADARA_ORCHESTRATOR_ATLANTIC_CAIRO_VM=rust # use Rust CairoVM with 0.14.0 aggregator
3335
MADARA_ORCHESTRATOR_ATLANTIC_RESULT=proof-generation
36+
3437
#### SETTLEMENT ####
3538

3639
## ETHEREUM ##

.github/workflows/task-lint-cargo.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ jobs:
3333
run: yes | make artifacts
3434

3535
- name: Cargo fmt
36-
run: cargo fmt -- --check
36+
run: |
37+
cargo fmt -- --check
38+
39+
# TODO(mehul 21/11/2025, hotfix): This is a temporary fix to ensure that the madara is fmt checked.
40+
# Madara does not belong to the toplevel workspace, so we need to lint it separately.
41+
# Remove this once we add madara back to toplevel workspace.
42+
cd madara
43+
cargo fmt -- --check
3744
3845
- name: Python Cairo setup (before clippy)
3946
uses: ./.github/actions/setup-python-cairo

.github/workflows/task-test-end-to-end.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
description: "Hash used to retrieve the cairo artifacts"
2525
required: true
2626
type: string
27+
secrets:
28+
ETHEREUM_SEPOLIA_RPC:
29+
required: true
2730

2831
jobs:
2932
test-end-to-end:
@@ -141,6 +144,7 @@ jobs:
141144
env:
142145
# the self hosted runner has a different region so we override it here
143146
AWS_REGION: us-east-1
147+
MADARA_ORCHESTRATOR_ETHEREUM_SETTLEMENT_RPC_URL: ${{ secrets.ETHEREUM_SEPOLIA_RPC }}
144148
MADARA_ORCHESTRATOR_ATLANTIC_API_KEY: ${{ secrets.MADARA_ORCHESTRATOR_ATLANTIC_API_KEY }}
145149
run: |
146150
RUST_LOG=info cargo test \

0 commit comments

Comments
 (0)