-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Merge Orchestrator history #471
base: main
Are you sure you want to change the base?
Changes from all commits
5490788
e320c80
3e9b41c
06e7964
6e14ef0
c81d279
1ee102b
9062d21
b04bfdd
eaf571f
eea4f83
4a948da
b420e1d
1768f47
5dd26f8
119e5bb
3fe3733
5051bec
9dcd974
e8eaeda
8c4a854
0c34cbd
fb815f7
f6c4c10
5fa41a8
f6c73c8
99b6f9d
8b3874e
b2ca7e9
52ec7fe
3af2334
267fff6
602eb9a
8384cb0
41bc907
859bacf
0f3c6c3
7a311cc
c2cd2df
b8a9748
4e4b401
ef7790b
9d5cdd7
2a9d77b
6174f9d
4343a41
b625f90
cb74280
5c96c8e
bd7854c
a342034
a4e6cba
00fc6f5
33a12b5
7baf190
7f53cf5
f1f1e4c
6803b91
d3e57f9
43db46e
c155210
b905890
36e7890
9e2369d
371d08d
73355ca
cfa43b0
5cfe98e
59d50ad
7e771e7
ae8fc95
fa59cdf
7926588
5728df2
11dc132
0ad9bfb
77bf9c6
f84ba41
21ec2cb
c3f0a50
f3e20b6
145df8e
6bd19cb
764c4fa
369ccbe
bbcf7b0
05e8acb
ab66b83
7b85453
60768cc
705b119
f65e11c
86b8d9a
ba2aeb8
63e4fa1
5922af6
ccb213b
b77250d
e5727c5
1c090fb
f5d986d
5fb2de6
64b375d
1b21d4d
82024c7
e7a51d9
b58fb2b
e14ee33
85aacf6
ce5219d
2c4c047
296c7a9
4d61e3a
ac131a5
803be5f
c66c0f3
a9d0e30
58cca2c
2ab2291
4b0fce4
9d5ace8
f79c7e1
d970d22
c2e00d1
9e67649
07c38a3
302542a
a008642
15b321b
cb8d82f
3ec2873
b9f0947
8e6bfe2
8c7fb53
59df910
3d453a2
45b1a75
1e2eede
b7c683f
0d7df60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
#### AWS CONFIG #### | ||
AWS_ACCESS_KEY_ID= # Your AWS access key ID | ||
AWS_SECRET_ACCESS_KEY= # Your AWS secret access key | ||
AWS_REGION= # AWS region | ||
# For AWS SDK | ||
AWS_ENDPOINT_URL= # AWS endpoint URL | ||
# For Omniqueue | ||
AWS_DEFAULT_REGION= # AWS default region | ||
|
||
# For EventBridge | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TYPE= # EventBridge type (rule/schedule) | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_RULE_NAME= # EventBridge rule name | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_ROLE_NAME= # EventBridge role name | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_POLICY_NAME= # EventBridge policy name | ||
|
||
#### ALERTS #### | ||
MADARA_ORCHESTRATOR_AWS_SNS_ARN= # SNS ARN for alerts | ||
|
||
#### DATA AVAILABILITY #### | ||
## ETHEREUM ## | ||
MADARA_ORCHESTRATOR_ETHEREUM_DA_RPC_URL= # Ethereum RPC URL for data availability | ||
|
||
#### DATABASE #### | ||
## MONGODB ## | ||
MADARA_ORCHESTRATOR_MONGODB_CONNECTION_URL= # MongoDB connection URL | ||
MADARA_ORCHESTRATOR_DATABASE_NAME= # MongoDB database name | ||
|
||
#### PROVER #### | ||
## SHARP ## | ||
MADARA_ORCHESTRATOR_SHARP_CUSTOMER_ID= # SHARP customer ID | ||
MADARA_ORCHESTRATOR_SHARP_URL= # SHARP service URL | ||
MADARA_ORCHESTRATOR_SHARP_USER_CRT= # SHARP user certificate | ||
MADARA_ORCHESTRATOR_SHARP_USER_KEY= # SHARP user private key | ||
MADARA_ORCHESTRATOR_SHARP_SERVER_CRT= # SHARP server certificate | ||
MADARA_ORCHESTRATOR_SHARP_RPC_NODE_URL= # SHARP RPC node URL | ||
MADARA_ORCHESTRATOR_SHARP_PROOF_LAYOUT= # SHARP proof layout | ||
MADARA_ORCHESTRATOR_GPS_VERIFIER_CONTRACT_ADDRESS= # GPS verifier contract address | ||
|
||
## ATLANTIC ## | ||
MADARA_ORCHESTRATOR_ATLANTIC_API_KEY= # Atlantic API key | ||
MADARA_ORCHESTRATOR_ATLANTIC_SERVICE_URL= # Atlantic service URL | ||
MADARA_ORCHESTRATOR_ATLANTIC_MOCK_FACT_HASH= # Whether to use mock fact registry (true/false) | ||
MADARA_ORCHESTRATOR_ATLANTIC_PROVER_TYPE= # Prover type (herodotus/starkware) | ||
MADARA_ORCHESTRATOR_ATLANTIC_SETTLEMENT_LAYER= # Settlement layer (ethereum/starknet) | ||
MADARA_ORCHESTRATOR_ATLANTIC_VERIFIER_CONTRACT_ADDRESS= # Atlantic verifier contract address | ||
MADARA_ORCHESTRATOR_ATLANTIC_RPC_NODE_URL= # Atlantic RPC node URL | ||
|
||
#### QUEUE #### | ||
## AWS SQS ## | ||
MADARA_ORCHESTRATOR_SQS_PREFIX= # SQS queue prefix | ||
MADARA_ORCHESTRATOR_SQS_SUFFIX= # SQS queue suffix | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TARGET_QUEUE_NAME= # EventBridge target queue name | ||
MADARA_ORCHESTRATOR_SQS_BASE_QUEUE_URL= # SQS base queue URL | ||
|
||
#### SETTLEMENT #### | ||
## ETHEREUM ## | ||
MADARA_ORCHESTRATOR_ETHEREUM_SETTLEMENT_RPC_URL= # Ethereum settlement RPC URL | ||
MADARA_ORCHESTRATOR_ETHEREUM_PRIVATE_KEY= # Ethereum private key | ||
MADARA_ORCHESTRATOR_L1_CORE_CONTRACT_ADDRESS= # L1 core contract address | ||
MADARA_ORCHESTRATOR_STARKNET_OPERATOR_ADDRESS= # Starknet operator address | ||
|
||
## STARKNET ## | ||
MADARA_ORCHESTRATOR_STARKNET_SETTLEMENT_RPC_URL= # Starknet settlement RPC URL | ||
MADARA_ORCHESTRATOR_STARKNET_PRIVATE_KEY= # Starknet private key | ||
MADARA_ORCHESTRATOR_STARKNET_ACCOUNT_ADDRESS= # Starknet account address | ||
MADARA_ORCHESTRATOR_STARKNET_CAIRO_CORE_CONTRACT_ADDRESS= # Starknet Cairo core contract address | ||
MADARA_ORCHESTRATOR_STARKNET_FINALITY_RETRY_WAIT_IN_SECS= # Retry wait time in seconds | ||
# MADARA_ORCHESTRATOR_MADARA_BINARY_PATH= # Optional: Madara binary path | ||
|
||
#### STORAGE #### | ||
## AWS S3 ## | ||
MADARA_ORCHESTRATOR_AWS_S3_BUCKET_NAME= # S3 bucket name | ||
|
||
#### INSTRUMENTATION #### | ||
## OTEL ## | ||
MADARA_ORCHESTRATOR_OTEL_SERVICE_NAME= # OpenTelemetry service name | ||
MADARA_ORCHESTRATOR_OTEL_COLLECTOR_ENDPOINT= # OpenTelemetry collector endpoint | ||
|
||
#### SERVER #### | ||
MADARA_ORCHESTRATOR_HOST= # Server host | ||
MADARA_ORCHESTRATOR_PORT= # Server port | ||
|
||
#### SERVICE #### | ||
MADARA_ORCHESTRATOR_MAX_BLOCK_NO_TO_PROCESS= # Maximum block number to process (optional) | ||
MADARA_ORCHESTRATOR_MIN_BLOCK_NO_TO_PROCESS= # Minimum block number to process (optional) | ||
MADARA_ORCHESTRATOR_MADARA_RPC_URL= # Madara RPC URL | ||
|
||
#### SNOS #### | ||
MADARA_ORCHESTRATOR_RPC_FOR_SNOS= # SNOS RPC URL |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
|
||
#### AWS CONFIG #### | ||
|
||
AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID | ||
AWS_SECRET_ACCESS_KEY=AWS_SECRET_ACCESS_KEY | ||
AWS_REGION=us-east-1 | ||
# For Aws sdk | ||
AWS_ENDPOINT_URL=http://localhost.localstack.cloud:4566 | ||
# For Omniqueue | ||
AWS_DEFAULT_REGION=localhost | ||
|
||
# For EventBridge | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TYPE=rule | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_RULE_NAME=madara-orchestrator-worker-trigger | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_ROLE_NAME=madara-orchestrator-worker-trigger-role | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_POLICY_NAME=madara-orchestrator-worker-trigger-policy | ||
|
||
|
||
|
||
#### ALERTS #### | ||
|
||
MADARA_ORCHESTRATOR_AWS_SNS_ARN=arn:aws:sns:us-east-1:000000000000:madara-orchestrator-arn | ||
|
||
|
||
#### DATA AVAILABILITY #### | ||
|
||
## ETHEREUM ## | ||
|
||
MADARA_ORCHESTRATOR_ETHEREUM_DA_RPC_URL=https://eth-sepolia.public.blastapi.io | ||
|
||
|
||
#### DATABASE #### | ||
|
||
## MONGODB ## | ||
|
||
MADARA_ORCHESTRATOR_MONGODB_CONNECTION_URL=mongodb://localhost:27017 | ||
MADARA_ORCHESTRATOR_DATABASE_NAME=orchestrator | ||
|
||
#### PROVER #### | ||
|
||
## SHARP ## | ||
|
||
MADARA_ORCHESTRATOR_SHARP_CUSTOMER_ID=sharp_consumer_id | ||
MADARA_ORCHESTRATOR_SHARP_URL=http://127.0.0.1:6000 | ||
MADARA_ORCHESTRATOR_SHARP_USER_CRT=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR4ekNDQXErZ0F3SUJBZ0lVTjBSK0xpb1MzL2ZadUZsK291RjZNNFk2RnRZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd2N6RUxNQWtHQTFVRUJoTUNTVTR4RXpBUkJnTlZCQWdNQ2xOdmJXVXRVM1JoZEdVeElUQWZCZ05WQkFvTQpHRWx1ZEdWeWJtVjBJRmRwWkdkcGRITWdVSFI1SUV4MFpERU5NQXNHQTF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KdFpGWnhNZ1phYnNxc2JRc3M2dWdMUGtTTmdBWjI1L2VhcWhnQ20KTjFUV2FxL0xJMVBLSkxPK085NFlMa2FsNVpyOTJCOXk4Q0VKVUVuSTA1R1N1MmJUOFM2a0ZBMEpadEszTW9SbwpqRWZWV1lQVHR5TFR4amNvRndCcDlHaXZYSDdSdHBxMDlmSmFhU1pNekxmNGlyNHpBdXprbExBNWZvampPNXlKCllnYlVaQUU2aS81N1NFWjR3VmxTCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K | ||
# MADARA_ORCHESTRATOR_SHARP_RPC_NODE_URL should be same as MADARA_ORCHESTRATOR_ETHEREUM_SETTLEMENT_RPC_URL | ||
MADARA_ORCHESTRATOR_SHARP_RPC_NODE_URL=http://127.0.0.1:8545 | ||
MADARA_ORCHESTRATOR_SHARP_PROOF_LAYOUT=small | ||
MADARA_ORCHESTRATOR_GPS_VERIFIER_CONTRACT_ADDRESS=0x07ec0D28e50322Eb0C159B9090ecF3aeA8346DFe | ||
|
||
## ATLANTIC ## | ||
|
||
MADARA_ORCHESTRATOR_ATLANTIC_API_KEY="API-KEY" | ||
MADARA_ORCHESTRATOR_ATLANTIC_SERVICE_URL="https://atlantic.api.herodotus.cloud" | ||
MADARA_ORCHESTRATOR_ATLANTIC_MOCK_FACT_HASH="false" # Whether to use mock fact registry | ||
MADARA_ORCHESTRATOR_ATLANTIC_PROVER_TYPE="herodotus" # ("herodotus" | "starkware") | ||
MADARA_ORCHESTRATOR_ATLANTIC_SETTLEMENT_LAYER="ethereum" # ("ethereum" | "starknet") | ||
MADARA_ORCHESTRATOR_ATLANTIC_VERIFIER_CONTRACT_ADDRESS=0x07ec0D28e50322Eb0C159B9090ecF3aeA8346DFe | ||
MADARA_ORCHESTRATOR_ATLANTIC_RPC_NODE_URL=http://127.0.0.1:8545 | ||
#### QUEUE #### | ||
|
||
## AWS SQS ## | ||
|
||
MADARA_ORCHESTRATOR_SQS_PREFIX=madara_orchestrator | ||
MADARA_ORCHESTRATOR_SQS_SUFFIX=queue | ||
MADARA_ORCHESTRATOR_EVENT_BRIDGE_TARGET_QUEUE_NAME=madara_orchestrator_worker_trigger_queue | ||
MADARA_ORCHESTRATOR_SQS_BASE_QUEUE_URL=http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000 | ||
|
||
#### SETTLEMENT #### | ||
|
||
## ETHEREUM ## | ||
|
||
MADARA_ORCHESTRATOR_ETHEREUM_SETTLEMENT_RPC_URL=https://eth-sepolia.public.blastapi.io | ||
MADARA_ORCHESTRATOR_ETHEREUM_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
MADARA_ORCHESTRATOR_L1_CORE_CONTRACT_ADDRESS=0xE2Bb56ee936fd6433DC0F6e7e3b8365C906AA057 | ||
MADARA_ORCHESTRATOR_STARKNET_OPERATOR_ADDRESS=0x5b98B836969A60FEC50Fa925905Dd1D382a7db43 | ||
|
||
## STARKNET ## | ||
|
||
MADARA_ORCHESTRATOR_STARKNET_SETTLEMENT_RPC_URL=https://starknet-sepolia.public.blastapi.io | ||
MADARA_ORCHESTRATOR_STARKNET_PRIVATE_KEY=0x76f2ccdb23f29bc7b69278e947c01c6160a31cf02c19d06d0f6e5ab1d768b86 | ||
MADARA_ORCHESTRATOR_STARKNET_ACCOUNT_ADDRESS=0x3bb306a004034dba19e6cf7b161e7a4fef64bc1078419e8ad1876192f0b8cd1 | ||
MADARA_ORCHESTRATOR_STARKNET_CAIRO_CORE_CONTRACT_ADDRESS= | ||
MADARA_ORCHESTRATOR_STARKNET_FINALITY_RETRY_WAIT_IN_SECS=10 | ||
# MADARA_ORCHESTRATOR_MADARA_BINARY_PATH= | ||
|
||
#### STORAGE #### | ||
|
||
## AWS S3 ## | ||
|
||
MADARA_ORCHESTRATOR_AWS_S3_BUCKET_NAME=madara-orchestrator-test-bucket | ||
|
||
|
||
#### INSTRUMENTATION #### | ||
|
||
## OTEL ## | ||
|
||
MADARA_ORCHESTRATOR_OTEL_SERVICE_NAME=orchestrator | ||
|
||
#### SERVER #### | ||
|
||
MADARA_ORCHESTRATOR_HOST=127.0.0.1 | ||
MADARA_ORCHESTRATOR_PORT=3000 | ||
|
||
|
||
#### SERVICE #### | ||
|
||
MADARA_ORCHESTRATOR_MAX_BLOCK_NO_TO_PROCESS= | ||
MADARA_ORCHESTRATOR_MIN_BLOCK_NO_TO_PROCESS= | ||
MADARA_ORCHESTRATOR_MADARA_RPC_URL=http://81.16.176.130:9545 | ||
|
||
|
||
#### SNOS #### | ||
|
||
MADARA_ORCHESTRATOR_RPC_FOR_SNOS=http://81.16.176.130:9545 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Changelog Workflow" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
branches: [main] | ||
|
||
jobs: | ||
# Enforces the update of a changelog file on every pull request | ||
# skipLabel default is "Skip-Changelog" | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel like we should tests Madara and SNOS in different CI actions |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: E2E test | ||
|
||
on: | ||
workflow_call: | ||
secrets: | ||
RPC_FOR_SNOS: | ||
required: true | ||
|
||
jobs: | ||
coverage: | ||
runs-on: karnot-arc-runner-set | ||
|
||
services: | ||
localstack: | ||
image: localstack/localstack@sha256:763947722c6c8d33d5fbf7e8d52b4bddec5be35274a0998fdc6176d733375314 | ||
|
||
env: | ||
DEFAULT_REGION: us-east-1 | ||
AWS_ACCESS_KEY_ID: "AWS_ACCESS_KEY_ID" | ||
AWS_SECRET_ACCESS_KEY: "AWS_SECRET_ACCESS_KEY" | ||
ports: | ||
- 4566:4566 | ||
mongodb: | ||
image: mongo:latest | ||
ports: | ||
- 27017:27017 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install necessary dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt-get install -y clang llvm libudev-dev protobuf-compiler gcc g++ build-essential libssl-dev pkg-config curl wget git libclang-dev | ||
- name: Install Rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Display Python version | ||
run: python --version | ||
|
||
- name: Install cairo 0 | ||
run: | | ||
# Creating venv | ||
python3.9 -m venv ~/cairo_venv | ||
source ~/cairo_venv/bin/activate | ||
# Installing deps | ||
sudo apt install -y libgmp3-dev | ||
pip3 install ecdsa fastecdsa sympy | ||
# Installing cairo lang | ||
pip3 install cairo-lang | ||
- name: Check Anvil Installation & run Anvil | ||
run: | | ||
if command -v anvil &> /dev/null | ||
then | ||
echo "Anvil is installed. Version information:" | ||
anvil --version | ||
anvil --block-time 1 & | ||
else | ||
echo "Anvil is not installed or not in PATH" | ||
exit 1 | ||
fi | ||
- name: Build SNOS files | ||
run: | | ||
make snos | ||
- name: Run e2e test | ||
env: | ||
MADARA_ORCHESTRATOR_ETHEREUM_SETTLEMENT_RPC_URL: ${{ secrets.ETHEREUM_SEPOLIA_BLAST_RPC }} | ||
MADARA_ORCHESTRATOR_RPC_FOR_SNOS: ${{ secrets.RPC_FOR_SNOS }} | ||
# the self hosted runner has a different region so we override it here | ||
AWS_REGION: us-east-1 | ||
run: | | ||
RUST_LOG=info cargo test --features testing test_orchestrator_workflow -- --nocapture |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably want to figure out a way to compile only SNOS or Madara if we change only one of those no? At least I feel like testing Madara against SNOS should be a separate and last step in the CI if all other steps pass. And make it so that if changes are made to SNOS we do not run e2e on Madara. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: Task - Build Rust | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
rust_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: rustup show | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Display Python version | ||
run: python --version | ||
|
||
- name: Install cairo 0 | ||
run: | | ||
# Creating venv | ||
python3.9 -m venv ~/cairo_venv | ||
source ~/cairo_venv/bin/activate | ||
# Installing deps | ||
sudo apt install -y libgmp3-dev | ||
pip3 install ecdsa fastecdsa sympy | ||
# Installing cairo lang | ||
pip3 install cairo-lang | ||
- name: Build SNOS files | ||
run: | | ||
make snos | ||
- name: Build the project | ||
run: | | ||
cargo build --release --workspace |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[submodule "cairo-lang"] | ||
path = cairo-lang | ||
url = https://github.com/starkware-libs/cairo-lang.git | ||
ignore = all | ||
[submodule "madara"] | ||
path = madara | ||
url = https://github.com/madara-alliance/madara.git | ||
ignore = all | ||
[submodule "madara-bootstrapper"] | ||
path = madara-bootstrapper | ||
url = https://github.com/madara-alliance/madara-bootstrapper.git | ||
ignore = all | ||
[submodule "pathfinder"] | ||
path = pathfinder | ||
url = https://github.com/eqlabs/pathfinder.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be moved to
crates/orchestrator
if it is related to that?