having an error print(transaction) #1432
-
I got this error During handling of the above exception, another exception occurred: Traceback (most recent call last): this i smy code import json with open("./SimpleStorage.sol", "r") as file: We add these two lines that we forgot from the video!print("Installing...") Solidity source codecompiled_sol = compile_standard( with open("compiled_code.json", "w") as file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, as the error says "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/eth.py:656: UserWarning: There was an issue with the method eth_maxPriorityFeePerGas. Calculating using eth_feeHistory."
|
Beta Was this translation helpful? Give feedback.
-
Hello @Cpadilla229, you can send the gas fee on the transaction as well, and thanks @MananJain2002 for helping out. |
Beta Was this translation helpful? Give feedback.
Hi, as the error says "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/eth.py:656: UserWarning: There was an issue with the method eth_maxPriorityFeePerGas. Calculating using eth_feeHistory."
just need to add gasPrice in transaction and it will fix it.