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.
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.