Skip to content

Conversation

@simbadMarino
Copy link

What does this PR do?
Adds "input" field for transaction input while keeping "data" for legacy and compatibility.

Impacted JSON-RPC API methods:

  • eth_call
  • eth_estimateGas
  • buildTransaction

Why are these changes required?

  • Align TRON jsonrpc with EVM new standard .
  • Reduce development efforts for ETH/EVM developers porting their projects to TRON.
  • General EVM tooling compatibility improvements

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

  • Probably will need to check further simple improvements like this to increase TRON compatibility with eth json RPC

Extra details

@0xbigapple
Copy link

Good job! Maybe this pr can be added in the next version, along with some other related interface changes. The features for release 4.8.1 are already close to being ready, and I think it may be too late to include this in this version.

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.

3 participants