Unfortunately the usage of the gogoproto options for some "niceties" when interacting with the protocol buffers from Golang was causing issues when generating the code in other languages. This PR removes the usage of the custom gogoproto options, but keeps compiling the go generated code using gogoproto.
In theory this should be compatible with previous versions of TxPB however I think because this "breaks" the way you interact with TxPB from go code, it warrants a major version bump. As such this commit also inits a go.mod at v2.
Additionally this overhauls how we generate the js gRPC client stubs such that they no longer use grpc-web and instead use grpc-node.
Unfortunately the usage of the
gogoproto
options for some "niceties" when interacting with the protocol buffers from Golang was causing issues when generating the code in other languages. This PR removes the usage of the custom gogoproto options, but keeps compiling the go generated code using gogoproto.In theory this should be compatible with previous versions of
TxPB
however I think because this "breaks" the way you interact withTxPB
from go code, it warrants a major version bump. As such this commit also inits ago.mod
at v2.Additionally this overhauls how we generate the
js
gRPC client stubs such that they no longer usegrpc-web
and instead usegrpc-node
.Closes https://github.com/RTradeLtd/TxPB/issues/22
TODO: