-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into l2_fix_nonce_state_diff
- Loading branch information
Showing
85 changed files
with
3,348 additions
and
1,405 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
curl -X POST $url \ | ||
-H 'Content-Type: application/json; charset=utf-8' \ | ||
--data @- <<EOF | ||
$(jq -n --arg text "$(cat levm_ef_tests_summary_slack.txt)" '{ | ||
"blocks": [ | ||
{ | ||
"type": "header", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "Daily LEVM EF Tests Run Report" | ||
} | ||
}, | ||
{ | ||
"type": "divider" | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": $text | ||
} | ||
} | ||
] | ||
}') | ||
EOF |
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 was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Daily LEVM Reporter | ||
|
||
on: | ||
schedule: | ||
# Every day at midnight | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
env: | ||
RUST_VERSION: 1.80.1 | ||
|
||
jobs: | ||
ef-test: | ||
name: Generate Report for EF Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Rustup toolchain install | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: ${{ env.RUST_VERSION }} | ||
|
||
- name: Caching | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Download EF Tests | ||
run: | | ||
cd crates/vm/levm | ||
make download-evm-ef-tests | ||
- name: Run tests | ||
run: | | ||
cd crates/vm/levm | ||
make generate-evm-ef-tests-report | ||
- name: Post results in summary | ||
run: | | ||
echo "# Daily LEVM EF Tests Run Report" >> $GITHUB_STEP_SUMMARY | ||
cat levm_ef_tests_summary_github.txt >> $GITHUB_STEP_SUMMARY | ||
- name: Post results to ethrex L1 slack channel | ||
env: | ||
url: ${{ secrets.ETHREX_L1_SLACK_WEBHOOK }} | ||
run: sh .github/scripts/publish_levm_ef_tests_summary.sh | ||
|
||
- name: Post results to ethrex L2 slack channel | ||
env: | ||
url: ${{ secrets.ETHREX_L2_SLACK_WEBHOOK }} | ||
run: sh .github/scripts/publish_levm_ef_tests_summary.sh | ||
|
||
- name: Post results to levm slack channel | ||
env: | ||
url: ${{ secrets.LEVM_SLACK_WEBHOOK }} | ||
run: sh .github/scripts/publish_levm_ef_tests_summary.sh |
Oops, something went wrong.