Skip to content

Change eth_simulateV1 to use generic log object #681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 1 addition & 46 deletions src/schemas/execute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down