Skip to content

Commit 9689d76

Browse files
committed
change eth simulate to use generic log object
1 parent bbf817f commit 9689d76

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

src/schemas/execute.yaml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -251,52 +251,7 @@ CallResultSuccess:
251251
title: Return logs
252252
type: array
253253
items:
254-
$ref: '#/components/schemas/CallResultLog'
255-
CallResultLog:
256-
title: log
257-
type: object
258-
required:
259-
- logIndex
260-
- blockHash
261-
- blockNumber
262-
- transactionHash
263-
- transactionIndex
264-
- address
265-
- data
266-
- topics
267-
properties:
268-
logIndex:
269-
title: log index
270-
$ref: '#/components/schemas/uint256'
271-
blockHash:
272-
title: block hash
273-
$ref: '#/components/schemas/hash32'
274-
blockNumber:
275-
title: block number
276-
$ref: '#/components/schemas/uint64'
277-
transactionHash:
278-
title: transaction hash
279-
$ref: '#/components/schemas/hash32'
280-
transactionIndex:
281-
title: transaction index
282-
$ref: '#/components/schemas/uint256'
283-
address:
284-
title: address
285-
description: When trace transfers is enabled, this field is address(0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee) for ETH transfers.
286-
$ref: '#/components/schemas/address'
287-
data:
288-
title: data
289-
$ref: '#/components/schemas/bytes'
290-
topics:
291-
title: topics
292-
type: array
293-
items:
294-
$ref: '#/components/schemas/bytes32'
295-
removed:
296-
title: removed
297-
type: boolean
298-
description: |-
299-
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.
254+
$ref: '#/components/schemas/Log
300255
GenericCallTransaction:
301256
type: object
302257
title: Transaction object type for call

0 commit comments

Comments
 (0)