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

Updates to persistence #413

Merged
merged 15 commits into from
Apr 16, 2020
Merged

Updates to persistence #413

merged 15 commits into from
Apr 16, 2020

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

  • Deprecate existing Contract.__init__ functionality in favor of class methods:
    • from_abi: create manually from an ABI
    • from_ethpm: create from an ethpm manifest
    • from_explorer: create by querying etherscan (!)
  • Store persistent data for live networks in an sqlite database at ~/.brownie/deployments.db
  • Allow aliasing and restoring persistent data between sessions via Contract.__init__

@iamdefinitelyahuman iamdefinitelyahuman merged commit bc4eead into master Apr 16, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the persist-db branch April 16, 2020 08:54
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.

None yet

1 participant