smartcontractkit / chainlink-starknet

MIT License
59 stars 19 forks source link

BCI-3889: use pending block #496

Closed augustbleeds closed 3 months ago

augustbleeds commented 3 months ago

Pending blocks contain finalized txs, so we should be reading pending blocks to read the latest finalized transactions.

This should also mitigate current behavior where we are seeing stale reports (ending in an on-chain revert or a fee-estimation failure) because nodes keep on transmitting the same report because they are reading the latest block and assuming it didn't make it on chain.

cl-sonarqube-production[bot] commented 3 months ago

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube