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

Add validator dropdown #194

Merged
merged 8 commits into from
Feb 8, 2024
Merged

Add validator dropdown #194

merged 8 commits into from
Feb 8, 2024

Conversation

abefernan
Copy link
Contributor

Closes #173.

Keeps the old text input, too, in case the user prefers to copy and paste the address. The validator box will reflect that pasted address.

@abefernan abefernan requested a review from hashedone January 15, 2024 08:38
@abefernan abefernan self-assigned this Jan 15, 2024
Copy link

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cosmos-multisig-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 10:54am

@abefernan abefernan changed the base branch from master to fix/validate-microcoin January 15, 2024 08:38
lib/staking.ts Outdated
export const getAllValidators = async (rpcUrl: string): Promise<readonly Validator[]> => {
const validators: Validator[] = [];

const tmClient = await Tendermint34Client.connect(rpcUrl);
Copy link
Member

Choose a reason for hiding this comment

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

Can you use await connectComet(rpcUrl))? This does auto-detection of the backend version

Base automatically changed from fix/validate-microcoin to master February 8, 2024 11:37
@abefernan abefernan merged commit cc86a74 into master Feb 8, 2024
5 checks passed
@abefernan abefernan deleted the feat/validator-dropdown branch February 8, 2024 11:38
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.

Add validator dropdown
2 participants