Skip to content

tx-sender

tx-sender #8427

Workflow file for this run

# Transaction sender CI - monitors Berachain RPC health by sending test transactions
name: tx-sender
on:
workflow_dispatch:
schedule:
# Run every 15 minutes
- cron: "*/15 * * * *"
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tx-sender:
runs-on: ubuntu-latest
timeout-minutes: 30 # 20 transactions * 15s + generous buffer
steps:
- uses: actions/checkout@v5
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run transaction sender for 20 transactions
env:
CI_PRIVATE_KEY: ${{ secrets.TX_SENDER_PRIVATE_KEY }}
SLACK_WEBHOOK_URL: ${{ secrets.TX_SENDER_SLACK_WEBHOOK_URL }}
GITHUB_RUN_ID: ${{ github.run_id }}
FOUNDRY_DISABLE_NIGHTLY_WARNING: true
run: |
chmod +x ./.github/assets/eth-tx-sender-ci.sh
./.github/assets/eth-tx-sender-ci.sh
- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: tx-sender-logs-${{ github.run_id }}
path: |
*.log
/tmp/*.log
retention-days: 7