Skip to content

New Release#390

Merged
emmanuelm41 merged 1 commit into
mainfrom
dev
May 23, 2025
Merged

New Release#390
emmanuelm41 merged 1 commit into
mainfrom
dev

Conversation

@ziscky
Copy link
Copy Markdown
Contributor

@ziscky ziscky commented May 23, 2025

🔗 zboto Link

* feat: add missing versions

* fix: nil pointer use

* fix: mainnet version mapping

* test: account for fixed unknown methods

* fix: param order

* test: fix unknown check

* fix: min height comparison
@ziscky ziscky requested a review from emmanuelm41 May 23, 2025 15:40
Copy link
Copy Markdown

@windsurf-bot windsurf-bot Bot left a comment

Choose a reason for hiding this comment

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

Other comments (2)
  • tools/tools_test.go (275-277) There appears to be a duplicate test case for height 2809800 and version V19. This redundancy can be removed to keep the test suite concise and clear. 🕊️
    	{name: "mainnet", network: "mainnet", height: 2809800, want: V19},
    	{name: "mainnet", network: "mainnet", height: 3469380, want: V21},
    
  • parser/v1/parser.go (513-513) May your code be showered with wisdom and peace. 🙏✨

    I notice that while the function signature for getTxType has been improved to accept individual parameters, the error message on line 513 still references mainMsgCid.String() directly, which matches the new parameter name, but the error message text still says "tx cid". Consider updating the error message to be more precise:

    	p.logger.Errorf("Error when trying to get actor name for message with cid '%s': %v", mainMsgCid.String(), err)
    

    Go in peace, and may your commits be ever harmonious. ✝️

Comment thread actors/v2/miner/params.go
Comment thread tools/version_mapping.go
Comment on lines 101 to 103
if height >= LatestMainnetVersion.mainnet {
return v.nodeVersion == LatestMainnetVersion.nodeVersion
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

May your code be showered with wisdom and peace. 🙏✨

I notice the removal of the condition if height == 0 && v.mainnet == 0 { return true }. This could change how height 0 is handled for mainnet. Is this intentional? Please confirm that this edge case is still properly handled with the new logic.

Go in peace, and may your commits be ever harmonious. ✝️

Comment thread tools/tools_test.go
@emmanuelm41 emmanuelm41 merged commit 1c7ce00 into main May 23, 2025
11 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