-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added modules in e2e test crate * feat : setup stage completed * feat : added sharp env vars * feat : updated implementation temp * updated code and removed redundant code * feat : e2e tests config change * feat : updated code for state update worker * feat : updated test * e2e test workflow added * feat : updated changelog.yml & updated code * lint fixes * feat : updated tests and fixed coverage tests * lint fix * tests and lint fix * DA sorted fix * run e2e parallel to coverage * ignore e2e tests folder from coverage * prettier fix * remove --ignored * update cargo llvm command * remove dependency of rust_build in CI * feat : updated code and removed debug logs * refactor * chore : resolved some comments * chore : resolved some comments * chore : resolved some comments * feat : added feature flag and refactored the code * lint fix * chore : refactoring * refactor * chore : refactor * updated code and fixed tests --------- Co-authored-by: apoorvsadana <[email protected]>
- Loading branch information
1 parent
764c4fa
commit 369ccbe
Showing
60 changed files
with
11,325 additions
and
1,353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: E2E test | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
localstack: | ||
image: localstack/localstack | ||
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 | ||
|
||
# selecting a toolchain either by action or manual `rustup` calls should happen | ||
# before the plugin, as the cache uses the current rustc version as its cache key | ||
- run: rustup show | ||
|
||
- name: Install Rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Check Anvil Installation | ||
run: | | ||
if command -v anvil &> /dev/null | ||
then | ||
echo "Anvil is installed. Version information:" | ||
anvil --version | ||
else | ||
echo "Anvil is not installed or not in PATH" | ||
exit 1 | ||
fi | ||
- name: Run e2e test | ||
env: | ||
ETHEREUM_BLAST_RPC_URL: ${{ secrets.ETHEREUM_BLAST_RPC_URL }} | ||
run: | | ||
RUST_LOG=trace cargo test --features testing test_orchestrator_workflow -- --nocapture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
pub const BLOB_DATA_FILE_NAME: &str = "blob_data.txt"; | ||
pub const SNOS_OUTPUT_FILE_NAME: &str = "snos_output.json"; | ||
pub const PROGRAM_OUTPUT_FILE_NAME: &str = "program_output.txt"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.