Skip to content

Commit fb30030

Browse files
prkpndyMohiiit
andauthored
fix: 0.14.0 E2E tests and change settlement to handle fusaka upgrade (#841)
Co-authored-by: Mohit Dhattarwal <[email protected]>
1 parent d70e9b1 commit fb30030

File tree

48 files changed

+5351
-1146
lines changed

Some content is hidden

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

48 files changed

+5351
-1146
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-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)