Skip to content

Fix gen mig diff tool #4716

@julienrbrt

Description

@julienrbrt

We may need to modify that tool as well:

...

🎉 map1 added. 


create proto/example/example/v1/genesis.proto
create proto/example/example/v1/query.proto
create proto/example/example/v1/single_1.proto
create proto/example/example/v1/tx.proto
create x/example/keeper/genesis.go
create x/example/keeper/genesis_test.go
create x/example/keeper/keeper.go
create x/example/keeper/msg_server_single_1.go
create x/example/keeper/msg_server_single_1_test.go
create x/example/keeper/query_single_1.go
create x/example/keeper/query_single_1_test.go
create x/example/module/autocli.go
create x/example/module/simulation.go
create x/example/simulation/single_1.go
create x/example/types/codec.go
create x/example/types/genesis.go
create x/example/types/genesis_test.go
create x/example/types/keys.go
create x/example/types/messages_single_1.go

🎉 single1 added. 


create proto/example/example/v1/type_1.proto

🎉 type1 added. 

✘ Error while running command go tool github.com/bufbuild/buf/cmd/buf export /tmp/wccv/migration/v29.0.0/message/proto --output=/tmp/includeFolder2677632443: /tmp/wccv/migration/v29.0.0/message/proto/example/example/v1/tx.proto:23:17:method example.example.v1.Msg.Message1: unknown request type MsgMessage1
/tmp/wccv/migration/v29.0.0/message/proto/example/example/v1/tx.proto:23:39:method example.example.v1.Msg.Message1: unknown response type MsgMessage1Response                                                                                                                                                   
: exit status 100                                                                                                                                                                                                                                                                                               
Error: failed to execute ignite scaffold command: message message1 f1:string f2:strings f3:bool f4:int f5:ints f6:uint f7:uints f8:coin f9:coins --module example --yes: error while running command /tmp/bin/v29.0.0/ignite scaffold message message1 f1:string f2:strings f3:bool f4:int f5:ints f6:uint f7:uints f8:coin f9:coins --module example --yes --path /tmp/wccv/migration/v29.0.0/message: exit status 1
Usage:
  gen-mig-diffs [flags]

Flags:
  -f, --from string              Version of Ignite or path to Ignite source code to generate the diff from
  -h, --help                     help for gen-mig-diffs
  -o, --output string            Output directory to save the migration document (default "docs/docs/06-migration")
      --repo-output string       Output path to clone the Ignite repository
  -s, --repo-source string       Path to Ignite source code repository. Set the source automatically set the cleanup to false
      --repo-url string          Git URL for the Ignite repository (default "[email protected]:ignite/cli.git")
      --scaffold-cache string    Path to cache directory
      --scaffold-output string   Output path to clone the Ignite repository
  -t, --to string                Version of Ignite or path to Ignite source code to generate the diff to

failed to execute ignite scaffold command: message message1 f1:string f2:strings f3:bool f4:int f5:ints f6:uint f7:uints f8:coin f9:coins --module example --yes: error while running command /tmp/bin/v29.0.0/ignite scaffold message message1 f1:string f2:strings f3:bool f4:int f5:ints f6:uint f7:uints f8:coin f9:coins --module example --yes --path /tmp/wccv/migration/v29.0.0/message: exit status 1
exit status 1

Originally posted by @julienrbrt in #4715 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

To Discuss

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions