Skip to content

Conversation

@s1na
Copy link
Contributor

@s1na s1na commented Feb 19, 2025

This is a breaking change to the opcode tracer. The top-level returnValue field of a trace will be now hex-encoded. If the return data is empty, this field will contain "0x".

Fixes #31196

uses: actions/setup-go@v5
with:
go-version: 1.24.0
go-version: 1.23.0
Copy link
Member

Choose a reason for hiding this comment

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

any reason for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right I don't need that anymore :) reverted

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

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

LGTM, we need to write it very explicitly into the release notes though since this is a breaking change and a few projects rely on this (e.g. goevmlab)

@fjl fjl modified the milestones: 1.15.4, 1.15.5 Feb 25, 2025
@fjl fjl modified the milestones: 1.15.5, 1.15.6 Mar 5, 2025
@fjl fjl merged commit 43883c6 into ethereum:master Mar 20, 2025
3 of 4 checks passed
sivaratrisrinivas pushed a commit to sivaratrisrinivas/go-ethereum that referenced this pull request Apr 21, 2025
This is a **breaking change** to the opcode tracer. The top-level
`returnValue` field of a trace will be now hex-encoded. If the return
data is empty, this field will contain "0x".

Fixes ethereum#31196
jakub-freebit pushed a commit to fblch/go-ethereum that referenced this pull request Jul 3, 2025
This is a **breaking change** to the opcode tracer. The top-level
`returnValue` field of a trace will be now hex-encoded. If the return
data is empty, this field will contain "0x".

Fixes ethereum#31196
howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
This is a **breaking change** to the opcode tracer. The top-level
`returnValue` field of a trace will be now hex-encoded. If the return
data is empty, this field will contain "0x".

Fixes ethereum#31196
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
This is a **breaking change** to the opcode tracer. The top-level
`returnValue` field of a trace will be now hex-encoded. If the return
data is empty, this field will contain "0x".

Fixes ethereum#31196
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.

JSON encoding of returnValue field in the EVM Logger

4 participants