ARC-41: Non-Custodial Validator Activation #72
lukenewman
started this conversation in
ARCs
Replies: 1 comment
-
Is there a reason to keep this possibility out of scope of this ARC? This seems critical. With the current spec, the foundation and a few major investors will be the only entities able to activate validators. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
arc: 0041
title: Non-Custodial Validator Activation
authors: luke@puzzle.online
discussion: #73
topic: Protocol
status: Draft
created: 05/01/2024
Abstract
For a validator to be activated (added to the committee), it must have a bond of at least 10,000,000 (10M) credits to its address. Currently, the only way for this to happen is for the funds to be custodied and bonded by the validator's keys. This is a problem for initial validator delegators that don't want to sacrifice custody of their funds. For example, for the Aleo Network Foundation or any main investors to bond credits and activate the initial set of validators, they would currently have to do one of the following:
Both of these options are not ideal.
This proposal introduces a new function to
credits.aleo
that would allow a delegator to activate a validator with an initial bond of 10M credits without having to sacrifice custody of their funds.Specification
credits.aleo/activate_validator
A new function needs to be added to
credits.aleo
that allows a validator to be added to the committee and its initial stake of 10M credits to come from a different address. This initial draft of the logic is grafted from the validator logic inbond_public
.Test Cases
We will both manually test and also amend
test_credits.rs
to have the following test cases:Dependencies
None
Backwards Compatibility
Not necessary.
Security & Compliance
credits.aleo
will require another audit.This proposal opens up the possibility of a delegator pool, ARC38-esque program activating a new validator. There will be a subsequent ARC that outlines this possibility.
References
credits.aleo
sourcetest_credits.rs
sourceBeta Was this translation helpful? Give feedback.
All reactions