-
Notifications
You must be signed in to change notification settings - Fork 17
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: add persistent secret storage #396
Changes from all commits
216ee4b
42e374e
e2f5150
69beab0
c19344a
2190073
27588b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,14 @@ resource "google_cloud_run_v2_service" "node" { | |
name = "AWS_DEFAULT_REGION" | ||
value = var.indexer_options.s3_region | ||
} | ||
env { | ||
name = "MPC_RECOVERY_GCP_PROJECT_ID" | ||
value = var.project | ||
} | ||
env { | ||
name = "MPC_RECOVERY_SK_SHARE_SECRET_ID" | ||
Comment on lines
+105
to
+109
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we rename these to be multichain instead of mpc-recovery? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mmm, not sure, maybe? I don't have a strong opinion so I just kept it as is for now There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made a ticket for this one too: #407 |
||
value = var.sk_share_secret_id | ||
} | ||
|
||
env { | ||
name = "MPC_RECOVERY_WEB_PORT" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ serde_json = "1" | |
testcontainers = { version = "0.15", features = ["experimental"] } | ||
tokio = { version = "1.28", features = ["full"] } | ||
tracing-subscriber = { version = "0.3", features = ["env-filter"] } | ||
near-workspaces = "0.8.0" | ||
near-workspaces = { git = "https://github.com/near/near-workspaces-rs.git", branch = "main" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. workspaces 0.8.0/0.9.0 depends on NEAR SDK 4.x which is no longer compilable due to a yanked dependency. See near/near-sdk-rs#1119. So we have to use the unreleased version of workspaces for now |
||
toml = "0.8.1" | ||
sha2 = "0.10.8" | ||
|
||
|
@@ -42,7 +42,6 @@ near-jsonrpc-client = "0.6" | |
near-primitives = "0.17" | ||
near-lake-framework = { git = "https://github.com/near/near-lake-framework-rs.git", branch = "daniyar/upgrade-sdk" } | ||
near-lake-primitives = { git = "https://github.com/near/near-lake-framework-rs.git", branch = "daniyar/upgrade-sdk" } | ||
near-units = "0.2.0" | ||
|
||
mpc-contract = { path = "../contract" } | ||
mpc-keys = { path = "../keys" } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need one more status?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a stop-gap for now, otherwise it's very hard to deploy multichain to GCP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will document this behaviour