Skip to content
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

Implement trace_block EP and conversion logic #3515

Merged

Conversation

vitaliy-io
Copy link
Collaborator

No description provided.

@vitaliy-io vitaliy-io requested review from lmoe and dessaya November 21, 2024 11:47
type Trace struct {
Action interface{} `json:"action"`
BlockHash *common.Hash `json:"blockHash,omitempty"`
BlockNumber uint64 `json:"blockNumber,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be hexutil.Uint64? Same for TransactionPosition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in decimal format in https://docs.chainstack.com/reference/ethereum-trace_block.
In erigon it's also just uint64

@vitaliy-io vitaliy-io merged commit 607d226 into iotaledger:develop Nov 21, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants