fedimint / fedimint

Federated E-Cash Mint
https://fedimint.org/
MIT License
571 stars 223 forks source link

Mock out gateway <-> federation network layer #545

Closed justinmoon closed 1 year ago

justinmoon commented 2 years ago

We should be able to test the interaction use just a rust channel or something which is independent any networking details. This might make tests run a little faster, too!

Notes:

elsirion commented 2 years ago

Feels related to the module interconnect too, might be worth taking a look at that when building the API mock. https://github.com/fedimint/fedimint/blob/3c60fb65e58e11f2f7bf94c2920f9acace0e9d8c/fedimint-api/src/module/interconnect.rs#L5-L16

okjodom commented 1 year ago

Currently looking at this as part of #742