Skip to content

Commit

Permalink
fix: hotfix for oracle need (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
azurwastaken authored Dec 18, 2024
1 parent 237f31c commit ac19896
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next release

- fix: oracle need condition
- fix(block_production): continue pending block now reexecutes the previous transactions
- feat(services): reworked Madara services for better cancellation control
- feat: fetch eth/strk price and sync strk gas price
Expand Down
4 changes: 3 additions & 1 deletion crates/node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ async fn main() -> anyhow::Result<()> {
}
}

if !run_cmd.l1_sync_params.l1_sync_disabled
if !run_cmd.full
&& !run_cmd.devnet
&& !run_cmd.l1_sync_params.l1_sync_disabled
&& l1_gas_setter.is_oracle_needed()
&& l1_gas_setter.oracle_provider.is_none()
{
Expand Down

0 comments on commit ac19896

Please sign in to comment.