Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

tests(rpc): add filter tests #1233

Merged
merged 15 commits into from
Aug 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into ENG-642-filters-integration-tests
  • Loading branch information
danburck authored Aug 11, 2022

Verified

This commit was signed with the committer’s verified signature.
stmcginnis Sean McGinnis
commit 0953ed27586b5e588ca1b7fe8cb0b9978dc85051
5 changes: 5 additions & 0 deletions tests/integration_tests/utils.py
Original file line number Diff line number Diff line change
@@ -114,3 +114,8 @@ def send_successful_transaction(w3):
receipt = w3.eth.wait_for_transaction_receipt(txhash)
assert receipt.status == 1
return txhash


def eth_to_bech32(addr, prefix=ETHERMINT_ADDRESS_PREFIX):
bz = bech32.convertbits(HexBytes(addr), 8, 5)
return bech32.bech32_encode(prefix, bz)
You are viewing a condensed version of this merge commit. You can view the full changes here.