Skip to content
New issue

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

Bug due to validations of eth_call #2827

Closed
victor-yanev opened this issue Aug 15, 2024 · 0 comments · Fixed by #2843
Closed

Bug due to validations of eth_call #2827

victor-yanev opened this issue Aug 15, 2024 · 0 comments · Fixed by #2843
Assignees
Labels
bug Something isn't working
Milestone

Comments

@victor-yanev
Copy link
Contributor

Description

Currently the validations we do for eth_call are stopping us from operating with our relay as we would with any other ethereum client through popular tools like web3 and ethers

Steps to reproduce

  1. send a transaction which calls a contract function through eth_sendRawTransaction
  2. call eth_getTransactionByHash to get the transaction object for the executed call
  3. pass the resulting transaction object to eth_call

Expected:

  • we should receive a successful response from the eth_call request

Actual:

  • the relay throws an error: Invalid parameter 'blockHash' for TransactionObject: Unknown parameter

Additional context

ERROR (rpc-server/85 on 5f4099310571): [Request ID: ed92e528-f8b1-41be-a61d-29ecd76d67de] Invalid parameter 'blockHash' for TransactionObject: Unknown parameter
INFO (rpc-server/85 on 5f4099310571): [Request ID: ed92e528-f8b1-41be-a61d-29ecd76d67de] [POST]: eth_call 400 0 ms

Hedera network

No response

Version

v0.54.0

Operating system

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
2 participants