Validator income: separate protocol (i.e., network) fees from DIN issuance, stop calling both "rewards", and keep DIN for staking

Aberta
#340 0 comentários 0 reações 3 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@umermjd11 já está trabalhando nisso.

Desde 13/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

enhancement

Decision

Validator income comes from two clearly separate sources:

  1. Protocol fees. Model owners pay for training rounds, and validators who did the work share them. Fees are paid in the native currency of the chain the protocol runs on (ETH on Optimism). While we're testing, a stablecoin may be used instead.
  2. DIN issuance. New DIN created on a fixed schedule over set periods, going to staked validators according to their measured, ongoing contribution, and added to their stake (similar to ETH issuance to Ethereum validators).

Separately:

  • Gas is paid in the chain's native currency to the chain itself. It is not protocol income.
  • Slashing is a penalty on stake for misbehaviour. It doesn't decide who receives fees or issuance.
  • DIN (INZ after #281) is the staking token. It enters circulation through issuance, not as a payment for individual batches.

This builds on #283 (data owners: no rewards at launch, stablecoin if ever).

Language: why "rewards" is a problem

Today the code and docs use "rewards" for everything a validator receives (giRewardPool, claimReward, aggregatorWeight as a "reward weight", RewardEngine). That causes confusion in three ways:

  • It blurs two different things: fees, which are paid by users for work done, and issuance, which is new DIN created by the protocol on a schedule.
  • It suggests validators are paid in DIN for each batch, when DIN is meant to be the staking token.
  • To outsiders it can read as a promised return or yield, which is not what either source is.

Proposed terms for code, docs and conversation:

Use Meaning Avoid
Fees (protocol fees) What model owners pay for a training round, shared among validators who did the work "rewards"
Issuance New DIN created on a set schedule, paid to stake by measured contribution "rewards", "emission rewards"
Contribution The measured work a validator did (e.g. revealing in a finalized batch, #335) "reward weight"
Gas Transaction costs paid to the chain in its native currency "fees" when we mean gas
Slashing A penalty on stake for misbehaviour —

"Rewards" should only be used, if at all, as a general word covering both fees and issuance, never for one of them on its own.

Where the code differs today (develop)

  • Model owners fund each GI's reward pool in DIN (DINTaskAuditor.depositRewards), and a GI can't start until it's funded (validateGIStart).
  • DinEmission mints DIN per GI, per model, on a decay schedule, and deposits it into that pool.
  • The pool is split by aggregatorWeight (#335 now counts only aggregators who revealed).
  • DinFeeRouter collects fees in DIN.
  • Dispute bonds are posted in DIN.

Questions to settle

  1. Fees: switch fee payments and validator fee shares to the chain's native currency (ETH on Optimism), with the option of a stablecoin while testing? Should the fee currency be set per deployment, so the same code works on any chain?
  2. Issuance: move from per-GI, per-model emission into a reward pool to a network-wide schedule over fixed periods, paid to stake by measured contribution?
  3. Contribution: what counts? For aggregators, revealing in a finalized batch (#335). What about auditors, uptime and consistency over time?
  4. Renaming: which names change in code and docs, e.g. giRewardPool, claimReward, aggregatorWeight, RewardEngine, and when (before the DevNet 2.0 deploy, alongside the #281 rename, or later)?
  5. Dispute bonds: keep them in DIN (like stake), or move them to the chain's native currency?
  6. Does any of this block the DevNet 2.0 deploy (#284), or can it follow?

@umeradl, could you scope this and say which parts block DevNet 2.0?

Linguagem predominante
Python
Estrelas
4
Forks
7
Merge médio
5d 15h
PRs com merge (30d)
43

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de InfiniteZeroFoundation/DevNet

Todas as issues de InfiniteZeroFoundation/DevNet

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.