-
Notifications
You must be signed in to change notification settings - Fork 0
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
Scripts for admin functionality #40
Conversation
Leonard-Pat
commented
Jun 24, 2024
- Added, claim_dust, upgrade and pause scripts
Co-authored-by: gaetbout <[email protected]>
Woopsie, I won't review yet, my bad :D |
scripts/propose-upgrade.ts
Outdated
|
||
logTransactionJson([tx]); | ||
|
||
console.log("Proposed upgrade will be ready at: ", date); |
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.
nice detail
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.
File name are mixing casing
scripts/claim-dust.ts
Outdated
} | ||
|
||
const tx = executeActionOnAccount( | ||
"get_dust", |
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.
get_dust doesn't exist anymore
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.
oops good spot
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.
Just quickly update claim-dust.ts
should i do snake case or camel case ? |
Would just align to the most used one atm, unless there is a TS specific "rule" |
okay made them snake since we have that for other files |