-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Substrate TransactionTag usage and usecae #15
Comments
For example, Assuming that there are at least three relayers relaying at the same time/period, they can coordinate and avoid conflict by choosing a random eth_header to relay. But the problem here is that the relay extrinsic will fail if it's previous eth_header is not relayed, does substrate support a kind of pending extrinsic for it to stay in the extrinsic pool for a period to waiting its foregoing eth_headers to confirmed. Assuming substrate support such feature, then for each eth_header in future(we can assuming that there at most M headers need confirming if the relayer is able to catch up), there might be multiple relayers' extrinsics waiting and competing the position in the extrinsic pool. |
dispatch(applying the extrinsic) and validate could be different. Example from CheckNonce
|
Waiting darwinia's eth-relay module to do a runtime upgrade to supporting this. |
Caution: Why no two transactions with same tag should be placed on chain? If we use eth block height as tag, relay requires multiple headers with same height on chain! Or we can use eth header previous hash as requires and head hash as provides? That's better. |
Replaced by darwinia-network/bridger#239 |
Need a solution to resolve the coordination of extrinsics relayed from different relayers.
The text was updated successfully, but these errors were encountered: