diff --git a/.gitignore b/.gitignore index 9ec1712..6209931 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ __pycache__/ *.py[cod] .pytest_cache/ +.idea/ # C extensions *.so diff --git a/dydx3/modules/eth.py b/dydx3/modules/eth.py index 0f864ba..5929bf9 100644 --- a/dydx3/modules/eth.py +++ b/dydx3/modules/eth.py @@ -120,13 +120,6 @@ def send_eth_transaction( auto_detect_nonce = 'nonce' not in options if auto_detect_nonce: options['nonce'] = self.get_next_nonce(options['from']) - if 'gasPrice' not in options: - try: - options['gasPrice'] = ( - self.web3.eth.gasPrice + DEFAULT_GAS_PRICE_ADDITION - ) - except Exception: - options['gasPrice'] = DEFAULT_GAS_PRICE if 'value' not in options: options['value'] = 0 gas_multiplier = options.pop('gasMultiplier', DEFAULT_GAS_MULTIPLIER)