You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MinerGetBaseInfo on Lotus requires a non-empty tipset key #7422
{
"error": {
"code": 1,
"message": "failed to load tipset for mining base: NewTipSet called with zero length array of blocks"
},
"id": 2,
"jsonrpc": "2.0"
}
same error if I pass an empty [] as the last parameter in the curl, which sounds like Lotus requires a tipset key
Completion Criteria
Map why Lotus request the tipset key as an required parameter
Change current Forest RPC method to require tipset key
Would like to take this one. Had a dig through the code and Forest runs MinerGetBaseInfo through load_required_tipset_or_heaviest, so a null or empty tipset key quietly falls back to the heaviest tipset instead of erroring like Lotus does. Plan is to make the method require a non empty tipset key and return a matching error when it's missing, with a conformance test for the empty key case. Happy to wait for the go ahead before I push anything.
Activity
MinerGetBaseInforeturns too few beacon entries after a null round #74120xDevNinja commentedon Aug 3, 2026
Would like to take this one. Had a dig through the code and Forest runs MinerGetBaseInfo through load_required_tipset_or_heaviest, so a null or empty tipset key quietly falls back to the heaviest tipset instead of erroring like Lotus does. Plan is to make the method require a non empty tipset key and return a matching error when it's missing, with a conformance test for the empty key case. Happy to wait for the go ahead before I push anything.
LesnyRumcajs commentedon Aug 3, 2026
@0xDevNinja Sure, go ahead. Thanks.