rollmint icon indicating copy to clipboard operation
rollmint copied to clipboard

Refactor syncer initialization to separate go-routine

Open gupadhyaya opened this issue 1 year ago • 2 comments

currently the syncer is initialized after the genesis block is produced by manually initializing the store and starting the syncer (syncer needs the genesis block to be available in store for successful init). this manual initialization interfere with Broadcast which results in validation failed (known header: '1' <= current '1') #969. Ideally, we should broadcast (which self stores the block/header), which then should trigger the syncer to initialize. This would eliminate double init.

gupadhyaya avatar Jan 23 '24 02:01 gupadhyaya

Hi @gupadhyaya, can I handle this issue ?

ThanhNhann avatar Mar 11 '24 07:03 ThanhNhann

Hi @ThanhNhann, sorry for getting back to you late, please feel free to pick this up if you're still interested

Manav-Aggarwal avatar Jun 27 '24 18:06 Manav-Aggarwal