fix: cost-estimator
OOM
#22
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
name: Integration Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
integration-tests: | |
runs-on: | |
- runs-on | |
- cpu=16 | |
- ram=64 | |
- family=m7a+m7i-flex | |
- image=ubuntu22-full-x64 | |
- run-id=${{ github.run_id }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: rust-cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
restore-keys: rust-1.81.0- | |
key: rust-1.81.0-${{ hashFiles('**/Cargo.toml') }} | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: OP Sepolia Blocks 19000000 to 19000030 | |
run: | | |
RUST_LOG=info cargo run --bin cost-estimator --release -- --start 19000000 --end 19000030 | |
env: | |
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }} | |
L1_RPC: ${{ secrets.L1_RPC }} | |
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }} | |
L2_RPC: ${{ secrets.L2_RPC }} | |
- name: Run multi script | |
run: | | |
cargo run --bin multi --release | |
env: | |
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }} | |
L1_RPC: ${{ secrets.L1_RPC }} | |
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }} | |
L2_RPC: ${{ secrets.L2_RPC }} |