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

Integrate staged contract migration with the on-chain logic #3050

Closed
2 tasks done
SupunS opened this issue Jan 26, 2024 · 1 comment
Closed
2 tasks done

Integrate staged contract migration with the on-chain logic #3050

SupunS opened this issue Jan 26, 2024 · 1 comment

Comments

@SupunS
Copy link
Member

SupunS commented Jan 26, 2024

Issue to be solved

The contract update migration needs the contracts to be migrated as inputs (address, name, code). This is collected by the contract staging contract onflow/contract-updater#14, and could be retrieved as a csv/json.

Needs to implement a bridge these two:

  • Determine the data exchange format (csv/cdc-json/etc)
  • Implement the logic to read the input data from a file at the migration side.

Suggested Solution

No response

@SupunS
Copy link
Member Author

SupunS commented Feb 22, 2024

Added in reading from a CSV file in onflow/flow-go#5425.
If we needed any other format in future (e.g: one file per contract), that can be a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants