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

feat: New command - staking #227

Merged
merged 54 commits into from
Oct 31, 2023
Merged

feat: New command - staking #227

merged 54 commits into from
Oct 31, 2023

Conversation

FroVolod
Copy link
Collaborator

Manage staking: view, add and withdraw stake.
Also resolved #194

@FroVolod FroVolod marked this pull request as ready for review July 29, 2023 17:37
let chunk_size = 15;
let concurrency = 10;

let delegated_stake: std::collections::HashMap<near_primitives::types::AccountId, crate::common::NearBalance> = runtime
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Currently, the delegated stake for account_id can be viewed on validators and proposals. I need help to view the delegated stake in the validator whitelist.

src/commands/staking/delegate/mod.rs Outdated Show resolved Hide resolved
src/commands/staking/delegate/stake.rs Outdated Show resolved Hide resolved
src/commands/staking/delegate/unstake.rs Outdated Show resolved Hide resolved
src/common.rs Outdated Show resolved Hide resolved
src/commands/staking/delegate/mod.rs Outdated Show resolved Hide resolved
src/commands/staking/delegate/mod.rs Outdated Show resolved Hide resolved
src/commands/staking/mod.rs Outdated Show resolved Hide resolved
src/common.rs Outdated Show resolved Hide resolved
src/commands/staking/delegate/mod.rs Outdated Show resolved Hide resolved
@frol frol enabled auto-merge (squash) October 31, 2023 01:13
@frol frol merged commit 2e4226f into master Oct 31, 2023
16 checks passed
@frol frol deleted the staking branch October 31, 2023 01:26
@frol frol mentioned this pull request Oct 31, 2023
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.

“Validator stake” in account summary is slightly confusing
2 participants