-
Notifications
You must be signed in to change notification settings - Fork 11
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
Is there a way to run middleware in an isolated environment for e2e tests? #1336
Comments
I need this one to test middleware support in js sdk. |
would be nioce to have for aeternity/aeproject#310 @sborrazas does this work for rollbacks as well? (ref #1758) |
Up to 10 generations, more than that it won't handle it |
@sborrazas could we hook into devmode to replicate the way that rollbacks work in the node to also work in the mdw? |
Using devmode the way it's done in e2e tests you can replicate it |
But it can't roll back more than 10 gernerations, could we make that fully compatible to devmode how its implemented in the node? |
That would require major changes, but we can instead allow resetting the mdw database and sync from scratch, since most devmode usage is usually just a few gens |
would work for me as a good first version, it might be weird to use (in any case) as mdw sync is async and devmode usage is synchronous, could we do this in a blocking way? |
Middleware doesn't support custom network ids #1331
I can't specify custom protocols for known network ids in the node aeternity/aeternity#4136
Therefore I don't see a way to set up a locally running node+middleware that uses the latest protocol and is able to mine blocks. This is needed to run tests, the public testnet is much less stable and other users' transactions may be confusing.
The text was updated successfully, but these errors were encountered: