Skip to content

Fix Random PSE upgrade Test#131

Merged
TxCorpi0x merged 5 commits into
masterfrom
mehdi/fix-pse-random-upgrade-err
Apr 27, 2026
Merged

Fix Random PSE upgrade Test#131
TxCorpi0x merged 5 commits into
masterfrom
mehdi/fix-pse-random-upgrade-err

Conversation

@TxCorpi0x

@TxCorpi0x TxCorpi0x commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Description

Reviewers checklist:

  • Try to write more meaningful comments with clear actions to be taken.
  • Nit-picking should be unblocking. Focus on core issues.

Authors checklist

  • Provide a concise and meaningful description
  • Review the code yourself first, before making the PR.
  • Annotate your PR in places that require explanation.
  • Think and try to split the PR to smaller PR if it is big.

This change is Reviewable

@TxCorpi0x TxCorpi0x requested a review from a team as a code owner April 22, 2026 17:41
@TxCorpi0x TxCorpi0x requested review from metalarm10 and ysv and removed request for a team April 22, 2026 17:41

@metalarm10 metalarm10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@metalarm10 reviewed all commit messages and made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on TxCorpi0x and ysv).


integration-tests/upgrade/pse_test.go line 133 at r1 (raw file):

	elapsedMinSec := beforeScoreBlockTimeSec - p.preUpgradeBlockTimeSec
	elapsedMaxSec := afterScoreBlockTimeSec - p.preUpgradeBlockTimeSec

Should this PR also apply the same pattern to Before(), so the new elapsedMin / elapsedMax properly bracket the pre-upgrade timestamp too?

@TxCorpi0x TxCorpi0x left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TxCorpi0x made 1 comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on metalarm10 and ysv).


integration-tests/upgrade/pse_test.go line 133 at r1 (raw file):

Previously, metalarm10 wrote…

Should this PR also apply the same pattern to Before(), so the new elapsedMin / elapsedMax properly bracket the pre-upgrade timestamp too?

Please have a look into the recent changes, i think that satisfy your suggestion.

@metalarm10 metalarm10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@metalarm10 reviewed 1 file and all commit messages, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on ysv).

@TxCorpi0x TxCorpi0x merged commit c836629 into master Apr 27, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants