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

feat: v0.11.4 software upgrade reconciliation #375

Conversation

Jonathansumner
Copy link
Member

@Jonathansumner Jonathansumner commented Jun 26, 2024

  • Replaces Token Bridge + Reconciliation contract admins
  • Clears state of Almanac, AName, Reconciliation contracts
  • Transfers reconciliation balances to landing address
  • Populates Reconciliation contract state with transfer records

Tested for Mainnet
Untested for Dorado

@Jonathansumner Jonathansumner self-assigned this Jun 26, 2024
Copy link

github-actions bot commented Jun 26, 2024

Visit the preview URL for this PR (updated for commit a5d7ddd):

https://fetch-docs-preview--pr375-feat-v0-11-4-softwar-7edd8ch4.web.app

(expires Tue, 02 Jul 2024 17:19:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f2de39fd4e81249941960b74fbab0a62d90d69f8

Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
Signed-off-by: jonathansumner <jonathansumner98@gmail.com>
app/app.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@pbukva pbukva left a comment

Choose a reason for hiding this comment

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

It would be good to add the manifest and save as json file. We will need to have the audit trail what was done during the upgrade (we are changing quite a lot of important bits and pieces in the chain state).
As the bonus, manifest can be used to pass the transfers from WithdrawReconciliationBalances(...) over to the ReplaceReconciliationContractState(...). Right now transfers are passed via temporarily array.

app/upgrade_0_11_4.go Outdated Show resolved Hide resolved
@pbukva pbukva requested a review from MissingNO57 as a code owner June 27, 2024 17:06
@pbukva pbukva force-pushed the feat/v0.11.4_software_upgrade_reconciliation_impl branch from 5f84d65 to a5d7ddd Compare June 27, 2024 17:18
@pbukva pbukva changed the base branch from master to feat/v0.11.4_software_upgrade June 27, 2024 17:25
@pbukva pbukva self-requested a review June 27, 2024 17:31
Copy link
Collaborator

@pbukva pbukva left a comment

Choose a reason for hiding this comment

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

LGTM

@pbukva pbukva merged commit f76b4fa into feat/v0.11.4_software_upgrade Jun 27, 2024
1 check passed
@pbukva pbukva deleted the feat/v0.11.4_software_upgrade_reconciliation_impl branch June 27, 2024 17:50
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