Closed sergefdrv closed 2 years ago
@dnkolegov I decided to keep the validator string format as is because the code will anyway be re-implemented in Lotus.
@dnkolegov I decided to keep the validator string format as is because the code will anyway be re-implemented in Lotus.
But the string contains "/root" subnet name and the Validator type doesn't. So it is not clear for a new reader. At least, let's add a comment.
@dnkolegov I decided to keep the validator string format as is because the code will anyway be re-implemented in Lotus.
But the string contains "/root" subnet name and the Validator type doesn't. So it is not clear for a new reader. At least, let's add a comment.
Well, I better remove the subnet part from the string format then.
Related Issues
none
Proposed Changes
The
Subnet
field in theValidator
structure contains duplicate information that can be easily obtained from the context. Since this structure in used as a part of the subnet actor state, it seems desirable to get rid of that duplication.Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps