fix: release v1.0.1 (#176)

This commit is contained in:
Ludo Galabru
2023-09-15 10:23:42 -04:00
committed by GitHub
parent d71163817b
commit f2cb8b2c89
3 changed files with 3 additions and 4 deletions

View File

@@ -25,7 +25,6 @@ jobs:
- name: Cargo test
run: |
rustup update
cargo check
cargo test --all
- name: Semantic Release

View File

@@ -146,9 +146,9 @@ pub fn should_sync_ordhook_db(
// TODO: Gracefully handle Regtest, Testnet and Signet
let (mut end_block, speed) = if start_block <= 200_000 {
let (mut end_block, speed) = if start_block < 200_000 {
(end_block.min(200_000), 10_000)
} else if start_block <= 550_000 {
} else if start_block < 550_000 {
(end_block.min(550_000), 1_000)
} else {
(end_block, 100)

View File

@@ -470,7 +470,7 @@ impl Service {
while let Some((start_block, end_block, speed)) =
should_sync_ordhook_db(&self.config, &self.ctx)?
{
if end_block <= last_block_processed {
if last_block_processed == end_block {
break;
}
let blocks_post_processor = start_inscription_indexing_processor(