Repository navigation
Commit 65228b1
authored
Poll for EVM-only receipts in the Autobahn load test (#4704)
`TestAutobahn/EVMOnlyLoad` flakes with "node N returned null for
finalized EVM-only receipt". `waitForEVMOnlyTxs` returns once every
validator's execute-stage metrics reach the target, and
`assertEVMOnlyReceipts` then reads each receipt exactly once.
`eth_getTransactionReceipt` answers `null` until the receipt's block is
within `Info().LastBlockHeight`, which `evmOnlyApplication.Commit`
advances only after execution, so a node that has executed the block but
not yet committed it returns `null`.
`assertEVMOnlyReceipts` now polls each node until its receipt is
non-null, bounded by the load test's context, and then checks the
receipt fields as before. The per-node poll loop is lifted out of
`waitForEVMOnlyResult` into `waitForEVMOnlyNodeResult`, which both use,
so the retry behaviour matches the other EVM-only RPC assertions. RPC
errors and wrong receipt fields still fail immediately.
Flaked in:
https://github.com/sei-protocol/sei-chain/actions/runs/41438263888/job/1252553476161 parent b1f0d1c commit 65228b1
1 file changed
Lines changed: 20 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
| 906 | + | |
| 907 | + | |
912 | 908 | | |
913 | 909 | | |
914 | 910 | | |
| |||
1092 | 1088 | | |
1093 | 1089 | | |
1094 | 1090 | | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1108 | 1094 | | |
1109 | 1095 | | |
1110 | 1096 | | |
1111 | 1097 | | |
1112 | 1098 | | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
1113 | 1114 | | |
1114 | 1115 | | |
1115 | 1116 | | |
| |||
0 commit comments