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

eth_call fails with error message 'to' #279

Closed
s-medvedev opened this issue Nov 11, 2021 · 0 comments
Closed

eth_call fails with error message 'to' #279

s-medvedev opened this issue Nov 11, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@s-medvedev
Copy link
Contributor

Symptom:
eth_call fails with error message to

STR:
Pass OpenZeppelin tests and analyze results for requests in the proxy log

Actual result:
Some of eth_call requests fails with "error": {"code": -32000, "message": "'to'"}

Expected result:
Successful execution

Additional info:
The proxy log contains:

Traceback (most recent call last):
  File "/opt/proxy/plugin/solana_rest_api.py", line 576, in process_request
    response['result'] = method(*request['params'])
  File "/opt/proxy/plugin/solana_rest_api.py", line 262, in eth_call
    contract_id = obj['to']
KeyError: 'to'
@s-medvedev s-medvedev added the bug Something isn't working label Nov 11, 2021
@s-medvedev s-medvedev self-assigned this Nov 11, 2021
s-medvedev added a commit that referenced this issue Nov 11, 2021
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
None yet
Development

No branches or pull requests

1 participant