Help Needed: Persistent data_gas_consumed and data_gas_price Missing Error During StarkNet Transaction Fee Estimation #1446
Unanswered
otatataata
asked this question in
Q&A
Replies: 1 comment
-
Hey @otatataata , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm encountering a persistent issue when trying to invoke a function on a StarkNet contract using starknet_py. Despite my contract's ABI and calldata being correct, and the node (Infura) seemingly functioning properly, I'm getting the following error:
Paramètres de run_system pour ExtractResourceFinish: name: 0x457874726163745265736f7572636546696e697368 calldata: [5, 7809, 1, 1, 4329] Préparation de l'invocation réussie. Estimation des frais... Erreur lors de l'exécution de la transaction: {'data_gas_consumed': ['Missing data for required field.'], 'data_gas_price': ['Missing data for required field.']}
I've tried both manual fee estimation and the auto_estimate=True option, but the error persists in both cases. Here's what I've checked so far:
The issue seems to be there: estimated_fee = await contract.functions["run_system"].prepare_invoke_v1(name, calldata).estimate_fee(), because the print before shows, but not the print after.
Any insights or suggestions on what might be causing this and how to resolve it would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions