erigon-pulse/eth/borfinality
Manav Darji 2d0e091a6e
eth, consensus/bor: handle 503 response from heimdall (#8364)
When a new feature (like for the upcoming `Aalborg` hard fork) for
Polygon hasn't kicked in (in heimdall), the endpoints of heimdall will
now return 503 (Service Unavailable) status code. This PR makes sure
that erigon handles that code separately and doesn't keep retying to
fetch info. It also acts as a notifier of the HF in erigon.

Similar reference PR in bor:
https://github.com/maticnetwork/bor/pull/1023
2023-10-04 13:43:07 +01:00
..
flags Milestone stage processing (#8187) 2023-09-18 18:05:33 +01:00
generics Get vote on hash (#8172) 2023-09-13 11:49:49 +01:00
rawdb Get vote on hash (#8172) 2023-09-13 11:49:49 +01:00
whitelist Get vote on hash (#8172) 2023-09-13 11:49:49 +01:00
api.go fix finalized api for polygon chain (#8247) 2023-09-20 13:32:22 +01:00
bor_checkpoint_verifier.go Get vote on hash (#8172) 2023-09-13 11:49:49 +01:00
whitelist_helpers.go eth, consensus/bor: handle 503 response from heimdall (#8364) 2023-10-04 13:43:07 +01:00
whitelist.go eth, consensus/bor: handle 503 response from heimdall (#8364) 2023-10-04 13:43:07 +01:00