diff --git a/src/services/evm/crawl_contract_evm.service.ts b/src/services/evm/crawl_contract_evm.service.ts index d35acc3d4..59c840294 100644 --- a/src/services/evm/crawl_contract_evm.service.ts +++ b/src/services/evm/crawl_contract_evm.service.ts @@ -62,7 +62,7 @@ export default class CrawlSmartContractEVMService extends BullableService { 'evm_transaction.hash', 'evm_transaction.from', 'evm_transaction.to', - 'evm_transaction.contract_address', + 'evm_transaction.contract_address as contractAddress', 'evm_transaction.data', 'evm_transaction.id' ) @@ -92,7 +92,7 @@ export default class CrawlSmartContractEVMService extends BullableService { evmTxs.forEach((evmTx: any) => { const { data, contractAddress } = evmTx; let currentAddresses: string[] = []; - ['from', 'to', 'contract_address'].forEach((key) => { + ['from', 'to', 'contractAddress'].forEach((key) => { if (evmTx[key] && evmTx[key].startsWith('0x')) { currentAddresses.push(evmTx[key]); if (