Conversation
avaer
left a comment
There was a problem hiding this comment.
What is this accomplishing? Are there multiple chains that we are caching? As far as I know that's not the case.
I noticed while working on redis-server that the same code was being used for multiple chains and thus lastBlockNumber was being set for mainnetsidechain in all cases, including when processing other chains. If we don't want to save the last block number for other chains, then the solution would be to only put the last block number when the chain name is 'mainnetsidechain' |
|
What does "processing other chains" mean? Which chains? What is being processed? As far as I know there is one chain we run through, Though there are multiple contracts on that chain (3: NFT + Land + Account). |
|
Line 270 in ff5a6bf In this instance |
|
The question is, do we need to cache polygon network at all? Is that ever needed? |
I would consider that a case of premature optimization, I'll look into why this method is being called on polygon. |
|
My best guess is I had plans to do separate caching but there is no actual polygon caching needed right now. The |
No description provided.