Skip to content

Updates to persistence#413

Merged
iamdefinitelyahuman merged 15 commits intomasterfrom
persist-db
Apr 16, 2020
Merged

Updates to persistence#413
iamdefinitelyahuman merged 15 commits intomasterfrom
persist-db

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
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.

1 participant