You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a substream project any non-messari protos being used get built in the target/pb/ folder as substreams.entity.v1.rs for example.
Then in the codegen it will build the src/pb.rs file to map the necessary proto definitions to a usable location in our /src folder, but the folder assumes that all target/pb/ files are messari. appended.
Should we be making this assumption?
In the example I am giving, it generates a broken src/pb.rs file that looks like this:
Another note: abis are cleaned up during codegen, but proto files are not. Should we also clean the proto autogenerated files each time someone builds a substream?
The text was updated successfully, but these errors were encountered:
Yeh I agree with the cleanup - we should add this in. On the subject of the namespacing - I think I remember making the fix in the network PR so perhaps we can make do or make some small changes in the meantime before that PR gets merged?
When building a substream project any non-messari protos being used get built in the
target/pb/
folder assubstreams.entity.v1.rs
for example.Then in the codegen it will build the
src/pb.rs
file to map the necessary proto definitions to a usable location in our/src
folder, but the folder assumes that alltarget/pb/
files aremessari.
appended.Should we be making this assumption?
In the example I am giving, it generates a broken
src/pb.rs
file that looks like this:Another note: abis are cleaned up during codegen, but proto files are not. Should we also clean the proto autogenerated files each time someone builds a substream?
The text was updated successfully, but these errors were encountered: