Commit f505c00
fix(l1): wait before retring on error in dev's block producer (#5391)
**Motivation**
<!-- Why does this pull request exist? What are its goals? -->
There was a race condition where dev's block producer starts before the
RPC. In this scenario, the block producer tries to make some requests to
the Engine API, failing three times in a row and thus ending.
**Description**
<!-- A clear and concise general description of the changes this PR
introduces -->
Add a small delay between retries so Engine RPC has time to get up
<!-- Link to issues: Resolves #111, Resolves #222 -->
Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>1 parent 11e1072 commit f505c00
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
0 commit comments