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] Neuron precompile #1075

Open
gztensor opened this issue Dec 6, 2024 · 0 comments
Open

[EVM] Neuron precompile #1075

gztensor opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Dec 6, 2024

Provide the neuron functionality via precompiles.

  • Precompile name: subnets
  • Methods:
    • burned_register: Allows to register a neuron by calling do_burned_registration internally with the origin set to ss58 mirror of the H160 address to allow the H160 to further call neuron-related methods and receive emissions.
  • E2E Tests:
    • Neuron is registered
    • ss58 mirror is the neuron owner
    • Mining emissions are paid to the H160 address
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

2 participants