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

Garage: add multi chain support #879

Merged
merged 8 commits into from
Jul 5, 2023

Conversation

datadanne
Copy link
Contributor

Adds support to the garage for being connected to multiple chains. Needed when using the admin page to write to tables that are not on mainnet, and will be needed for voting

NOTE: The base of this PR is #878 and not staging, because it depends on the work in 878. Will change base as soon as that one is merged

Closes RIG-51

@datadanne datadanne requested a review from sanderpick July 4, 2023 11:54
@linear
Copy link

linear bot commented Jul 4, 2023

RIG-51 Add support for connecting to multiple chains

The admin page needs to be able to write to tables on filecoin and the contracts that get called for training/piloting/parking/transferring rigs are on eth mainnet, so we need to support for switching the connected provider/wallet between networks depending on the context.

This will also be needed for the voting feature since the registry contract & related tables will be deployed to a chain that is not eth mainnet (most likely filecoin?)

sanderpick
sanderpick previously approved these changes Jul 4, 2023
Copy link
Member

@sanderpick sanderpick left a comment

Choose a reason for hiding this comment

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

nice! lgtm

Base automatically changed from datadanne/garage-staging-deployment to staging July 5, 2023 08:11
@datadanne datadanne dismissed sanderpick’s stale review July 5, 2023 08:11

The base branch was changed.

@datadanne datadanne force-pushed the datadanne/add-multi-chain-support branch from 16ac3d4 to 7b10568 Compare July 5, 2023 08:23
@datadanne
Copy link
Contributor Author

nice! lgtm

sweet! will need a re-approval since the base changed to staging

@sanderpick sanderpick merged commit ccb2980 into staging Jul 5, 2023
6 checks passed
@sanderpick sanderpick deleted the datadanne/add-multi-chain-support branch July 5, 2023 20:28
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