-
Notifications
You must be signed in to change notification settings - Fork 1
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
[WIP] CLI #1
[WIP] CLI #1
Conversation
@@ -1,2 +1,21 @@ | |||
import { Command } from "commander"; | |||
export const program = new Command(); | |||
// import { setAdvancedConfig } from "@features"; |
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.
Do we still need this?
export * from "./Delegation"; | ||
export * from "./StEth"; | ||
export * from "./LidoLocator"; | ||
export * from "./TokenManager"; |
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 this contract?
export const voteLastVoting = async () => { | ||
const { contract } = getVotingContract(); | ||
const votesLength = await contract.read.votesLength(); | ||
const lastVoteId = votesLength - 1n; |
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 use only the last vote?
}, {} as Record<string, any>); | ||
} | ||
|
||
// export const checkTmCanForward = async () => { |
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.
comments
const dashboard = program.command("dashboard").description("dashboard contract"); | ||
|
||
dashboard | ||
.command("info") |
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.
Not blocker:
Looks like we need separate files for different commands by type
Description
Demo
Code review notes
Testing notes
Checklist: