-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Description
Some proto files in the comsos sdk version have incorrect formating, in the form of an extra semicolon ;
Examples
| ; |
cosmos-sdk/proto/cosmos/gov/v1/gov.proto
Line 88 in 908df9d
| ; |
cosmos-sdk/proto/cosmos/gov/v1/gov.proto
Line 92 in 908df9d
| ; |
These prevent the telescope codegen from using these proto files to generate the typescipt bindings
Sample error from my local machine
cosmos/gov/v1/genesis.proto has a proto syntax error
Error: illegal token ';' (line 28)
at illegal (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:96:16)
at parseType_block (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:364:31)
at ifBlock (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:307:17)
at parseType (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:325:9)
at parseCommon (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:278:17)
at parse (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/protobufjs/src/parse.js:870:21)
at parseProto (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/proto-parser/main/store.js:45:35)
at <path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/proto-parser/main/store.js:98:56
at Array.map (<anonymous>)
at ProtoStore.processProtos (<path to types package generated using telescope>/node_modules/.pnpm/@[email protected]/node_modules/@cosmology/proto-parser/main/store.js:96:25)
npm error Lifecycle script `codegen` failed with error:
npm error code 1
npm error path <path to types package generated using telescope>
npm error workspace @zetachain/[email protected]
npm error location <path to types package generated using telescope>
npm error command failed
npm error command sh -c ts-node scripts/codegen.ts
Metadata
Metadata
Assignees
Labels
No labels