-
Notifications
You must be signed in to change notification settings - Fork 45
Feat(e2e): support multiple aggregators in the e2e tests #2378
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
Conversation
99077bb
to
9ad40fc
Compare
cf5d195
to
7c6a300
Compare
de78895
to
42b4d01
Compare
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.
LGTM
Just some remarks
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
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.
LGTM
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
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.
LGTM with a few caveats.
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
mithril-test-lab/mithril-end-to-end/src/mithril/infrastructure.rs
Outdated
Show resolved
Hide resolved
b464797
to
9e47514
Compare
9e47514
to
be638e5
Compare
22a5e26
to
c070d80
Compare
5faa87f
to
139e0f3
Compare
2b9e1de
to
56e9331
Compare
- Removed last epoch which was not necessary - Removed unnecessary cycles - Reduced the number of signers per epoch - Use of 'checked_sub' in the 'EpochFixturesMapBuilder'.
…to HTTP response in signer
e34fb97
to
ee7f8da
Compare
…the epoch service Instead of having to repeat the call on 'inform_new_epoch' in the state machine for the slave.
When submitting signature to an aggregator with the REST API.
This makes the topology of the P2P network easier to work with.
This will help reduce a lot of flakiness with fast pace devnets as less block producers are running in the network.
ee7f8da
to
3b9d45c
Compare
* mithril-aggregator from `0.7.25` to `0.7.26` * mithril-common from `0.5.16` to `0.5.17` * mithril-relay from `0.1.38` to `0.1.39` * mithril-end-to-end from `0.4.74` to `0.4.75`
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.
LGTM 👍
Content
This PR includes the adaptation of the e2e tests to support multiple aggregators:
Passthrough
(messages are sent to the configured aggregator endpoint) andP2P
(messages are sent to the P2P network) modes for both the signer registration and signature registration. The configuration options have been updated in that sensenumber_of_aggregators
andnumber_of_signers
are specifieduse_p2pmode
has been replaced by more appropriateuse_relays
relay_signer_registration_mode
andrelay-signature_registration_mode
have been added (used with theuse_relays
option)use_p2p_passive_relays
has been set tofalse
by defaultRunOnly
mode of the e2e test has been adapted to support concurrently multiple aggregatorsSpec
mode of the e2e test has been adapted to support concurrently multiple aggregatorsPre-submit checklist
Issue(s)
Closes #2361