Skip to content

Commit

Permalink
[PAN-2093] rawTransaction renamed to raw_transaction in Web3.py (#44)
Browse files Browse the repository at this point in the history
* fix: rawTransaction renamed to raw_transaction in Web3.py

* fix: pin eth-account version
  • Loading branch information
markuslevonyak authored Jul 12, 2024
1 parent f6886d1 commit a463232
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 165 deletions.
2 changes: 1 addition & 1 deletion pantos/common/blockchains/ethereum.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def submit_transaction(
signed_transaction = web3.Account.sign_transaction(
transaction, private_key=self._default_private_key)
transaction_hash = self.__send_raw_transaction(
signed_transaction.rawTransaction, node_connections)
signed_transaction.raw_transaction, node_connections)
return BlockchainUtilities.TransactionSubmissionResponse(
transaction_hash, adaptable_fee_per_gas)
except EthereumUtilitiesError:
Expand Down
Loading

0 comments on commit a463232

Please sign in to comment.