From 41396e37ff4937b36219ab279c2b9ac9c552fe9b Mon Sep 17 00:00:00 2001 From: bz888 Date: Thu, 12 Oct 2023 10:29:29 +1300 Subject: [PATCH] update cronos-eth --- .../cronos-evm-starter-via-eth/src/mappings/mappingHandlers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Cronos/cronos-evm-starter-via-eth/src/mappings/mappingHandlers.ts b/Cronos/cronos-evm-starter-via-eth/src/mappings/mappingHandlers.ts index 868243a25..7a4183283 100644 --- a/Cronos/cronos-evm-starter-via-eth/src/mappings/mappingHandlers.ts +++ b/Cronos/cronos-evm-starter-via-eth/src/mappings/mappingHandlers.ts @@ -28,6 +28,7 @@ export async function handleTransaction( approveCallTransaction: EthereumTransaction ): Promise { logger.info("approval: " + approveCallTransaction.hash); + assert(approveCallTransaction.args, 'Missing approveCallTransaction.args') const approval = Approval.create({ id: approveCallTransaction.hash, owner: approveCallTransaction.from,