From 9689d764615b036500ac2ea53d73cb5ee09b2a86 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Mon, 28 Jul 2025 15:37:50 +0300 Subject: [PATCH 1/2] change eth simulate to use generic log object --- src/schemas/execute.yaml | 47 +--------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/src/schemas/execute.yaml b/src/schemas/execute.yaml index 28d3bd2b1..45f2cfc50 100644 --- a/src/schemas/execute.yaml +++ b/src/schemas/execute.yaml @@ -251,52 +251,7 @@ CallResultSuccess: title: Return logs type: array items: - $ref: '#/components/schemas/CallResultLog' -CallResultLog: - title: log - type: object - required: - - logIndex - - blockHash - - blockNumber - - transactionHash - - transactionIndex - - address - - data - - topics - properties: - logIndex: - title: log index - $ref: '#/components/schemas/uint256' - blockHash: - title: block hash - $ref: '#/components/schemas/hash32' - blockNumber: - title: block number - $ref: '#/components/schemas/uint64' - transactionHash: - title: transaction hash - $ref: '#/components/schemas/hash32' - transactionIndex: - title: transaction index - $ref: '#/components/schemas/uint256' - address: - title: address - description: When trace transfers is enabled, this field is address(0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee) for ETH transfers. - $ref: '#/components/schemas/address' - data: - title: data - $ref: '#/components/schemas/bytes' - topics: - title: topics - type: array - items: - $ref: '#/components/schemas/bytes32' - removed: - title: removed - type: boolean - description: |- - Default: False. The flag is always False if present. A flag indicating if a log was removed in a chain reorganization, which cannot happen in eth_simulateV1. + $ref: '#/components/schemas/Log GenericCallTransaction: type: object title: Transaction object type for call From 564293e9c3de33b261cafe20e4f6c8917ae4aeea Mon Sep 17 00:00:00 2001 From: KillariDev Date: Mon, 28 Jul 2025 15:40:22 +0300 Subject: [PATCH 2/2] missing ' --- src/schemas/execute.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schemas/execute.yaml b/src/schemas/execute.yaml index 45f2cfc50..003e9b97c 100644 --- a/src/schemas/execute.yaml +++ b/src/schemas/execute.yaml @@ -251,7 +251,7 @@ CallResultSuccess: title: Return logs type: array items: - $ref: '#/components/schemas/Log + $ref: '#/components/schemas/Log' GenericCallTransaction: type: object title: Transaction object type for call