-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
buffalu
commented
Oct 14, 2022
- clion formatted the stake meta arguments
- remove rpc_url and added tip payment program id from Deterministically find tip amounts, add meta to stake info, and cleanup pubkey/strings in MEV tips jito-solana#159
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.
LGTM!
tip-payment/scripts/autoclaim.sh
Outdated
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 |
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.
curious why do we redefine these variables? are there a scope gotchas?
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.
that's actually a good question, i was copying without thinking, but at first thought it seems like it should work w/o this
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.
@segfaultdoc do you know why it's like this?
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.
nah just for readability
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.
so you know the vars declared here are the env vars expected by this script
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.
bash-ing sucks as is, so just tryna make it more digestable
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.
removed redundant args