Zilliqa / zilliqa-developer

GNU General Public License v3.0
2 stars 5 forks source link

fixed failing upgradeability tests #696

Closed DrZoltanFazekas closed 5 months ago

DrZoltanFazekas commented 5 months ago

Fixes the following x-bridge tests that were failing:

Encountered 8 failing tests in test/periphery/TokenManagerUpgradeTest/TokenManagerUpgradeTest.t.sol:TokenManagerUpgradeTest
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_add_erc7201_non_compliant_contract_inheritance_to_end() (gas: 11060)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_change_order_of_inheritance() (gas: 9149)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_inherit_new_erc7201_compliant_contract_to_end() (gas: 9347)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_inherit_new_erc7201_compliant_contract_to_middle() (gas: 9083)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_new_getter_for_existing_variable() (gas: 9457)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_remove_erc7201_compliant_contract_inheritance_in_middle() (gas: 9331)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_with_field_removed_and_replaced_with_gap() (gas: 9266)
[FAIL. Reason: Multiple matching artifacts found] test_upgrade_with_new_field_and_respective_getters() (gas: 9497)