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

Change stake meta args + format file #46

Merged
merged 2 commits into from
Oct 14, 2022
Merged

Conversation

buffalu
Copy link
Contributor

@buffalu buffalu commented Oct 14, 2022

segfaultdoc
segfaultdoc previously approved these changes Oct 14, 2022
esemeniuc
esemeniuc previously approved these changes Oct 14, 2022
Copy link
Contributor

@esemeniuc esemeniuc left a comment

Choose a reason for hiding this comment

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

LGTM!

source ./${DIR}/utils.sh

RPC_URL=$1
HOST_NAME=$2

TIP_DISTRIBUTION_PROGRAM_ID=$TIP_DISTRIBUTION_PROGRAM_ID
TIP_PAYMENT_PROGRAM_ID=$TIP_PAYMENT_PROGRAM_ID
Copy link
Contributor

Choose a reason for hiding this comment

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

curious why do we redefine these variables? are there a scope gotchas?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that's actually a good question, i was copying without thinking, but at first thought it seems like it should work w/o this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@segfaultdoc do you know why it's like this?

Copy link
Contributor

Choose a reason for hiding this comment

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

nah just for readability

Copy link
Contributor

Choose a reason for hiding this comment

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

so you know the vars declared here are the env vars expected by this script

Copy link
Contributor

Choose a reason for hiding this comment

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

bash-ing sucks as is, so just tryna make it more digestable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed redundant args

@buffalu buffalu dismissed stale reviews from esemeniuc and segfaultdoc via 5bf6fc3 October 14, 2022 21:26
@buffalu buffalu merged commit 311eda2 into master Oct 14, 2022
@buffalu buffalu deleted the lb/change_stake_meta_args branch October 14, 2022 21:27
buffalu added a commit that referenced this pull request Oct 14, 2022
buffalu added a commit that referenced this pull request Oct 14, 2022
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