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

Fix update not working for Safes > 1.1.1 #295

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Fix update not working for Safes > 1.1.1 #295

merged 1 commit into from
Nov 7, 2023

Conversation

Uxio0
Copy link
Member

@Uxio0 Uxio0 commented Nov 6, 2023

  • Update master copy function was removed after 1.1.1
  • Migration contracts to update from 1.3.0 to 1.4.1 are still not available
  • Test update

- Update master copy function was removed after 1.1.1
- Migration contracts to update from 1.3.0 to 1.4.1 are still not available
- Test update
@coveralls
Copy link

coveralls commented Nov 7, 2023

Coverage Status

coverage: 93.02% (+0.1%) from 92.907%
when pulling 42f8b14 on fix-update
into c46baaf on master.

@Uxio0 Uxio0 requested a review from moisses89 November 7, 2023 12:16
tests/test_safe_operator.py Show resolved Hide resolved
)
self.assertEqual(
safe_operator_v111.safe.retrieve_fallback_handler(),
last_default_fallback_handler_address.return_value,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
last_default_fallback_handler_address.return_value,
last_default_fallback_handler_address.return_value


self.assertEqual(
safe_operator_v111.safe.retrieve_master_copy_address(),
last_safe_contract_address_mock.return_value,
Copy link
Member

@moisses89 moisses89 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last_safe_contract_address_mock.return_value is safe_contract_V1_4_1.address, then the v1.1.1 was updated to 1.4.1 this is possible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@Uxio0 Uxio0 merged commit f1c5eda into master Nov 7, 2023
21 checks passed
@Uxio0 Uxio0 deleted the fix-update branch November 7, 2023 13:31
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants