Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support logs for evm hooks #418

Merged
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
restaure tests
  • Loading branch information
thomas-nguy committed May 20, 2022
commit 74fe17bcc2127848e291b9ffa8b2cec28eb46f90
6 changes: 3 additions & 3 deletions integration_tests/test_gravity.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_id_from_receipt(receipt):
# CRC20 emit 3 logs for send_to_ethereum: burn, __CronosSendToEthereum and __CronosSendToEthereumResponse
assert len(txreceipt.logs) == 3
assert get_id_from_receipt(txreceipt) \
== "0x0000000000000000000000000000000000000000000000000000000000000001", "should be about to get id"
== "0x0000000000000000000000000000000000000000000000000000000000000001", "should be able to get id"
assert txreceipt.status == 1, "should success"
else:
wait_for_fn("send-to-gravity-native", check_gravity_native_tokens)
Expand All @@ -265,7 +265,7 @@ def check():
wait_for_fn("send-to-ethereum", check)


def gov_token_mapping(gravity):
def test_gov_token_mapping(gravity):
"""
Test adding a token mapping through gov module
- deploy test erc20 contract on geth
Expand Down Expand Up @@ -340,7 +340,7 @@ def check():
wait_for_fn("check balance on cronos", check)


def direct_token_mapping(gravity):
def test_direct_token_mapping(gravity):
"""
Test adding a token mapping directly
- deploy test erc20 contract on geth
Expand Down