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

Expose deployment artifacts from deployments package rather than ABI + bytecode #2058

Merged
merged 13 commits into from
Nov 24, 2022

Conversation

TomAFrench
Copy link
Contributor

Description

Rather than pulling out the ABI and bytecode for each contract and saving them to the bytecode/abi folders, we now have a single artifact folder per deployment task. This is then populated from the build-info file in the exact same way that hardhat generates its own artifact files so users of the npm package can use these as if they had compiled the contracts locally.

getBalancerContractABI is not deprecated as this is a useful helper for users who only want to be able to interact with existing contracts but not deploy them. For anyone deploying their own contracts then it's expected that they use getBalancerContractArtifact. getBalancerContractBytecode is deprecated.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency changes
  • Code refactor / cleanup
  • Documentation or wording changes
  • Other

Checklist:

  • The diff is legible and has no extraneous changes
  • Complex code has been commented, including external interfaces
  • Tests are included for all code paths
  • The base branch is either master, or there's a description of how to merge

Issue Resolution

@TomAFrench
Copy link
Contributor Author

Adding changelog stuff now.

@TomAFrench TomAFrench requested a review from nventuro November 24, 2022 14:48
pkg/deployments/index.ts Outdated Show resolved Hide resolved
pkg/deployments/src/artifact.ts Outdated Show resolved Hide resolved
pkg/deployments/src/artifact.ts Outdated Show resolved Hide resolved
TomAFrench and others added 2 commits November 24, 2022 16:47
Co-authored-by: Nicolás Venturo <[email protected]>
Co-authored-by: Nicolás Venturo <[email protected]>
@nventuro nventuro merged commit e2e63ed into master Nov 24, 2022
@nventuro nventuro deleted the deployments-artifacts branch November 24, 2022 17:08
@TomAFrench
Copy link
Contributor Author

TomAFrench commented Nov 24, 2022

@nventuro Just realised that this PR means that we need to go update all the links in each deployment readme :sadge:

@nventuro
Copy link
Contributor

'we'

TomAFrench added a commit that referenced this pull request Nov 25, 2022
* master:
  Do new aave linear deploy (#2055)
  Deploy entrypoint (#2062)
  (Re) deployment preparation: `AuthorizerAdaptorEntrypoint` (#2060)
  chore: update deployment readmes to point to artifact files rather than abis (#2061)
  Expose deployment artifacts from deployments package rather than ABI + bytecode (#2058)
  chore: add missing action-ids (#2025)
  Remove Protocol Fee Splitter task (#2054)
  Adaptor entrypoint events (#2051)
  Verify AaveLinearPool on deployment (#2040)
  Rename IPoolVersion --> IFactoryCreatedPoolVersion. (#2045)
TomAFrench added a commit that referenced this pull request Nov 25, 2022
* master: (269 commits)
  Do new aave linear deploy (#2055)
  Deploy entrypoint (#2062)
  (Re) deployment preparation: `AuthorizerAdaptorEntrypoint` (#2060)
  chore: update deployment readmes to point to artifact files rather than abis (#2061)
  Expose deployment artifacts from deployments package rather than ABI + bytecode (#2058)
  chore: add missing action-ids (#2025)
  Remove Protocol Fee Splitter task (#2054)
  Adaptor entrypoint events (#2051)
  Verify AaveLinearPool on deployment (#2040)
  Rename IPoolVersion --> IFactoryCreatedPoolVersion. (#2045)
  docs: remove deprecated networks from jsdoc (#2029)
  Add Version unit test. (#2038)
  Update linear build info (#2041)
  Make unnecessarily async functions sync (#2030)
  Do deployment (#2035)
  Aave linear pool versioning (#2032)
  Fix recovery readme (#2037)
  style: fix linter (#2036)
  Add tokens task (#2024)
  Create recovery helper deployment (#2033)
  ...
TomAFrench added a commit that referenced this pull request Nov 28, 2022
* master: (26 commits)
  Deprecate managed pool deployment (#2044)
  Add support for cash and managed to MockVault (#2064)
  chore: add .nvmrc file (#2066)
  Make `approveVault` payable (`BaseRelayerLibrary`). (#2067)
  Do new aave linear deploy (#2055)
  Deploy entrypoint (#2062)
  (Re) deployment preparation: `AuthorizerAdaptorEntrypoint` (#2060)
  chore: update deployment readmes to point to artifact files rather than abis (#2061)
  Expose deployment artifacts from deployments package rather than ABI + bytecode (#2058)
  chore: add missing action-ids (#2025)
  Remove Protocol Fee Splitter task (#2054)
  Adaptor entrypoint events (#2051)
  Verify AaveLinearPool on deployment (#2040)
  Rename IPoolVersion --> IFactoryCreatedPoolVersion. (#2045)
  docs: remove deprecated networks from jsdoc (#2029)
  Add Version unit test. (#2038)
  Update linear build info (#2041)
  Make unnecessarily async functions sync (#2030)
  Do deployment (#2035)
  Aave linear pool versioning (#2032)
  ...
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.

2 participants