windingtree / win-stays

🏆 win.so
GNU General Public License v3.0
3 stars 3 forks source link

Default environment settings #121

Closed mfw78 closed 2 years ago

mfw78 commented 2 years ago

Problem Environment configuration varies between all the components, which makes for very difficult co-ordination for configuration changes etc.

Solution Standardize the environment variables / configuration used in all components (lpms-server, lpms-cli, stays) such that:

  1. Set wakuConfig and ensure default: true is NOT set. This will cause waku to default to status fleet nodes, and disregard any specific peers specified.
  2. Use LineRegistry contract to lookup the line, to then get the line contract (ie. stays contract), as well as the serviceProvideRegistry and standardize the EIP-712 domains.
  3. Videre config for the line, and version.