Skip to content

core/chains/evm/client: eth_call: include duplicate legacy field for compatability#12140

Merged
snehaagni merged 1 commit intodevelopfrom
eth_call-input-data
Feb 24, 2024
Merged

core/chains/evm/client: eth_call: include duplicate legacy field for compatability#12140
snehaagni merged 1 commit intodevelopfrom
eth_call-input-data

Conversation

@jmank88
Copy link
Contributor

@jmank88 jmank88 commented Feb 22, 2024

No description provided.

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is interesting - so geth included these before and has now removed it in the latest version. Is that correct?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The server for a long time has accepted both (>6 years?), and they recently switched the client from data to input.

Copy link
Contributor

Choose a reason for hiding this comment

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

What commit sha of go-ethereum was this copied from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The one that is imported in the go.mod

@jmank88 jmank88 force-pushed the eth_call-input-data branch 2 times, most recently from 2a1126e to f83f128 Compare February 23, 2024 22:36
@jmank88 jmank88 marked this pull request as ready for review February 23, 2024 23:24
@jmank88 jmank88 requested a review from a team as a code owner February 23, 2024 23:24
Copy link
Contributor

Choose a reason for hiding this comment

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

@jmank88 ethereum recently updated this function to and added extra fields, should we reflect those changes?

https://github.com/ethereum/go-ethereum/blob/master/ethclient/ethclient.go#L642

Copy link
Contributor

@stackman27 stackman27 Feb 23, 2024

Choose a reason for hiding this comment

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

nvm 1.13.8 doesnot use it, just need to ensure we update this function if we do modify to new geth version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied from the version we import to minimize changes

stackman27
stackman27 previously approved these changes Feb 23, 2024
Copy link
Contributor

@stackman27 stackman27 left a comment

Choose a reason for hiding this comment

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

LGTM

@cl-sonarqube-production
Copy link

@jmank88 jmank88 added this pull request to the merge queue Feb 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 24, 2024
@snehaagni snehaagni added this pull request to the merge queue Feb 24, 2024
Merged via the queue into develop with commit 019b0c2 Feb 24, 2024
@snehaagni snehaagni deleted the eth_call-input-data branch February 24, 2024 02:39
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.

5 participants