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

Support adding validators to remote L1s (Fuji) #2378

Open
meaghanfitzgerald opened this issue Nov 26, 2024 · 1 comment · May be fixed by #2548
Open

Support adding validators to remote L1s (Fuji) #2378

meaghanfitzgerald opened this issue Nov 26, 2024 · 1 comment · May be fixed by #2548
Assignees

Comments

@meaghanfitzgerald
Copy link
Collaborator

Goal

Enable users to create a new local node and add it as a validator to an L1 that is already deployed and running on a remote machine. This simulates the workflow for users who wish to validate proof of stake networks.

For Example

Michael has created and deployed a PoS L1, and Raymond wants to add his local node as a Validator to said L1.

Requirements:

CLI must fetch or require the user provide:

  1. Fuji RPC endpoint
  2. L1 RPC endpoint
  3. The BlockchainID and SubnetID of the L1 the user wishes to join
  4. the NodeID and BLSPublicKey
  5. The address of the validator manager contract
  6. The type of validator manager contract being used (NativeTokenStakingManager, ERC20StakingManager, or PoAValidatorManager). This MVP assumes NativeTokenStakingManager.
  7. The user's address funded with:
  • P-Chain AVAX for the balance
  • staking tokens
  1. The amount the user wishes to stake
  2. The minimum delegation fee
  3. The desired stake duration

Assumptions for a MVP Functionality

  • This flow is able to add a PoS validator to an L1 that uses the NativeTokenStakingManager standard validator manager contract.

Current limitations

Nice to Have, but Not Required

  • This flow is also able to add a PoS validator to an L1 that uses the ERC20TokenStakingManager standard validator manager contract.
    • Important: A potential validator must already have called increasedAllowance on the ERC20 staking token contract before attempting to stake that allowed amount of the token into the ERC20TokenStakingManager contract.
@meaghanfitzgerald
Copy link
Collaborator Author

#2548

@sukantoraymond sukantoraymond linked a pull request Jan 13, 2025 that will close this issue
@sukantoraymond sukantoraymond moved this from In Progress 🏗 to In Review 👀 in Platform Engineering Group Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review 👀
Development

Successfully merging a pull request may close this issue.

2 participants