dydxprotocol / dydx-v3-python

Python client for dYdX (API v3)
Apache License 2.0
306 stars 176 forks source link

Solved Unknown kwargs with 'gasPrice' error #173

Closed Akhilleshgoswami closed 1 year ago

Akhilleshgoswami commented 1 year ago

https://github.com/dydxprotocol/dydx-v3-python/blob/master/dydx3/modules/eth.py#L123

removed the above line of code that creates a gasPrice key in the dict options that raises unknown kwargs exceptions while signing the transaction because the gasPrice has been removed from the transaction option for ethereum ,and now it uses maxFeePerGas and maxPriorityFeePerGas instead of gasPrice