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

Authorizer: Migration script #1173

Merged
merged 8 commits into from
Apr 6, 2022
Merged

Conversation

facuspagnuolo
Copy link
Contributor

@facuspagnuolo facuspagnuolo commented Mar 16, 2022

MERGE AFTER #1197

Fixes #1160

@facuspagnuolo facuspagnuolo self-assigned this Mar 16, 2022
@facuspagnuolo facuspagnuolo linked an issue Mar 16, 2022 that may be closed by this pull request
Base automatically changed from authorizer/renames to master March 23, 2022 14:28
@facuspagnuolo facuspagnuolo changed the base branch from master to authorizer/improve_grant_revoken_granularity April 1, 2022 13:22
Base automatically changed from authorizer/improve_grant_revoken_granularity to master April 4, 2022 20:09
Copy link
Contributor

@nventuro nventuro left a comment

Choose a reason for hiding this comment

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

Looks great! I think the only thing missing are some partial migration unit tests (i.e. migrate(n) with n != 0). To reduce duplication, I'd consider removing unit tests that also show up in the fork tests (see https://github.com/balancer-labs/balancer-v2-monorepo/pull/1173/files#r830266852).

@facuspagnuolo
Copy link
Contributor Author

facuspagnuolo commented Apr 6, 2022

Looks great! I think the only thing missing are some partial migration unit tests (i.e. migrate(n) with n != 0).

Done!

To reduce duplication, I'd consider removing unit tests that also show up in the fork tests (see https://github.com/balancer-labs/balancer-v2-monorepo/pull/1173/files#r830266852).

It's not harmful since fork tests do not run on the CI

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
@facuspagnuolo facuspagnuolo enabled auto-merge (squash) April 6, 2022 15:04
@facuspagnuolo facuspagnuolo merged commit e3127d1 into master Apr 6, 2022
@facuspagnuolo facuspagnuolo deleted the authorizer/migration_script branch April 6, 2022 20:48
TomAFrench added a commit that referenced this pull request Apr 7, 2022
* master: (39 commits)
  Authorizer: Migration script (#1173)
  Managed Pool: BPT management fees (#1163)
  Improve token checkpointing logic (#1217)
  Prevent late lockers from having to claim many weeks of zero-value distributions (#1218)
  fix: make sure to use EVM time when calculating startTime (#1221)
  Add custom implementation of FeeDistributor contract (#1191)
  Authorizer: Improve grant/revoke delays granularity (#1197)
  Linear Pool: ERC4626 Finalized (#1177)
  Weighted pool: use correct compare operators (#1209)
  Re-do Polygon BalancerHelpers deployment
  Update deployments readme
  chore: deploy SmartWalletChecker to kovan (#1208)
  Add SmartWalletChecker (#1207)
  Update readme.md (#1206)
  veBAL deployment (#1205)
  Misc veBAL changes (#1204)
  chore: organise contracts in liquidity-mining package (#1203)
  Fix compile error
  Deploy Batch Relayer V2 to Polygon (#1182)
  Fix reading historical balances/total supply by timestamp (#1201)
  ...
TomAFrench added a commit that referenced this pull request Apr 7, 2022
* master:
  Authorizer: Migration script (#1173)
  Managed Pool: BPT management fees (#1163)
  Improve token checkpointing logic (#1217)
  Prevent late lockers from having to claim many weeks of zero-value distributions (#1218)
  fix: make sure to use EVM time when calculating startTime (#1221)
dandamiangow3t pushed a commit to IlluviumGame/balancer-v2-monorepo that referenced this pull request May 10, 2023
* authorizer: prepare migration script

* authorizer: fix fork test

* authorizer: fix fork test

* authorizer: update migration with latest model changes

* authorizer: delay root change

* authorizer: test partial migrations

* authorizer: fix linter

* authorizer: improve deployment input layout

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
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.

Build Authorizer migration task
2 participants