Skip to content

Commit

Permalink
UTF 8 encoding for contracts.
Browse files Browse the repository at this point in the history
  • Loading branch information
calina-c committed Mar 20, 2023
1 parent 94efc94 commit 263164f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers.py
Expand Up @@ -138,8 +138,8 @@ def send_create_update_tx(name, ddo, flags, account):
provider_url,
web3.toChecksumAddress(provider_address),
flags,
encrypted_data,
dataHash,
encrypted_data.encode("UTF-8"),
dataHash.encode("UTF-8"),
[validatorContent],
).transact()
txn_receipt = get_web3().eth.wait_for_transaction_receipt(txn_hash)
Expand Down

0 comments on commit 263164f

Please sign in to comment.