Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Should punish and slash some from collateral if 1st and 2nd assigned relayers does not deliver in time in assigned time slot. #168

Closed
hackfisher opened this issue Jul 21, 2022 · 1 comment · Fixed by #169
Assignees

Comments

@hackfisher
Copy link
Contributor

cc @fewensa

@hackfisher hackfisher changed the title Should punish and slash some from collateral if 1st and 2nd assigned relaxers does not deliver in time in assigned time slot. Should punish and slash some from collateral if 1st and 2nd assigned relayers does not deliver in time in assigned time slot. Jul 22, 2022
@hackfisher
Copy link
Contributor Author

hackfisher commented Jul 22, 2022

relayer1 | relayer2 | relayer3       (assigned)
  1          2        10

Settement rules update:

other_relayer relayed at slot (>3), slash(20% ~ 100%, 20% minimum) relayer1, relayer2, relayer3, no rewards

relayer3 relayed at slot(>=3), slash(20%) relayer1 and relayer2, no rewards

relayer2 relayed at slot(>=2), slash(20%) relayer1 and no rewards



20% slash from each collateral is the punishment for time slot expiry.


MessageOrder {
    assigned_relayers: AcountId[3],
    assigned_slots: BlockRange[3],   // [s1, s2), [s2, s3), [s3, s4), [s4, MAX)
    collaterals,
    price,
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done/No Companion
Development

Successfully merging a pull request may close this issue.

3 participants