-
Notifications
You must be signed in to change notification settings - Fork 53
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
[WIP] Add inbound queue #750
base: tomasz-generic-aggregate-message-origin
Are you sure you want to change the base?
[WIP] Add inbound queue #750
Conversation
WASM runtime size check:Compared to target branchdancebox runtime: 1412 KB (no changes) ✅ flashbox runtime: 832 KB (no changes) ✅ dancelight runtime: 2088 KB (no changes) ✅ container chain template simple runtime: 1088 KB (no changes) ✅ container chain template frontier runtime: 1388 KB (no changes) ✅ |
529100a
to
77d47fb
Compare
solo-chains/runtime/dancelight/src/bridge_to_ethereum_config.rs
Outdated
Show resolved
Hide resolved
/// indeed send a message intended for this processor. | ||
pub const MAGIC_BYTES: [u8; 4] = [112, 21, 0, 56]; | ||
|
||
#[derive(Encode, Decode)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same, can we move to primitives?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/mock.rs
Outdated
Show resolved
Hide resolved
Coverage Report@@ Coverage Diff @@
## tomasz-generic-aggregate-message-origin add-inbound-queue +/- ##
======================================================================================
- Coverage 65.34% 64.89% -0.45%
+ Files 310 318 +8
+ Lines 54174 54607 +433
======================================================================================
+ Hits 35395 35434 +39
+ Misses 18779 19173 +394
|
aff8090
to
deba13c
Compare
deba13c
to
1166efe
Compare
Description
This PR adds inbound queue to starlight and include tests for the same.
It adds message processor called
SymbioticMessageProcessor
which upon receiving new validators, callsExternalValidators
pallet to set the validators.What is remaining?
Note
The base of the PR is at tomasz-generic-aggregate-message-origin since this PR is dependent upon code introduced there.