Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript errors when building src code #84

Open
Tracked by #85
ryanchristo opened this issue Jul 12, 2023 · 1 comment
Open
Tracked by #85

Typescript errors when building src code #84

ryanchristo opened this issue Jul 12, 2023 · 1 comment
Labels

Comments

@ryanchristo
Copy link
Member

ryanchristo commented Jul 12, 2023

Since the migration to telescope, running yarn build:ts has not succeeded. This makes it impossible for an application to import files from the src directory and for those files to be properly built and included in the types directory.

Found 1835 errors in 124 files.

Errors  Files
     4  src/codegen/cosmos/app/v1alpha1/config.ts:192
     3  src/codegen/cosmos/app/v1alpha1/query.ts:132
     7  src/codegen/cosmos/auth/v1beta1/auth.ts:111
     3  src/codegen/cosmos/auth/v1beta1/genesis.ts:70
     1  src/codegen/cosmos/auth/v1beta1/query.lcd.ts:26
     1  src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts:65
    19  src/codegen/cosmos/auth/v1beta1/query.ts:560
    12  src/codegen/cosmos/authz/v1beta1/authz.ts:249
    18  src/codegen/cosmos/authz/v1beta1/query.ts:224
     6  src/codegen/cosmos/authz/v1beta1/tx.ts:223
     3  src/codegen/cosmos/bank/v1beta1/genesis.ts:136
     2  src/codegen/cosmos/bank/v1beta1/query.lcd.ts:60
     2  src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts:69
    48  src/codegen/cosmos/bank/v1beta1/query.ts:685
    10  src/codegen/cosmos/base/abci/v1beta1/abci.ts:486
    36  src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts:769
     3  src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts:378
     3  src/codegen/cosmos/base/store/v1beta1/commit_info.ts:234
    21  src/codegen/cosmos/base/store/v1beta1/listening.ts:300
     1  src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts:42
     1  src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts:61
    47  src/codegen/cosmos/base/tendermint/v1beta1/query.ts:682
    22  src/codegen/cosmos/base/tendermint/v1beta1/types.ts:182
     3  src/codegen/cosmos/capability/v1beta1/genesis.ts:103
     4  src/codegen/cosmos/crisis/v1beta1/genesis.ts:34
    11  src/codegen/cosmos/crypto/keyring/v1/record.ts:132
    21  src/codegen/cosmos/distribution/v1beta1/genesis.ts:534
    15  src/codegen/cosmos/distribution/v1beta1/query.ts:650
     4  src/codegen/cosmos/evidence/v1beta1/evidence.ts:45
     1  src/codegen/cosmos/evidence/v1beta1/query.lcd.ts:22
     1  src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts:25
    10  src/codegen/cosmos/evidence/v1beta1/query.ts:194
    23  src/codegen/cosmos/feegrant/v1beta1/feegrant.ts:197
    15  src/codegen/cosmos/feegrant/v1beta1/query.ts:301
     4  src/codegen/cosmos/feegrant/v1beta1/tx.ts:138
     9  src/codegen/cosmos/gov/v1/genesis.ts:133
    27  src/codegen/cosmos/gov/v1/gov.ts:628
    39  src/codegen/cosmos/gov/v1/query.ts:533
     4  src/codegen/cosmos/gov/v1/tx.ts:474
     9  src/codegen/cosmos/gov/v1beta1/genesis.ts:133
    31  src/codegen/cosmos/gov/v1beta1/gov.ts:774
    39  src/codegen/cosmos/gov/v1beta1/query.ts:533
     4  src/codegen/cosmos/gov/v1beta1/tx.ts:236
    63  src/codegen/cosmos/group/v1/query.ts:769
    12  src/codegen/cosmos/group/v1/tx.ts:1519
    48  src/codegen/cosmos/group/v1/types.ts:807
     6  src/codegen/cosmos/mint/v1beta1/genesis.ts:69
     3  src/codegen/cosmos/mint/v1beta1/query.ts:231
     8  src/codegen/cosmos/nft/v1beta1/nft.ts:106
     1  src/codegen/cosmos/nft/v1beta1/query.lcd.ts:65
     1  src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts:68
    18  src/codegen/cosmos/nft/v1beta1/query.ts:835
     3  src/codegen/cosmos/orm/v1/orm.ts:275
     3  src/codegen/cosmos/params/v1beta1/query.ts:274
     6  src/codegen/cosmos/slashing/v1beta1/genesis.ts:183
     1  src/codegen/cosmos/slashing/v1beta1/query.lcd.ts:28
     1  src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts:33
    12  src/codegen/cosmos/slashing/v1beta1/query.ts:256
     8  src/codegen/cosmos/slashing/v1beta1/slashing.ts:116
     4  src/codegen/cosmos/staking/v1beta1/authz.ts:143
     3  src/codegen/cosmos/staking/v1beta1/genesis.ts:178
    63  src/codegen/cosmos/staking/v1beta1/query.ts:893
    49  src/codegen/cosmos/staking/v1beta1/staking.ts:877
    41  src/codegen/cosmos/staking/v1beta1/tx.ts:360
    11  src/codegen/cosmos/tx/signing/v1beta1/signing.ts:350
    36  src/codegen/cosmos/tx/v1beta1/service.ts:586
    32  src/codegen/cosmos/tx/v1beta1/tx.ts:819
     3  src/codegen/cosmos/upgrade/v1beta1/query.ts:426
     3  src/codegen/cosmos/upgrade/v1beta1/tx.ts:168
    11  src/codegen/cosmos/upgrade/v1beta1/upgrade.ts:228
    15  src/codegen/cosmos/vesting/v1beta1/vesting.ts:265
     1  src/codegen/google/protobuf/any.ts:385
    36  src/codegen/google/protobuf/descriptor.ts:2412
     2  src/codegen/google/protobuf/timestamp.ts:339
     3  src/codegen/ibc/applications/transfer/v1/genesis.ts:77
     1  src/codegen/ibc/applications/transfer/v1/query.lcd.ts:25
     1  src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts:34
    12  src/codegen/ibc/applications/transfer/v1/query.ts:388
     7  src/codegen/ibc/applications/transfer/v1/tx.ts:99
    18  src/codegen/ibc/core/client/v1/client.ts:314
     3  src/codegen/ibc/core/client/v1/genesis.ts:186
     1  src/codegen/ibc/core/client/v1/query.lcd.ts:29
     1  src/codegen/ibc/core/client/v1/query.rpc.Query.ts:52
    43  src/codegen/ibc/core/client/v1/query.ts:688
    24  src/codegen/ibc/core/client/v1/tx.ts:265
    71  src/codegen/regen/data/v1/query.ts:774
     8  src/codegen/regen/data/v1/state.ts:255
    15  src/codegen/regen/data/v1/tx.ts:101
     8  src/codegen/regen/data/v1/types.ts:410
     1  src/codegen/regen/ecocredit/basket/v1/query.lcd.ts:25
     1  src/codegen/regen/ecocredit/basket/v1/query.rpc.Query.ts:39
    25  src/codegen/regen/ecocredit/basket/v1/query.ts:578
    11  src/codegen/regen/ecocredit/basket/v1/state.ts:348
    10  src/codegen/regen/ecocredit/basket/v1/tx.ts:678
     8  src/codegen/regen/ecocredit/basket/v1/types.ts:205
     2  src/codegen/regen/ecocredit/marketplace/v1/query.lcd.ts:25
     2  src/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.ts:43
    31  src/codegen/regen/ecocredit/marketplace/v1/query.ts:478
     4  src/codegen/regen/ecocredit/marketplace/v1/state.ts:282
    20  src/codegen/regen/ecocredit/marketplace/v1/tx.ts:650
     3  src/codegen/regen/ecocredit/marketplace/v1/types.ts:107
    16  src/codegen/regen/ecocredit/orderbook/v1alpha1/memory.ts:300
     9  src/codegen/regen/ecocredit/v1/events.ts:923
     5  src/codegen/regen/ecocredit/v1/query.lcd.ts:41
     5  src/codegen/regen/ecocredit/v1/query.rpc.Query.ts:142
   124  src/codegen/regen/ecocredit/v1/query.ts:1764
    16  src/codegen/regen/ecocredit/v1/state.ts:1376
    44  src/codegen/regen/ecocredit/v1/tx.ts:1902
     3  src/codegen/regen/ecocredit/v1/types.ts:946
     3  src/codegen/regen/ecocredit/v1alpha1/genesis.ts:201
     1  src/codegen/regen/ecocredit/v1alpha1/query.lcd.ts:23
     1  src/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.ts:44
    21  src/codegen/regen/ecocredit/v1alpha1/query.ts:469
     8  src/codegen/regen/ecocredit/v1alpha1/tx.ts:871
    11  src/codegen/regen/ecocredit/v1alpha1/types.ts:381
     4  src/codegen/regen/intertx/v1/tx.ts:257
    58  src/codegen/tendermint/abci/types.ts:2000
     3  src/codegen/tendermint/crypto/proof.ts:287
     6  src/codegen/tendermint/p2p/types.ts:375
    12  src/codegen/tendermint/types/block.ts:83
    17  src/codegen/tendermint/types/evidence.ts:195
    16  src/codegen/tendermint/types/params.ts:279
    58  src/codegen/tendermint/types/types.ts:639
     9  src/codegen/tendermint/types/validator.ts:119
@ryanchristo ryanchristo added bug Something isn't working dev blocked and removed blocked labels Jul 12, 2023
@ryanchristo
Copy link
Member Author

Related to cosmology-tech/telescope#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant