Skip to content

chore: add near_responder_id and number of responder keys in gcp-start.sh logic#573

Merged
kuksag merged 1 commit intonear:mainfrom
hot-dao:kuksag/gcp-start/responder-id
Jul 7, 2025
Merged

chore: add near_responder_id and number of responder keys in gcp-start.sh logic#573
kuksag merged 1 commit intonear:mainfrom
hot-dao:kuksag/gcp-start/responder-id

Conversation

@kuksag
Copy link
Copy Markdown
Collaborator

@kuksag kuksag commented Jun 26, 2025

After #445 we generate responder keys inside a node, thus we no longer read values from respond.yaml config, that was supplying the keys and the responder account id.
Responder account id field migrated into config.yaml.

This PR brings back default behaviour when responder id wasn't specified + sets the value in the config

Comment thread deployment/gcp-start.sh
cat <<EOF > "$1"
# Configuration File
my_near_account_id: $MPC_ACCOUNT_ID
near_responder_account_id: $responder_id
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure it matters,
but lets use upper case values the same as the rest of the env variables.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It's not an env variable no more, it's a script variable. One have an option of passing $MPC_RESPONDER_ID

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can I pass this via env variable $MPC_RESPONDER_ID?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, you can

@kuksag kuksag enabled auto-merge June 26, 2025 13:01
@barakeinav1 barakeinav1 self-requested a review June 26, 2025 13:21
@kuksag kuksag added this pull request to the merge queue Jul 7, 2025
Merged via the queue into near:main with commit 0d03a74 Jul 7, 2025
3 of 6 checks passed
@kuksag kuksag deleted the kuksag/gcp-start/responder-id branch July 7, 2025 07:32
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