iotexproject / iotex-core

Official implementation of IoTeX blockchain protocol in Go.
https://iotex.io
Apache License 2.0
1.55k stars 322 forks source link

[action] evm tx container #4278

Closed dustinxie closed 1 week ago

dustinxie commented 1 month ago

Description

  1. API node receives evm tx, and carry it in a container format
  2. defer the type determination (transfer, execution, etc) into workingset. This solves the issue that call to a newly created contract might be classified as transfer (if the API node is not latest height, or the contract is created in the same block)

Fixes #(issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist:

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.4% Duplication on New Code

See analysis details on SonarCloud