Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Refactor Relayer Game #250

Merged
merged 19 commits into from
Aug 28, 2020
Merged

Refactor Relayer Game #250

merged 19 commits into from
Aug 28, 2020

Conversation

aurexav
Copy link
Member

@aurexav aurexav commented Aug 21, 2020

Process:

  1. Relay receive a Proposal
  2. Pre-verify the relay Header which propose by the Proposal
    1. Game Pre-Verify
      • is reach max active game
      • is too old which can be settled by MMR-Verify
      • is already existed
    2. Relay Pre-Verify
      • is self-valid

  • Separate into darwinia-relaye-primitives
  • Remove RawHeaderThing
  • Pre-Verify
  • Refactor submit_proposal
  • Refactor settle
  • Update ethereum-relay
  • Pre-Verify New Game's MMR #252
  • Rename eth to ethereum
  • Update types

@aurexav aurexav force-pushed the xavier-relayer-game branch from 58c61cd to 5dc9316 Compare August 25, 2020 19:29
@aurexav aurexav linked an issue Aug 26, 2020 that may be closed by this pull request
@aurexav aurexav force-pushed the xavier-relayer-game branch from 021746d to 3095d74 Compare August 26, 2020 19:34
@aurexav aurexav force-pushed the xavier-relayer-game branch from 3095d74 to 82ac3e1 Compare August 27, 2020 03:06
@aurexav aurexav linked an issue Aug 27, 2020 that may be closed by this pull request
@aurexav aurexav requested a review from clearloop as a code owner August 27, 2020 10:53
@aurexav aurexav marked this pull request as draft August 27, 2020 20:25
@aurexav
Copy link
Member Author

aurexav commented Aug 27, 2020

Hold on, there might be some types changes.

Please help with testing @WoeOm @clearloop .

@aurexav aurexav force-pushed the xavier-relayer-game branch from e781793 to fb180d5 Compare August 28, 2020 03:59
@aurexav aurexav marked this pull request as ready for review August 28, 2020 09:27
@hackfisher hackfisher merged commit 7fd1c67 into master Aug 28, 2020
@aurexav aurexav deleted the xavier-relayer-game branch August 28, 2020 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pre-Verify New Game's MMR Refactor suggestions regarding relay modules
2 participants