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 three trace APIs #2205

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Implement three trace APIs #2205

merged 6 commits into from
Feb 4, 2025

Conversation

maxconway
Copy link
Contributor

@maxconway maxconway commented Jan 21, 2025

  • trace_block
  • trace_filter
  • trace_transaction

Plus tests and docs

Closes #2117
Closes #2192
Closes #2197

- trace_block
- trace_filter
- trace_transaction

Plus tests and docs
@maxconway maxconway marked this pull request as ready for review January 21, 2025 14:36
Copy link
Contributor

github-actions bot commented Jan 21, 2025

🐰 Bencher Report

Branchmax/feature/trace_apis_batch_1
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
full-blocks-erc20-transfers/full-blocks-erc20-transfers📈 view plot
🚷 view threshold
1,049.80
(-17.79%)
1,727.11
(60.78%)
full-blocks-evm-transfers/full-blocks-evm-transfers📈 view plot
🚷 view threshold
437.70
(-16.53%)
753.89
(58.06%)
full-blocks-zil-transfers/full-blocks-zil-transfers📈 view plot
🚷 view threshold
4,111.40
(+2.92%)
5,206.38
(78.97%)
process-empty/process-empty📈 view plot
🚷 view threshold
10.44
(+15.98%)
11.14
(93.65%)
🐰 View full continuous benchmarking report in Bencher

zilliqa/src/api/trace.rs Outdated Show resolved Hide resolved
- Moved pagination earlier in the code to avoid unnecessary traces
- I've taken a procedural approach here with use of a loop label, but I'm open to switching to iterators
zilliqa/src/api/trace.rs Outdated Show resolved Hide resolved
zilliqa/src/api/trace.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@JamesHinshelwood JamesHinshelwood left a comment

Choose a reason for hiding this comment

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

LGTM

@maxconway maxconway enabled auto-merge February 4, 2025 13:45
@maxconway maxconway added this pull request to the merge queue Feb 4, 2025
Merged via the queue into main with commit 91edc8a Feb 4, 2025
5 of 6 checks passed
@maxconway maxconway deleted the max/feature/trace_apis_batch_1 branch February 4, 2025 14:40
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.

Implement trace_transaction Implement trace_block Implement trace_filter RPC method
2 participants