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

"method": "debug_traceCall" 我配置了withLog": true ,但是输出中没有日志相关信息 #1318

Closed
xiaozanooo opened this issue Feb 20, 2023 · 3 comments

Comments

@xiaozanooo
Copy link

xiaozanooo commented Feb 20, 2023

{
"jsonrpc": "2.0",
"id": 108,
"method": "debug_traceCall",
"params": [
{
"from":"0xxxx",
"to": "0xxxx",
"data":"0xxxxx"
},
"pending",
{
"tracer": "callTracer",
"tracerConfig": { "onlyTopCall": true,"withLog": true }
}
]
}

上面是我的RPC请求,我加上了"withLog": true 这个参数,但是在输出信息中看不到日志相关数据。该参数具体是做什么用的。

需要补充一下,我模拟的交易是会触发emit event。

这是文档中的说明:
withLog: true instructs the tracer to also collect the logs emitted during each call.

@isaacyuno
Copy link

This feature has not yet been implemented on bsc geth #1261

@xiaozanooo
Copy link
Author

请问该功能有添加计划吗!

@isaacyuno
Copy link

有的,近期会发布

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

No branches or pull requests

3 participants
@xiaozanooo @isaacyuno and others