bug/proto-gen: go ICE post deleting generated files
Proto gen halts at go mod tidy after i clean all generated files . It would be great if the go mod tidy is done post generation event
Reproducer
- Create a new module
- Delete the protogen generated files
- Now try generating the protogen files
Hi! You aren't supposed to delete the generated file. What is your use case?
@julienrbrt lost my deleted files and now it doesnt generate
I have tried the following:
ignite s chain gm
cd gm
rm -r x/gm/types/*.pb.go
ignite chain serve
I did the same with
ignite s chain gm
cd gm
rm -r x/gm/types/*.pb.go
ignite generate proto-go
And they are both working. Could you describe steps for me to reproduce?
yes: try
find . -type f -name "*.pb.*" -exec rm -f {} +
@laciferin2024, the v29 version fixes this issue:
ignite s chain mars && cd mars
find . -type f -name "*.pb.*" -exec rm -f {} +
git status
ignite chain serve
You can open the issue again if the problem persists. Thanks for the report!
Sure thank you @Pantani