keep-starknet-strange / madara

DEPRECATED in favor of https://github.com/madara-alliance/madara
MIT License
532 stars 293 forks source link

bug: L1 Gas price fix #1618

Closed ocdbytes closed 5 months ago

ocdbytes commented 5 months ago

Bug Report

Madara version:

0.7

Current behavior:

Currently when we run madara we update the gap price on madara chain with respect to the gas prices on L1. When there is a RPC call made to fetch the price from L1 sometimes it fails leading to crashing the chain.

image

Expected behavior:

It should wait for atleast few retries (logic is already there but somehow not working) and then chain should stop.

Steps to reproduce:

Related code: