Harden staking precompile test against CI flakiness#2967
Merged
Conversation
Stabilize EVMPrecompileTest staking flow by removing brittle assumptions and adding retries around timing/gas-sensitive operations. - choose a usable validator (prefer non-jailed bonded) instead of validators[0] - add helper sleep() and retry delegation query after delegate - make undelegate resilient with escalating gas limits (1m, 2m, 5m) - retry post-undelegate delegation check to handle eventual state visibility - improve failure messages for easier CI diagnosis This is test-only and does not change runtime precompile behavior.
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
yzang2019
approved these changes
Feb 23, 2026
arajasek
approved these changes
Feb 23, 2026
yzang2019
added a commit
that referenced
this pull request
Feb 24, 2026
yzang2019
added a commit
that referenced
this pull request
Feb 27, 2026
* main: (66 commits) feat(flatkv): include legacyDB in ApplyChangeSets, LtHash, and read path (#2978) Deflake mempool tests with Eventually-based block waits (#2983) Demote noisy gasless classification log to debug level (#2982) Harden `TestStateLock_NoPOL` against proposal/timeout race (#2980) added a config parameter to limit outbound p2p connections. (#2974) merged unconditional and persistent peers status (#2977) Fix race between file pruning and in-flight parquet queries (#2975) fix(giga): don't migrate balance on failed txs (#2961) Fix hanging upgrade tests by adding timeouts to wait_for_height (#2976) Add snapshot import for Giga Live State (#2970) Fix Rocksdb MVCC read timestamp lifetime for iterators (#2971) Reduce exposed tendermint RPC endpoint (#2968) Deflake `TestStateLock_NoPOL` by widening propose timeout in test (#2969) go bench read + write receipts/logs for parquet vs pebble (#2794) [giga] clear up cache after Write (#2827) fix: use correct EVM storage key prefix in benchmark key generation (#2966) Harden staking precompile test against CI flakiness (#2967) Don't sync flatKV DBs when committing (#2964) Fix flaky `TestStateLock_POLSafety1` (#2962) Add metrics for historical proof success/failure rate (#2958) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stabilize EVMPrecompileTest staking flow by removing brittle assumptions and adding retries around timing/gas-sensitive operations.
This is test-only and does not change runtime precompile behavior.