Skip to content

Bump TX version v7#79

Merged
TxCorpi0x merged 11 commits into
masterfrom
mehdi/bump-v7
Feb 17, 2026
Merged

Bump TX version v7#79
TxCorpi0x merged 11 commits into
masterfrom
mehdi/bump-v7

Conversation

@TxCorpi0x

@TxCorpi0x TxCorpi0x commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Description

This pull request upgrades the codebase from version v6 to v7 of the github.com/tokenize-x/tx-chain dependency throughout the application. It removes all v6-specific upgrade logic and related test files, and introduces a minimal v7 upgrade handler. The main focus is on cleaning up legacy upgrade code and ensuring the application is ready for the new version.

Key changes include:

Dependency and Import Updates:

  • All imports referencing github.com/tokenize-x/tx-chain/v6 are updated to use v7 across the codebase, including in app.go, test files, and the module replacement in build/go.mod. [1] [2] [3] [4]

Upgrade Handler Changes:

  • The application’s upgrade handler is switched from appupgradev6.New to appupgradev7.New in app.go, and a new minimal v7 upgrade handler is implemented in app/upgrade/v7/upgrade.go. This new handler performs only module migrations without any additional logic. [1] [2]

Removal of v6 Upgrade Logic and Tests:

  • All v6-specific upgrade logic and helper functions are deleted, including files for minting, denom symbol migration, mint params migration, PSE staking snapshot, validator commission migration, and their associated tests. This simplifies the codebase and removes legacy upgrade paths. [1] [2] [3] [4] [5] [6] [7] [8]

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 marked this pull request as ready for review February 12, 2026 11:44
@TxCorpi0x TxCorpi0x requested a review from a team as a code owner February 12, 2026 11:44
@TxCorpi0x TxCorpi0x requested review from masihyeganeh, metalarm10, miladz68 and ysv and removed request for a team February 12, 2026 11:44

@masihyeganeh masihyeganeh 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.

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


build/tools/tools.go line 25 at r1 (raw file):

	Hermes tools.Name = "hermes"
	// TXdV600 is the version of txd used for testing chain upgrades.
	// TODO (v8): Should be renamed to TXdV700.

nit: Don't need this TODO anymore

@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: all files reviewed, 1 unresolved discussion (waiting on @masihyeganeh, @metalarm10, @miladz68, and @ysv).


build/tools/tools.go line 25 at r1 (raw file):

Previously, masihyeganeh (Masih Yeganeh) wrote…

nit: Don't need this TODO anymore

This is for the next version, it is todo v8

masihyeganeh
masihyeganeh previously approved these changes Feb 13, 2026

@masihyeganeh masihyeganeh 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.

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


build/tools/tools.go line 25 at r1 (raw file):

Previously, TxCorpi0x wrote…

This is for the next version, it is todo v8

I added this to remember to change it from Coreum to TX. We don't need it anymore

@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 and resolved 1 discussion.
Reviewable status: 326 of 327 files reviewed, all discussions resolved (waiting on @masihyeganeh, @metalarm10, @miladz68, and @ysv).


build/tools/tools.go line 25 at r1 (raw file):

Previously, masihyeganeh (Masih Yeganeh) wrote…

I added this to remember to change it from Coreum to TX. We don't need it anymore

Done

masihyeganeh
masihyeganeh previously approved these changes Feb 13, 2026

@masihyeganeh masihyeganeh 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.

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

ysv
ysv previously approved these changes Feb 17, 2026

@ysv ysv 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.

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

@TxCorpi0x TxCorpi0x dismissed stale reviews from ysv and masihyeganeh via afa9ceb February 17, 2026 09:51

@masihyeganeh masihyeganeh 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.

@masihyeganeh reviewed 6 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on metalarm10 and miladz68).

@ysv ysv 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.

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

@TxCorpi0x TxCorpi0x merged commit 9296d32 into master Feb 17, 2026
19 of 20 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.

3 participants