Skip to content

Conversation

@Arjun-Somvanshi
Copy link
Collaborator

  • ft: allow user to get val-id with public secp key
  • docs: reflect changes in docs for cli

 * ft: allow user to get val-id with public secp key
 * docs: reflect changes in docs for cli

Signed-off-by: Arjun-Somvanshi <asomvanshi@category.xyz>
Comment on lines -212 to +215
"--validator-id",
type=int,
"--secp-pubkey",
type=str,
required=True,
help="Unique id representing the validator on-chain",
help="Compressed SECP public key of the validator, as generated by monad-keystore",
Copy link
Contributor

@johnmarcou johnmarcou Oct 23, 2025

Choose a reason for hiding this comment

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

question: Does this means we won't be able to query by validator ID after this change?

I think this feature is actually useful.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, however if querying with val-id is useful we can keep both options available, the point here is to abstract val-id from the end user, eventually this eth_storage call wont be required and a sc call will be baked in to the staking contract.

@johnmarcou johnmarcou marked this pull request as draft October 31, 2025 15:04
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.

2 participants