polkascan-pre-harvester icon indicating copy to clipboard operation
polkascan-pre-harvester copied to clipboard

Fixed module_id string value of CodeStored event

Open gavfu opened this issue 3 years ago • 0 comments

I cloned and deployed polkascan-os locally to harvest blocks from a substrate-based blockchain network with pallet-contracts enabled. It turns out that deployed contracts are not harvested into polkascan.data_contract table.

I traced the issue, and found out that the module id of CodeStoredEventProcessor is misspelled. Thus, CodeStoredEventProcessor is not retrieved from ProcessorRegistry and invoked within PolkascanHarvesterService.add_block method.

This pull request corrects the module_id string value of contract CodeStored event.

gavfu avatar Mar 09 '21 14:03 gavfu