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

refactor!: a collection of breaking changes [APE-1417] #1677

Merged
merged 9 commits into from
Dec 10, 2023

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Sep 26, 2023

What I did

Fixes: APE-1120 (make compilers_with_missing_ext be a Set instead of a List)
Fixes: APE-578 (Move ContractError as base class to TransactionError)
Fixes: APE-770 (Remove ape.utils.Aborts - should now use ape.exceptions.Abort)
Fixes: APE-772 (Renamed get_user_selected_account to select_account)
Fixes: APE-822 (Rename ContractError to ContractDataError and other error usage changes)
Fixes: APE-830 (Remove deprecated field branch from the Github dependency type. Use ref now)
Fixes: APE-685 (Remove ListTupleConverter)
Fixes: APE-1205 (Use block_id instead of block_identified and include in official API, same with state).
Fixes: APE-876 (Delete some methods for gas tracking from the ReportManager - plugins should be using the test runner reference now, same as coverage)
Fixes: APE-1104 (rename get_storage_at to get_storage)
Fixes: APE-899 (Move Web3Provider to ape-Ethereum)
Unused evm_versions from compile config was removed. This config never did anything.

Addresses any breaking-change TODOs related to 0.7 that I found

How I did it

burn it all

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@vany365 vany365 changed the title chore!: all 0.7 deprecation removals chore!: all 0.7 deprecation removals [APE-1417] Sep 26, 2023
@antazoey antazoey changed the title chore!: all 0.7 deprecation removals [APE-1417] chore!: a collection of breaking changes [APE-1417] Sep 26, 2023
fubuloubu
fubuloubu previously approved these changes Sep 26, 2023
Copy link
Member

@fubuloubu fubuloubu left a comment

Choose a reason for hiding this comment

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

Make sure to communicate config and exception changes to downstream users

@antazoey
Copy link
Member Author

antazoey commented Nov 1, 2023

  • Rename account_type kwarg to key in account_option stuff

Copy link

github-actions bot commented Dec 2, 2023

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label, add a comment, or make a new commit, otherwise this PR will be closed in 5 days.

@github-actions github-actions bot added the stale No activity for 30 days label Dec 2, 2023
@fubuloubu fubuloubu removed the stale No activity for 30 days label Dec 4, 2023
@antazoey antazoey force-pushed the feat/zero-seven-todos branch from 534fa85 to ef0e404 Compare December 9, 2023 16:25
@antazoey antazoey marked this pull request as ready for review December 9, 2023 16:27
@antazoey antazoey changed the title chore!: a collection of breaking changes [APE-1417] refactor!: a collection of breaking changes [APE-1417] Dec 9, 2023
@@ -231,25 +231,20 @@ def print_choices(self):

@property
def _choices_iterator(self) -> Iterator[str]:
# Yield real accounts.
for account in _get_accounts(account_type=self._account_type):
# NOTE: Includes test accounts unless filtered out by key.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@antazoey antazoey merged commit f720add into ApeWorX:main Dec 10, 2023
@antazoey antazoey deleted the feat/zero-seven-todos branch December 10, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants