Conversation
qizhou
left a comment
There was a problem hiding this comment.
I think we need to add a general description of how it works such as requirements. Further, I feel the code lacks necessary comments.
|
In general, it should be self-contained - a reader without too much context can understand the code after reading the comments. |
|
Gas consumption of two contracts, RootChainStakingPool saves about 150000 gas for one loop. |
ninjaahhh
left a comment
There was a problem hiding this comment.
Gas consumption of two contracts, RootChainStakingPool saves about 150000 gas for one loop.
what are you comparing with?
|
compare the same test of two contracts, like |
No description provided.