Skip to content

Commit

Permalink
Merge pull request #54 from levonyak/PAN-1998-upgrade-to-hexbytes-1x
Browse files Browse the repository at this point in the history
[PAN-1998] Upgrade to hexbytes 1.x
  • Loading branch information
markuslevonyak authored Jul 12, 2024
2 parents 58ab039 + 1bc9d84 commit b33b2af
Show file tree
Hide file tree
Showing 4 changed files with 367 additions and 229 deletions.
4 changes: 2 additions & 2 deletions pantos/servicenode/blockchains/ethereum.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ def _read_on_chain_transfer_id(self, transaction_id: str,
node_connections = self.__create_node_connections()
transaction_receipt = node_connections.eth.get_transaction_receipt(
typing.cast(web3.types.HexStr, transaction_id)).get()
assert (
transaction_receipt['transactionHash'].hex() == transaction_id)
assert (transaction_receipt['transactionHash'].to_0x_hex() ==
transaction_id)
_logger.info(
'transfer/transferFrom transaction receipt', extra=json.loads(
web3.Web3.to_json(transaction_receipt))) # type: ignore
Expand Down
Loading

0 comments on commit b33b2af

Please sign in to comment.