Skip to content

feat: implement validator passphrase#208

Merged
ItsANameToo merged 17 commits into
feat/mainsailfrom
feat/implement-validator-passphrase
Jun 19, 2026
Merged

feat: implement validator passphrase#208
ItsANameToo merged 17 commits into
feat/mainsailfrom
feat/implement-validator-passphrase

Conversation

@shahin-hq

@shahin-hq shahin-hq commented Jun 19, 2026

Copy link
Copy Markdown

Summary

Closes: https://app.clickup.com/t/2570579/86e1kefb0

This PR refactors validator registration/update to use passphrase instead of public key.

I used the following snippet for testing with SDK tester:

                builder = new ValidatorRegistrationBuilder()
                        .validatorPassphrase((String) validatorConfig.get("validatorPassphrase"))
                        .gasPrice(parseLong(validatorConfig.get("gasPrice")))
                        .gasLimit(parseLong(validatorConfig.get("gasLimit")))
                        .nonce(nonce.longValue())
                        .value((new BigInteger("250").multiply(BigInteger.TEN.pow(18))).toString())
                        .recipientAddress((String) wellKnownContracts.get("consensus"));

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@shahin-hq shahin-hq marked this pull request as ready for review June 19, 2026 08:38
@shahin-hq shahin-hq requested a review from ItsANameToo as a code owner June 19, 2026 08:38
@ItsANameToo ItsANameToo merged commit 95452ed into feat/mainsail Jun 19, 2026
1 check passed
@ItsANameToo ItsANameToo deleted the feat/implement-validator-passphrase branch June 19, 2026 13:57
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