Commit 3dff0d8
committed
ethereum: fix GETH_ETH_CALL_ERRORS_ENV
Previously if `GETH_ETH_CALL_ERRORS_ENV` is not set, then any error
returned from eth_call would be considered deterministic. This is
because calling `split` on an empty string returns `[""]`, not `[]`,
and all strings contain `""`. This affects release 0.24 and can
cause subgraph failures on subgraphs using contract calls,
and most severely incorrect data on subgraphs using `try_` calls.1 parent ecd5b5e commit 3dff0d8
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 114 | + | |
| 115 | + | |
118 | 116 | | |
119 | 117 | | |
120 | 118 | | |
| |||
0 commit comments