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

Fix encoding for debug_traceBlock #3023

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

gonzamontiel
Copy link
Contributor

What does it do?

The data field in ethereum Logs is an arbitrary array of bytes. We weren't encoding it properly so users of the RPC were not able to decode it

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

Copy link
Contributor

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2260 KB (no changes) ✅

Moonbeam runtime: 2228 KB (no changes) ✅

Moonriver runtime: 2232 KB (no changes) ✅

Compared to latest release (runtime-3300)

Moonbase runtime: 2260 KB (+232 KB compared to latest release) ⚠️

Moonbeam runtime: 2228 KB (+232 KB compared to latest release) ⚠️

Moonriver runtime: 2232 KB (+240 KB compared to latest release) ⚠️

@gonzamontiel gonzamontiel added B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes A10-evmtracing Pull request includes evm tracing functionality D2-notlive PR doesn't change runtime code (so can't be audited) labels Oct 30, 2024
@gonzamontiel gonzamontiel added B0-silent Changes should not be mentioned in any release notes not-breaking Does not need to be mentioned in breaking changes and removed B0-silent Changes should not be mentioned in any release notes labels Oct 30, 2024
Copy link
Contributor

Coverage Report

@@                      Coverage Diff                       @@
##           master   gonza/fix-tracing-logs-data     +/-   ##
==============================================================
  Coverage   79.01%                        79.01%   0.00%     
  Files         305                           305             
+ Lines       88446                         88447      +1     
==============================================================
  Hits        69878                         69878             
+ Misses      18568                         18569      +1     
Files Changed Coverage

Coverage generated Wed Oct 30 15:53:53 UTC 2024

@noandrea noandrea merged commit 09a30aa into master Oct 30, 2024
43 of 51 checks passed
@noandrea noandrea deleted the gonza/fix-tracing-logs-data branch October 30, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A10-evmtracing Pull request includes evm tracing functionality B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes D2-notlive PR doesn't change runtime code (so can't be audited) not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants