codex-storage / codex-contracts-eth

Ethereum smart contracts for Codex
Other
5 stars 9 forks source link

Reward for validators that correctly mark proof as missing #70

Open AuHau opened 9 months ago

AuHau commented 9 months ago

Currently in the markProofAsMissing there is no reward for the node that calls this function correctly.

It is a question when and whom should get paid the reward as not every call to markProofAsMissing leads to slashing (from which the funds for reward could be deducted) and in the same time if only those calls that leads to slashing will yield the reward, then there is no incentive to really call this function for the other cases...

dryajov commented 1 month ago

Currently in the markProofAsMissing there is no reward for the node that calls this function correctly.

It is a question when and whom should get paid the reward as not every call to markProofAsMissing leads to slashing (from which the funds for reward could be deducted) and in the same time if only those calls that leads to slashing will yield the reward, then there is no incentive to really call this function for the other cases...

The payout from the failed proof should be attributed to whoever calls markProofAsMissing, not from the collateral.

AuHau commented 1 month ago

The payout from the failed proof should be attributed to whoever calls markProofAsMissing, not from the collateral.

Can you please elaborate? I am not sure I understand your point.