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

Payload Embedding & Propagation on Native P2P #93

Open
fuxingloh opened this issue Sep 14, 2022 · 0 comments
Open

Payload Embedding & Propagation on Native P2P #93

fuxingloh opened this issue Sep 14, 2022 · 0 comments
Assignees
Labels
area/ain issues/pr that requires changes on the DeFiCh/ain codebase. area/meta kind/feature New feature request priority/important-soon Will be important soon triage/accepted Triage has been accepted

Comments

@fuxingloh
Copy link
Contributor

fuxingloh commented Sep 14, 2022

What would you like to be added:

Native Block Structure must support DMC Payload. DMCHandler() implemented on DeFiCh/ain called upon by "miner" during minting and connecting. DMCHandler() interacts via JSON-RPC #80 using the methods defined in #89.

graph LR

nb --metaConsensusRpc_mintBlock--> ma
nb --metaConsensusRpc_connectBlock--> ma

subgraph DeFiCh/metachain
ma[RPC Server] --> mb[MetaChain EVM]
end

subgraph DeFiCh/ain Consensus
nc[P2P]
nm[Miner]
na["DMCHandler()"]
nb["NativeChain 'RPC Client'"]

nm --Mine Native Block --> na
nc --Connect Native Block --> na
na --Mint EVM Block--> nb
na --Connect EVM Block--> nb
end
Loading

DeFiCh/ain test plan includes using the python testing framework on area/ain for the new block structure to accommodate native side testing for DMC.

The should include:

  • Payload Embedding
  • Payload Propagation on Native P2P via embedded transaction
  • DMCHandler() for Connecting Block to EVM
  • DMCHandler() for Mining Block from EVM
@fuxingloh fuxingloh added triage/accepted Triage has been accepted kind/feature New feature request priority/important-soon Will be important soon area/meta area/ain issues/pr that requires changes on the DeFiCh/ain codebase. labels Sep 14, 2022
@fuxingloh fuxingloh added this to the MetaChain Iterative TestNet milestone Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ain issues/pr that requires changes on the DeFiCh/ain codebase. area/meta kind/feature New feature request priority/important-soon Will be important soon triage/accepted Triage has been accepted
Projects
None yet
Development

No branches or pull requests

3 participants