diff --git a/apps/cic-eth/tests/task/test_task_list.py b/apps/cic-eth/tests/task/test_task_list.py index 93983476..0c811fcf 100644 --- a/apps/cic-eth/tests/task/test_task_list.py +++ b/apps/cic-eth/tests/task/test_task_list.py @@ -51,6 +51,7 @@ def test_ext_tx_collate( tx_hash_hex, tx_signed_raw_hex, ) + otx.block = 666 init_database.add(otx) init_database.commit() diff --git a/apps/cic-eth/tests/unit/db/test_tx.py b/apps/cic-eth/tests/unit/db/test_tx.py index 2cc54e73..a7e74e27 100644 --- a/apps/cic-eth/tests/unit/db/test_tx.py +++ b/apps/cic-eth/tests/unit/db/test_tx.py @@ -46,6 +46,7 @@ def test_set( tx_hash_hex, tx_signed_raw_hex, ) + otx.block = 666 init_database.add(otx) init_database.commit() @@ -74,7 +75,6 @@ def test_set( assert (tx_stored.destination_token_address == ZERO_ADDRESS) assert (tx_stored.from_value == tx['value']) assert (tx_stored.to_value == to_value) - assert (tx_stored.block_number == 666) assert (tx_stored.tx_index == 13)