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

[EVM] Add getStake view method to staking precompile #1120

Open
gztensor opened this issue Dec 31, 2024 · 2 comments
Open

[EVM] Add getStake view method to staking precompile #1120

gztensor opened this issue Dec 31, 2024 · 2 comments
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Dec 31, 2024

We need a method to access stake by hotkey and coldkey (public keys): getStake(bytes32 hotkey, bytes32 coldkey)

@camfairchild
Copy link
Contributor

also needs netuid param

@camfairchild
Copy link
Contributor

camfairchild commented Jan 10, 2025

also allow an optional block param for historical state. Or maybe a second precompile call that has the param for block.

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

No branches or pull requests

3 participants