0xProject / 0x-launch-kit-frontend

Apache License 2.0
114 stars 208 forks source link

Add basic middleware for relayer and web3 #333

Closed fvictorio closed 5 years ago

fvictorio commented 5 years ago

Depends on #328.

This PR adds two new middlewares: one for requests that involve the relayer and another for web3 related stuff. The idea is to start moving logic from thunks to these middlewares, since they are more testable and (hopefully) make things more maintainable.

A lot of things to improve here, of course, but the point is to have something set up and start using it.

fvictorio commented 5 years ago

Ugh, I don't know why I ended up with two commits with the same message, sorry about that. I tried to rebase & squash, but I get the same merge conflicts I got before and I don't want to take that risk.

mariano-aguero commented 5 years ago

@fvictorio can you solve the conflicts please? Thank you

fvictorio commented 5 years ago

Closed in favor of #338.