Skip to content

Add RPC debug_traceCallMany#4

Merged
yiteng-guo merged 2 commits into
eth_callManyfrom
debugCallMany
Jun 28, 2022
Merged

Add RPC debug_traceCallMany#4
yiteng-guo merged 2 commits into
eth_callManyfrom
debugCallMany

Conversation

@hrthaowang

Copy link
Copy Markdown

No description provided.

)

type BlockContext struct {
type BlockOverrides struct {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

eth_callMany.go and eth_callMany_test.go changes look good to me. Could you push these two changes to eth_callMany branch? Let's make sure the PR we submit to erigon includes this change.

Also remember to change the spec you have on your issue accordingly since we change the RPC API here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See my comments below. I'll merge this to eth_callMany once you address all comments.

@yiteng-guo yiteng-guo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

tracing change also looks good to me. I feel like we can refactor this a lot so there wouldn't be much duplicated code but it looks like other tracing functions also duplicate code a bit? I'm neutral on this and will defer the decision to erigon team.

Comment thread cmd/rpcdaemon/commands/tracing.go Outdated
@yiteng-guo yiteng-guo merged commit 5be41b7 into eth_callMany Jun 28, 2022
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