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

ValidationError: {'l2_gas_price': ['Unknown field.']} #1529

Closed
1 task done
NikitaMishin opened this issue Nov 26, 2024 · 1 comment
Closed
1 task done

ValidationError: {'l2_gas_price': ['Unknown field.']} #1529

NikitaMishin opened this issue Nov 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@NikitaMishin
Copy link

What happened

marshmallow.exceptions.ValidationError: {'l2_gas_price': ['Unknown field.']}
on testnet sepolia against recent version of pathfinder node (v15), not the issue on mainnet as far as i can tell

Does it refers to #1510 ?

Stack trace

File "/Users/mac/cairo_venv/lib/python3.9/site-packages/starknet_py/net/full_node_client.py", line 121, in get_block
return cast(StarknetBlock, StarknetBlockSchema().load(res))
File "/Users/mac/cairo_venv/lib/python3.9/site-packages/marshmallow/schema.py", line 722, in load
return self._do_load(
File "/Users/mac/cairo_venv/lib/python3.9/site-packages/marshmallow/schema.py", line 909, in _do_load
raise exc
marshmallow.exceptions.ValidationError: {'l2_gas_price': ['Unknown field.']}

Steps to reproduce

Interact with latest docker image of pathfinder v15

SDK Version

0.24.2

Python version

3.9.19

What operating system are you using?

Mac

Is there an existing issue for this?

  • I have searched the existing issues and verified no issue exits for this problem.
@NikitaMishin NikitaMishin added the bug Something isn't working label Nov 26, 2024
@franciszekjob
Copy link
Collaborator

franciszekjob commented Nov 26, 2024

Hi @NikitaMishin , this is not a bug - pathfinder v15 uses RPC 0.8.0, there were some breaking changes in fee estimation model, hence the error. We're working towards updating to new RPC :).

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

2 participants