snowbridge
snowbridge copied to clipboard
Allow Ethereum apps to call dispatchables on any parachain
This change allows the inbound channel in the snowbridge parachain to forward dispatchable calls to third-party parachains.
Changes:
- The dispatch pallet is now responsible for either executing the message locally or forwarding it to a third-party parachain
- The
submit()
dispatchable on the inbound channel now has a much more complicated weight calculation, since messages can now have 2 different execution paths. - At the protocol layer, messages from ethereum now include an optional parachain id and minimum dispatch weight.
Todo:
- [ ] Upgrade from XcmV0 to XcmV1 / 0.9.12
- [ ] Final consolidation/cleanups on the above changes.
- [ ] Need to refactor / fix some things with our benchmarking setup, in order to easily benchmark the
submit()
dispatchable - [ ] Add benchmarks for
submit()
- [ ] Add tests
Resolves: SNO-138