mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-24 03:03:09 +00:00
fix: node db not empty fix
This commit is contained in:
parent
2bad85b217
commit
548e4c8d9a
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
@ -154,7 +154,35 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RISC0_DEV_MODE: "1"
|
RISC0_DEV_MODE: "1"
|
||||||
RUST_LOG: "info"
|
RUST_LOG: "info"
|
||||||
run: cargo nextest run -p integration_tests -- --skip tps_test
|
run: cargo nextest run -p integration_tests -- --skip tps_test --skip indexer
|
||||||
|
|
||||||
|
integration-tests-indexer:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 60
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
|
- uses: ./.github/actions/install-system-deps
|
||||||
|
|
||||||
|
- uses: ./.github/actions/install-risc0
|
||||||
|
|
||||||
|
- uses: ./.github/actions/install-logos-blockchain-circuits
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Install active toolchain
|
||||||
|
run: rustup install
|
||||||
|
|
||||||
|
- name: Install nextest
|
||||||
|
run: cargo install --locked cargo-nextest
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
RISC0_DEV_MODE: "1"
|
||||||
|
RUST_LOG: "info"
|
||||||
|
run: cargo nextest run -p integration_tests indexer -- --skip tps_test
|
||||||
|
|
||||||
valid-proof-test:
|
valid-proof-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@ -236,21 +236,21 @@ impl IndexerCore {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(first_l2_block) = l2_block_vec.first() {
|
if let Some(first_l2_block) = l2_block_vec.first()
|
||||||
if first_l2_block.header.block_id == 1 {
|
&& first_l2_block.header.block_id == 1
|
||||||
info!("INITIAL_SEARCH: Found channel start");
|
{
|
||||||
break 'outer;
|
info!("INITIAL_SEARCH: Found channel start");
|
||||||
}
|
break 'outer;
|
||||||
} else {
|
}
|
||||||
// Step back to parent
|
|
||||||
let parent = cycle_block.header().parent();
|
|
||||||
|
|
||||||
if parent == backfill_limit {
|
// Step back to parent
|
||||||
break;
|
let parent = cycle_block.header().parent();
|
||||||
}
|
|
||||||
|
|
||||||
cycle_header = parent;
|
if parent == backfill_limit {
|
||||||
};
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
cycle_header = parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("INITIAL_SEARCH: Reached backfill limit, refetching last l1 lib header");
|
info!("INITIAL_SEARCH: Reached backfill limit, refetching last l1 lib header");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user