We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eth_estimateGas
When call eth_estimateGas to estimate gas used, the gas calculation for create-tx, call-tx and tx.data are incorrect and duplicated.
create-tx
call-tx
tx.data
axon/core/executor/src/lib.rs
Lines 81 to 85 in f692b86
Line 100 in f692b86
Do simplest transfer transaction.
Call eth_estimateGas for a transaction whose gas is set to a value that greater than u64::MAX, will cause Axon panic.
u64::MAX
axon/core/api/src/adapter.rs
Line 210 in f692b86
There is already an in-process PR.
I just record it here, and request a unit test for it, after that PR merged.
Set the transaction.data to be N non-zero bytes. ↩
transaction.data
N
The text was updated successfully, but these errors were encountered:
U256
U64
eth_call
estimate = true
yangby-cryptape
Successfully merging a pull request may close this issue.
Description
When call
eth_estimateGas
to estimate gas used, the gas calculation forcreate-tx
,call-tx
andtx.data
are incorrect and duplicated.axon/core/executor/src/lib.rs
Lines 81 to 85 in f692b86
axon/core/executor/src/lib.rs
Line 100 in f692b86
For Example
Do simplest transfer transaction.
Appendix: More Unit Tests are Required
Call
eth_estimateGas
for a transaction whose gas is set to a value that greater thanu64::MAX
, will cause Axon panic.axon/core/api/src/adapter.rs
Line 210 in f692b86
There is already an in-process PR.
I just record it here, and request a unit test for it, after that PR merged.
Footnotes
Set the
transaction.data
to beN
non-zero bytes. ↩The text was updated successfully, but these errors were encountered: