test(e2e): cover GMP packet timeout - #1326
Conversation
c491f0a to
0f2898f
Compare
0f2898f to
aa5ced8
Compare
aa5ced8 to
a7f140e
Compare
a7f140e to
e1f5517
Compare
e1f5517 to
5c2b41b
Compare
5c2b41b to
36c65a9
Compare
36c65a9 to
793f23b
Compare
793f23b to
355ce11
Compare
Greptile SummaryAdds end-to-end GMP packet-timeout coverage and configurable GMP timeout durations, while generalizing shared timeout constants and unchanged-Counter verification.
Confidence Score: 4/5The PR should not merge until the GMP timeout test mines enough destination blocks for the advanced timestamp to become finalized and provable. The new test restarts the relayer after mining only the first post-timeout block, while the configured one-block finality offset makes timeout processing inspect the preceding block whose timestamp has not expired. Files Needing Attention: e2e/gmp_test.go Important Files Changed
|
| require.NoError(t, mining.AdvanceTime(ctx, packetTimeoutAdvance)) | ||
| relayer = e2etest.StartRelayer(t, driver, env) |
There was a problem hiding this comment.
Timeout height remains unfinalized
When controlled mining advances time, AdvanceTime mines only the first post-timeout block, while the configured one-block finality offset makes the relayer inspect the preceding block. That block still predates the timeout, so the relayer cannot submit it and AwaitState fails to reach PACKET_STATE_TIMED_OUT.
| require.NoError(t, mining.AdvanceTime(ctx, packetTimeoutAdvance)) | |
| relayer = e2etest.StartRelayer(t, driver, env) | |
| require.NoError(t, mining.AdvanceTime(ctx, packetTimeoutAdvance)) | |
| require.NoError(t, mining.Mine(ctx, 1)) | |
| relayer = e2etest.StartRelayer(t, driver, env) |
355ce11 to
2d84c26
Compare
a8c8319 to
4faf849
Compare
4faf849 to
8ab381c
Compare
The merge-base changed after approval.
8ab381c to
66f75ab
Compare
b5d7d9a to
b4d324c
Compare
Signed-off-by: Gjermund Garaba <gjermund@garaba.net>
Signed-off-by: Gjermund Garaba <gjermund@garaba.net>
b4d324c to
96dfc8f
Compare
Summary
TimeoutPacketevent, and confirms the destination Counter remains unchanged.Testing
make checkmake test-e2e E2E_MODE=completeStack created with GitHub Stacks CLI • Give Feedback 💬
Closes FOU-1103