ArbitrumFoundation / governance

Apache License 2.0
73 stars 27 forks source link

fix: propmon - incorrect handling of batches and add timeout retries #289

Closed godzillaba closed 4 months ago

godzillaba commented 4 months ago

The propmon was erroring on > 1 CallScheduled and CallExecuted timelock events, but the timelocks emit more than one for batches

I was getting timeouts from the arb1 rpc on 2 different home internet connections, which would crash the script. I added a new RetryJsonRpcProvider class that overrides send to add retries