Comments (6)
Hi,
There is no default off-chain module or relay required in the Ion framework.
Ion aims to facilitate trustless interoperability, where blocks passed from another chain can be validated to see if they were really included in the other chains ledger/blockchain.
Let me give more context.
Given two Ethereum chains A and B. In order to pass state from A to B, blocks from chain A would be encoded and used as an input arguments of a function in a validation contract on chain B.
The validation contract on chain B would be specific to the consensus mechanism used on chain A, i.e. if chain A uses Clique PoA then it must be able to validate these blocks. If a block is validated then it is persisted in a block storage contract where users can query the state transitions that occurred in this block.
This is at a high-level how the Ion framework is designed.
However, there is no relay that performs the passing of blocks/state automatically. Rather it is expected that users would decide how they wish to submit blocks between chains dependent on their use case.
For testing and development purposes the Ion-CLI has a number of features to assist in encoding blocks and interacting with smart contracts. It is not designed to be a relay that submits blocks automatically, but feel free to add this feature.
For more details on Ion and our vision please check out this post, here, and the Ion wiki here.
I hope that answers your question :) else ask more!
from ion.
Thanks for answering in details. It clears my confusions. I was wondering if all blocks need to submit in chain B to validator tx xyz exist in Chain A? Chain A has 1000 blocks and only two block contains some tx which is suppose to validated in chain B.
from ion.
Also, If bad actors submitting their own fake blocks in chain B which actually does not exist in chain A but structure of the block is valid. Trie , root, RLP looks okay but it doesnt blong to chain A. or we assume only whitelisted validators are submitting blocks?
from ion.
If bad actors submitting their own fake blocks in chain B which actually does not exist in chain A but structure of the block is valid
Ion is separated into validation and storage layers. Submitted blocks are only accepted if it passes correctness verification in the validation layer. This layer is responsible for checking the consensus result of the originating chain to ensure that the block being submitted has been committed to the chain before storing it.
I was wondering if all blocks need to submit in chain B to validator tx xyz exist in Chain A?
This all depends on the validation layer.
In Clique PoA consensus, validator votes are tallied and changes to the validator set are made after a threshold. This therefore requires the validation layer to replicate this to ensure that votes are collected properly to reflect validator set changes. When new blocks are submitted, the signature on the block is checked against the known set of validators before storage.
Other validation mechanisms (that replicate source chain consensus/finality) may or may not require sequential block submission.
from ion.
However, there is no relay that performs the passing of blocks/state automatically. Rather it is expected that users would decide how they wish to submit blocks between chains dependent on their use case.
Hi @Shirikatsu, do you envisage any issues with using a Chainlink oracle job to achieve trustless automation of passing of the validation blocks? Thanks.
from ion.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from ion.
Related Issues (20)
- ganache-cli not found
- Block-scoped declarations error HOT 1
- Specify minimum dependency versions
- Missing provider error
- Install problem on MacOS HOT 1
- Update all contracts for Solidity v0.5.x compatibility HOT 1
- Clique-Ethereum Stack edge-case where multiple instances of storage contract can only hold unique chain data HOT 1
- addContractInstance fails to compile unless the file name is the same name as the contract HOT 1
- Unable to use `getBlockByHash_Clique` when using a ganache test RPC HOT 1
- Ion CLI configuration to allow account/contract setup to be automated upon launch HOT 1
- Ion CLI requires a command to generate IBFT-specific block encoding HOT 1
- Publish contracts artifact HOT 3
- Building the image "ion/dev" ends with errors HOT 4
- can't build ion-cli on macOS 10.14 HOT 2
- Is It possible to deploy Ion on PoW Ethereum chain? I find the Ion is for Rinkeby(PoA) currently. HOT 1
- Tests shouldn't rely on public networks and Infura HOT 1
- No contract code after deployment HOT 13
- State Relaying Mechanism HOT 8
- No Contract Code after deployment HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion.