windingtree / win-stays

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

refactor: protobuf dependencies and videre-sdk version bump #107

Closed mfw78 closed 2 years ago

mfw78 commented 2 years ago

This PR:

  1. No compiled protobuf is exported. It's the job of a consuming package (such as lpms-server, stays, lpms-cli etc to compile the protobuf messages within that specific repository. The reason for the change is that there is a need to import protobuf message types in dependencies, and there is no neat way to do this, preserving typing that's generated with protobuf-ts.
  2. No compiled typechain is exported. As with (1), it's the job of any consuming package to generate the typechain by reference to the smart contract's packaged ABI.

All package.json scripts to do the above have been written, and tested.