From 99f09283821c2a0dc22fa77f153629e74d367e7e Mon Sep 17 00:00:00 2001 From: hoangdv2429 Date: Mon, 26 Jun 2023 14:39:43 +0700 Subject: [PATCH] fixtures --- .../output1/akash/audit/v1beta2/query.ts | 8 ++-- .../output1/akash/base/v1beta1/attribute.ts | 2 +- .../output1/akash/base/v1beta1/resource.ts | 6 +-- .../output1/akash/base/v1beta2/attribute.ts | 2 +- .../output1/akash/base/v1beta2/resource.ts | 6 +-- .../output1/akash/cert/v1beta2/cert.ts | 2 +- .../output1/akash/cert/v1beta2/genesis.ts | 2 +- .../output1/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../output1/akash/deployment/v1beta1/group.ts | 14 +++--- .../output1/akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../output1/akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../output1/akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../output1/akash/escrow/v1beta1/query.ts | 8 ++-- .../output1/akash/escrow/v1beta1/types.ts | 4 +- .../output1/akash/escrow/v1beta2/query.ts | 8 ++-- .../output1/akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../output1/akash/market/v1beta2/bid.ts | 10 ++-- .../output1/akash/market/v1beta2/genesis.ts | 2 +- .../output1/akash/market/v1beta2/lease.ts | 10 ++-- .../output1/akash/market/v1beta2/order.ts | 4 +- .../output1/akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../output1/akash/provider/v1beta2/query.ts | 6 +-- __fixtures__/output1/confio/proofs.ts | 16 +++---- .../output1/cosmos/app/v1alpha1/query.ts | 2 +- .../output1/cosmos/auth/v1beta1/auth.ts | 2 +- .../output1/cosmos/auth/v1beta1/genesis.ts | 2 +- .../output1/cosmos/auth/v1beta1/query.ts | 6 +-- .../output1/cosmos/authz/v1beta1/query.ts | 12 ++--- .../output1/cosmos/authz/v1beta1/tx.ts | 2 +- .../output1/cosmos/bank/v1beta1/genesis.ts | 2 +- .../output1/cosmos/bank/v1beta1/query.ts | 24 +++++----- .../output1/cosmos/base/abci/v1beta1/abci.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 24 +++++----- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../output1/cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../output1/cosmos/feegrant/v1beta1/query.ts | 10 ++-- __fixtures__/output1/cosmos/gov/v1/genesis.ts | 6 +-- __fixtures__/output1/cosmos/gov/v1/gov.ts | 2 +- __fixtures__/output1/cosmos/gov/v1/query.ts | 26 +++++------ .../output1/cosmos/gov/v1beta1/genesis.ts | 6 +-- .../output1/cosmos/gov/v1beta1/gov.ts | 2 +- .../output1/cosmos/gov/v1beta1/query.ts | 26 +++++------ __fixtures__/output1/cosmos/group/v1/query.ts | 42 ++++++++--------- __fixtures__/output1/cosmos/group/v1/types.ts | 8 ++-- .../output1/cosmos/mint/v1beta1/genesis.ts | 4 +- .../output1/cosmos/mint/v1beta1/query.ts | 2 +- .../output1/cosmos/nft/v1beta1/query.ts | 12 ++--- __fixtures__/output1/cosmos/orm/v1/orm.ts | 2 +- .../output1/cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../output1/cosmos/slashing/v1beta1/query.ts | 8 ++-- .../output1/cosmos/staking/v1beta1/genesis.ts | 2 +- .../output1/cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../output1/cosmos/staking/v1beta1/staking.ts | 14 +++--- .../output1/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../output1/cosmos/tx/v1beta1/service.ts | 24 +++++----- __fixtures__/output1/cosmos/tx/v1beta1/tx.ts | 16 +++---- .../output1/cosmos/upgrade/v1beta1/query.ts | 2 +- .../output1/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../output1/cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../output1/cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../output1/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../output1/cosmwasm/wasm/v1/proposal.ts | 2 +- .../output1/cosmwasm/wasm/v1/query.ts | 24 +++++----- __fixtures__/output1/cosmwasm/wasm/v1/tx.ts | 2 +- .../output1/cosmwasm/wasm/v1/types.ts | 8 ++-- .../output1/evmos/claims/v1/genesis.ts | 2 +- __fixtures__/output1/evmos/claims/v1/query.ts | 6 +-- __fixtures__/output1/evmos/epochs/v1/query.ts | 4 +- __fixtures__/output1/evmos/erc20/v1/erc20.ts | 2 +- .../output1/evmos/erc20/v1/genesis.ts | 2 +- __fixtures__/output1/evmos/erc20/v1/query.ts | 8 ++-- __fixtures__/output1/evmos/fees/v1/genesis.ts | 2 +- __fixtures__/output1/evmos/fees/v1/query.ts | 12 ++--- .../output1/evmos/incentives/v1/genesis.ts | 2 +- .../output1/evmos/incentives/v1/query.ts | 18 ++++---- .../output1/evmos/inflation/v1/genesis.ts | 6 +-- .../output1/evmos/inflation/v1/query.ts | 6 +-- .../output1/evmos/recovery/v1/genesis.ts | 2 +- .../output1/evmos/recovery/v1/query.ts | 2 +- .../output1/evmos/vesting/v1/vesting.ts | 2 +- __fixtures__/output1/google/api/auth.ts | 2 +- .../output1/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../output1/google/api/expr/v1alpha1/value.ts | 4 +- .../output1/google/api/expr/v1beta1/decl.ts | 6 +-- .../output1/google/api/expr/v1beta1/eval.ts | 2 +- .../output1/google/api/expr/v1beta1/expr.ts | 20 ++++---- .../output1/google/api/expr/v1beta1/value.ts | 4 +- __fixtures__/output1/google/api/metric.ts | 2 +- .../output1/google/api/monitored_resource.ts | 2 +- __fixtures__/output1/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../output1/google/logging/v2/log_entry.ts | 10 ++-- .../output1/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- __fixtures__/output1/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../output1/google/protobuf/descriptor.ts | 20 ++++---- .../output1/google/protobuf/struct.ts | 2 +- __fixtures__/output1/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../output1/ibc/core/channel/v1/channel.ts | 6 +-- .../output1/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../output1/ibc/core/channel/v1/tx.ts | 28 +++++------ .../output1/ibc/core/client/v1/client.ts | 4 +- .../output1/ibc/core/client/v1/genesis.ts | 2 +- .../output1/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../output1/ibc/core/connection/v1/genesis.ts | 2 +- .../output1/ibc/core/connection/v1/query.ts | 18 ++++---- .../output1/ibc/core/connection/v1/tx.ts | 18 ++++---- .../output1/ibc/core/port/v1/query.ts | 2 +- .../output1/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../solomachine/v2/solomachine.ts | 10 ++-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../output1/osmosis/claim/v1beta1/genesis.ts | 2 +- .../output1/osmosis/claim/v1beta1/query.ts | 4 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../output1/osmosis/gamm/v1beta1/genesis.ts | 2 +- .../output1/osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../output1/osmosis/incentives/gauge.ts | 2 +- .../output1/osmosis/incentives/genesis.ts | 2 +- .../output1/osmosis/incentives/query.ts | 22 ++++----- __fixtures__/output1/osmosis/incentives/tx.ts | 2 +- __fixtures__/output1/osmosis/lockup/query.ts | 4 +- .../output1/osmosis/mint/v1beta1/genesis.ts | 4 +- .../output1/osmosis/mint/v1beta1/mint.ts | 2 +- .../output1/osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../output1/osmosis/sumtree/v1beta1/tree.ts | 2 +- .../output1/osmosis/superfluid/genesis.ts | 2 +- .../output1/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../output1/osmosis/twap/v1beta1/genesis.ts | 2 +- .../output1/osmosis/twap/v1beta1/query.ts | 2 +- .../output1/osmosis/txfees/v1beta1/gov.ts | 2 +- __fixtures__/output1/tendermint/abci/types.ts | 28 +++++------ .../output1/tendermint/crypto/proof.ts | 2 +- __fixtures__/output1/tendermint/p2p/types.ts | 4 +- .../output1/tendermint/types/block.ts | 8 ++-- .../output1/tendermint/types/evidence.ts | 6 +-- .../output1/tendermint/types/params.ts | 8 ++-- .../output1/tendermint/types/types.ts | 28 +++++------ .../output1/tendermint/types/validator.ts | 2 +- .../output2/akash/audit/v1beta2/query.ts | 8 ++-- .../output2/akash/base/v1beta1/attribute.ts | 2 +- .../output2/akash/base/v1beta1/resource.ts | 6 +-- .../output2/akash/base/v1beta2/attribute.ts | 2 +- .../output2/akash/base/v1beta2/resource.ts | 6 +-- .../output2/akash/cert/v1beta2/cert.ts | 2 +- .../output2/akash/cert/v1beta2/genesis.ts | 2 +- .../output2/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../output2/akash/deployment/v1beta1/group.ts | 14 +++--- .../output2/akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../output2/akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../output2/akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../output2/akash/escrow/v1beta1/query.ts | 8 ++-- .../output2/akash/escrow/v1beta1/types.ts | 4 +- .../output2/akash/escrow/v1beta2/query.ts | 8 ++-- .../output2/akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../output2/akash/market/v1beta2/bid.ts | 10 ++-- .../output2/akash/market/v1beta2/genesis.ts | 2 +- .../output2/akash/market/v1beta2/lease.ts | 10 ++-- .../output2/akash/market/v1beta2/order.ts | 4 +- .../output2/akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../output2/akash/provider/v1beta2/query.ts | 6 +-- __fixtures__/output2/confio/proofs.ts | 16 +++---- .../output2/cosmos/app/v1alpha1/query.ts | 2 +- .../output2/cosmos/auth/v1beta1/auth.ts | 2 +- .../output2/cosmos/auth/v1beta1/genesis.ts | 2 +- .../output2/cosmos/auth/v1beta1/query.ts | 6 +-- .../output2/cosmos/authz/v1beta1/query.ts | 12 ++--- .../output2/cosmos/authz/v1beta1/tx.ts | 2 +- .../output2/cosmos/bank/v1beta1/genesis.ts | 2 +- .../output2/cosmos/bank/v1beta1/query.ts | 20 ++++---- .../output2/cosmos/base/abci/v1beta1/abci.ts | 4 +- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../output2/cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../output2/cosmos/feegrant/v1beta1/query.ts | 10 ++-- __fixtures__/output2/cosmos/gov/v1/genesis.ts | 6 +-- __fixtures__/output2/cosmos/gov/v1/gov.ts | 2 +- __fixtures__/output2/cosmos/gov/v1/query.ts | 26 +++++------ .../output2/cosmos/gov/v1beta1/genesis.ts | 6 +-- .../output2/cosmos/gov/v1beta1/gov.ts | 2 +- .../output2/cosmos/gov/v1beta1/query.ts | 26 +++++------ __fixtures__/output2/cosmos/group/v1/query.ts | 42 ++++++++--------- __fixtures__/output2/cosmos/group/v1/types.ts | 8 ++-- .../output2/cosmos/mint/v1beta1/genesis.ts | 4 +- .../output2/cosmos/mint/v1beta1/query.ts | 2 +- .../output2/cosmos/nft/v1beta1/query.ts | 12 ++--- __fixtures__/output2/cosmos/orm/v1/orm.ts | 2 +- .../output2/cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../output2/cosmos/slashing/v1beta1/query.ts | 8 ++-- .../output2/cosmos/staking/v1beta1/genesis.ts | 2 +- .../output2/cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../output2/cosmos/staking/v1beta1/staking.ts | 14 +++--- .../output2/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../output2/cosmos/tx/v1beta1/service.ts | 24 +++++----- __fixtures__/output2/cosmos/tx/v1beta1/tx.ts | 10 ++-- .../output2/cosmos/upgrade/v1beta1/query.ts | 2 +- .../output2/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../output2/cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../output2/cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../output2/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../output2/cosmwasm/wasm/v1/proposal.ts | 4 +- .../output2/cosmwasm/wasm/v1/query.ts | 26 +++++------ __fixtures__/output2/cosmwasm/wasm/v1/tx.ts | 2 +- .../output2/cosmwasm/wasm/v1/types.ts | 8 ++-- .../output2/evmos/claims/v1/genesis.ts | 2 +- __fixtures__/output2/evmos/claims/v1/query.ts | 6 +-- __fixtures__/output2/evmos/epochs/v1/query.ts | 4 +- __fixtures__/output2/evmos/erc20/v1/erc20.ts | 2 +- .../output2/evmos/erc20/v1/genesis.ts | 2 +- __fixtures__/output2/evmos/erc20/v1/query.ts | 8 ++-- __fixtures__/output2/evmos/fees/v1/genesis.ts | 2 +- __fixtures__/output2/evmos/fees/v1/query.ts | 12 ++--- .../output2/evmos/incentives/v1/genesis.ts | 2 +- .../output2/evmos/incentives/v1/query.ts | 18 ++++---- .../output2/evmos/inflation/v1/genesis.ts | 6 +-- .../output2/evmos/inflation/v1/query.ts | 6 +-- .../output2/evmos/recovery/v1/genesis.ts | 2 +- .../output2/evmos/recovery/v1/query.ts | 2 +- .../output2/evmos/vesting/v1/vesting.ts | 2 +- __fixtures__/output2/google/api/auth.ts | 2 +- .../output2/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../output2/google/api/expr/v1alpha1/value.ts | 4 +- .../output2/google/api/expr/v1beta1/decl.ts | 6 +-- .../output2/google/api/expr/v1beta1/eval.ts | 2 +- .../output2/google/api/expr/v1beta1/expr.ts | 20 ++++---- .../output2/google/api/expr/v1beta1/value.ts | 4 +- __fixtures__/output2/google/api/metric.ts | 2 +- .../output2/google/api/monitored_resource.ts | 2 +- __fixtures__/output2/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../output2/google/logging/v2/log_entry.ts | 10 ++-- .../output2/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- __fixtures__/output2/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../output2/google/protobuf/descriptor.ts | 20 ++++---- .../output2/google/protobuf/struct.ts | 2 +- __fixtures__/output2/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../controller/v1/query.ts | 2 +- .../interchain_accounts/host/v1/query.ts | 2 +- .../interchain_accounts/v1/account.ts | 2 +- .../interchain_accounts/v1/genesis.ts | 8 ++-- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../output2/ibc/core/channel/v1/channel.ts | 6 +-- .../output2/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../output2/ibc/core/channel/v1/tx.ts | 28 +++++------ .../output2/ibc/core/client/v1/client.ts | 4 +- .../output2/ibc/core/client/v1/genesis.ts | 2 +- .../output2/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../output2/ibc/core/connection/v1/genesis.ts | 2 +- .../output2/ibc/core/connection/v1/query.ts | 18 ++++---- .../output2/ibc/core/connection/v1/tx.ts | 18 ++++---- .../output2/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../output2/osmosis/claim/v1beta1/genesis.ts | 2 +- .../output2/osmosis/claim/v1beta1/query.ts | 4 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../output2/osmosis/gamm/v1beta1/genesis.ts | 2 +- .../output2/osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../output2/osmosis/incentives/gauge.ts | 2 +- .../output2/osmosis/incentives/genesis.ts | 2 +- .../output2/osmosis/incentives/query.ts | 22 ++++----- __fixtures__/output2/osmosis/incentives/tx.ts | 2 +- __fixtures__/output2/osmosis/lockup/query.ts | 4 +- .../output2/osmosis/mint/v1beta1/genesis.ts | 4 +- .../output2/osmosis/mint/v1beta1/mint.ts | 2 +- .../output2/osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../output2/osmosis/sumtree/v1beta1/tree.ts | 2 +- .../output2/osmosis/superfluid/genesis.ts | 2 +- .../output2/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../output2/osmosis/twap/v1beta1/genesis.ts | 2 +- .../output2/osmosis/twap/v1beta1/query.ts | 2 +- .../output2/osmosis/txfees/v1beta1/gov.ts | 2 +- __fixtures__/output2/tendermint/abci/types.ts | 28 +++++------ .../output2/tendermint/crypto/proof.ts | 2 +- __fixtures__/output2/tendermint/p2p/types.ts | 4 +- .../output2/tendermint/types/block.ts | 8 ++-- .../output2/tendermint/types/evidence.ts | 6 +-- .../output2/tendermint/types/params.ts | 8 ++-- .../output2/tendermint/types/types.ts | 28 +++++------ .../output2/tendermint/types/validator.ts | 2 +- .../outputosmojs/akash/audit/v1beta2/query.ts | 8 ++-- .../akash/base/v1beta1/attribute.ts | 2 +- .../akash/base/v1beta1/resource.ts | 6 +-- .../akash/base/v1beta2/attribute.ts | 2 +- .../akash/base/v1beta2/resource.ts | 6 +-- .../outputosmojs/akash/cert/v1beta2/cert.ts | 2 +- .../akash/cert/v1beta2/genesis.ts | 2 +- .../outputosmojs/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../akash/deployment/v1beta1/group.ts | 14 +++--- .../akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../akash/escrow/v1beta1/query.ts | 8 ++-- .../akash/escrow/v1beta1/types.ts | 4 +- .../akash/escrow/v1beta2/query.ts | 8 ++-- .../akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../outputosmojs/akash/market/v1beta2/bid.ts | 10 ++-- .../akash/market/v1beta2/genesis.ts | 2 +- .../akash/market/v1beta2/lease.ts | 10 ++-- .../akash/market/v1beta2/order.ts | 4 +- .../akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../akash/provider/v1beta2/query.ts | 6 +-- .../outputosmojs/capability/v1/genesis.ts | 2 +- .../v-next/outputosmojs/confio/proofs.ts | 16 +++---- .../outputosmojs/cosmos/app/v1alpha1/query.ts | 2 +- .../outputosmojs/cosmos/auth/v1beta1/auth.ts | 2 +- .../cosmos/auth/v1beta1/genesis.ts | 2 +- .../outputosmojs/cosmos/auth/v1beta1/query.ts | 6 +-- .../cosmos/authz/v1beta1/query.ts | 12 ++--- .../outputosmojs/cosmos/authz/v1beta1/tx.ts | 2 +- .../cosmos/bank/v1beta1/genesis.ts | 2 +- .../outputosmojs/cosmos/bank/v1beta1/query.ts | 24 +++++----- .../cosmos/base/abci/v1beta1/abci.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 24 +++++----- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../cosmos/feegrant/v1beta1/query.ts | 10 ++-- .../outputosmojs/cosmos/gov/v1/genesis.ts | 6 +-- .../v-next/outputosmojs/cosmos/gov/v1/gov.ts | 2 +- .../outputosmojs/cosmos/gov/v1/query.ts | 26 +++++------ .../cosmos/gov/v1beta1/genesis.ts | 6 +-- .../outputosmojs/cosmos/gov/v1beta1/gov.ts | 2 +- .../outputosmojs/cosmos/gov/v1beta1/query.ts | 26 +++++------ .../outputosmojs/cosmos/group/v1/query.ts | 42 ++++++++--------- .../outputosmojs/cosmos/group/v1/types.ts | 8 ++-- .../outputosmojs/cosmos/ics23/v1/proofs.ts | 16 +++---- .../cosmos/mint/v1beta1/genesis.ts | 4 +- .../outputosmojs/cosmos/mint/v1beta1/query.ts | 2 +- .../outputosmojs/cosmos/nft/v1beta1/query.ts | 12 ++--- .../v-next/outputosmojs/cosmos/orm/v1/orm.ts | 2 +- .../cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../cosmos/slashing/v1beta1/query.ts | 8 ++-- .../cosmos/staking/v1beta1/genesis.ts | 2 +- .../cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../cosmos/staking/v1beta1/staking.ts | 14 +++--- .../outputosmojs/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../outputosmojs/cosmos/tx/v1beta1/service.ts | 24 +++++----- .../outputosmojs/cosmos/tx/v1beta1/tx.ts | 16 +++---- .../cosmos/upgrade/v1beta1/query.ts | 2 +- .../outputosmojs/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../outputosmojs/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../outputosmojs/cosmwasm/wasm/v1/proposal.ts | 2 +- .../outputosmojs/cosmwasm/wasm/v1/query.ts | 24 +++++----- .../outputosmojs/cosmwasm/wasm/v1/tx.ts | 2 +- .../outputosmojs/cosmwasm/wasm/v1/types.ts | 8 ++-- .../outputosmojs/evmos/claims/v1/genesis.ts | 2 +- .../outputosmojs/evmos/claims/v1/query.ts | 6 +-- .../outputosmojs/evmos/epochs/v1/query.ts | 4 +- .../outputosmojs/evmos/erc20/v1/erc20.ts | 2 +- .../outputosmojs/evmos/erc20/v1/genesis.ts | 2 +- .../outputosmojs/evmos/erc20/v1/query.ts | 8 ++-- .../outputosmojs/evmos/fees/v1/genesis.ts | 2 +- .../outputosmojs/evmos/fees/v1/query.ts | 12 ++--- .../evmos/incentives/v1/genesis.ts | 2 +- .../outputosmojs/evmos/incentives/v1/query.ts | 18 ++++---- .../evmos/inflation/v1/genesis.ts | 6 +-- .../outputosmojs/evmos/inflation/v1/query.ts | 6 +-- .../outputosmojs/evmos/recovery/v1/genesis.ts | 2 +- .../outputosmojs/evmos/recovery/v1/query.ts | 2 +- .../outputosmojs/evmos/vesting/v1/vesting.ts | 2 +- .../v-next/outputosmojs/google/api/auth.ts | 2 +- .../outputosmojs/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../google/api/expr/v1alpha1/value.ts | 4 +- .../google/api/expr/v1beta1/decl.ts | 6 +-- .../google/api/expr/v1beta1/eval.ts | 2 +- .../google/api/expr/v1beta1/expr.ts | 20 ++++---- .../google/api/expr/v1beta1/value.ts | 4 +- .../v-next/outputosmojs/google/api/metric.ts | 2 +- .../google/api/monitored_resource.ts | 2 +- .../v-next/outputosmojs/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../google/logging/v2/log_entry.ts | 10 ++-- .../outputosmojs/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- .../outputosmojs/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../google/protobuf/descriptor.ts | 20 ++++---- .../outputosmojs/google/protobuf/struct.ts | 2 +- .../outputosmojs/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../ibc/applications/fee/v1/fee.ts | 2 +- .../ibc/applications/fee/v1/query.ts | 14 +++--- .../ibc/applications/fee/v1/tx.ts | 4 +- .../controller/v1/query.ts | 2 +- .../interchain_accounts/controller/v1/tx.ts | 2 +- .../interchain_accounts/genesis/v1/genesis.ts | 8 ++-- .../interchain_accounts/host/v1/query.ts | 2 +- .../interchain_accounts/v1/account.ts | 2 +- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../ibc/core/channel/v1/channel.ts | 6 +-- .../outputosmojs/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../outputosmojs/ibc/core/channel/v1/tx.ts | 28 +++++------ .../outputosmojs/ibc/core/client/v1/client.ts | 4 +- .../ibc/core/client/v1/genesis.ts | 2 +- .../outputosmojs/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../ibc/core/connection/v1/genesis.ts | 2 +- .../ibc/core/connection/v1/query.ts | 18 ++++---- .../outputosmojs/ibc/core/connection/v1/tx.ts | 18 ++++---- .../outputosmojs/ibc/core/port/v1/query.ts | 2 +- .../outputosmojs/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../lightclients/localhost/v2/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../solomachine/v2/solomachine.ts | 10 ++-- .../solomachine/v3/solomachine.ts | 6 +-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../osmosis/accum/v1beta1/accum.ts | 2 +- .../osmosis/claim/v1beta1/genesis.ts | 2 +- .../osmosis/claim/v1beta1/query.ts | 4 +- .../osmosis/concentrated-liquidity/genesis.ts | 8 ++-- .../incentive_record.ts | 2 +- .../pool-model/query.ts | 8 ++-- .../concentrated-liquidity/position.ts | 2 +- .../osmosis/cosmwasmpool/v1beta1/genesis.ts | 2 +- .../osmosis/cosmwasmpool/v1beta1/query.ts | 2 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../osmosis/gamm/v1beta1/genesis.ts | 2 +- .../osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/genesis.ts | 2 +- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../outputosmojs/osmosis/incentives/gauge.ts | 2 +- .../osmosis/incentives/genesis.ts | 2 +- .../outputosmojs/osmosis/incentives/query.ts | 22 ++++----- .../outputosmojs/osmosis/incentives/tx.ts | 2 +- .../outputosmojs/osmosis/lockup/query.ts | 4 +- .../osmosis/mint/v1beta1/genesis.ts | 4 +- .../outputosmojs/osmosis/mint/v1beta1/mint.ts | 2 +- .../osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../osmosis/poolmanager/v1beta1/genesis.ts | 2 +- .../osmosis/poolmanager/v1beta1/query.ts | 2 +- .../osmosis/protorev/v1beta1/genesis.ts | 4 +- .../osmosis/protorev/v1beta1/query.ts | 6 +-- .../osmosis/protorev/v1beta1/tx.ts | 2 +- .../osmosis/sumtree/v1beta1/tree.ts | 2 +- .../osmosis/superfluid/genesis.ts | 2 +- .../outputosmojs/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../osmosis/twap/v1beta1/genesis.ts | 2 +- .../osmosis/twap/v1beta1/query.ts | 2 +- .../osmosis/txfees/v1beta1/gov.ts | 2 +- .../outputosmojs/tendermint/abci/types.ts | 28 +++++------ .../outputosmojs/tendermint/crypto/proof.ts | 2 +- .../outputosmojs/tendermint/p2p/types.ts | 4 +- .../outputosmojs/tendermint/types/block.ts | 8 ++-- .../outputosmojs/tendermint/types/evidence.ts | 6 +-- .../outputosmojs/tendermint/types/params.ts | 8 ++-- .../outputosmojs/tendermint/types/types.ts | 28 +++++------ .../tendermint/types/validator.ts | 2 +- .../outputv2/akash/audit/v1beta2/query.ts | 8 ++-- .../outputv2/akash/base/v1beta1/attribute.ts | 2 +- .../outputv2/akash/base/v1beta1/resource.ts | 6 +-- .../outputv2/akash/base/v1beta2/attribute.ts | 2 +- .../outputv2/akash/base/v1beta2/resource.ts | 6 +-- .../outputv2/akash/cert/v1beta2/cert.ts | 2 +- .../outputv2/akash/cert/v1beta2/genesis.ts | 2 +- .../outputv2/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../akash/deployment/v1beta1/group.ts | 14 +++--- .../akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../outputv2/akash/escrow/v1beta1/query.ts | 8 ++-- .../outputv2/akash/escrow/v1beta1/types.ts | 4 +- .../outputv2/akash/escrow/v1beta2/query.ts | 8 ++-- .../outputv2/akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../outputv2/akash/market/v1beta2/bid.ts | 10 ++-- .../outputv2/akash/market/v1beta2/genesis.ts | 2 +- .../outputv2/akash/market/v1beta2/lease.ts | 10 ++-- .../outputv2/akash/market/v1beta2/order.ts | 4 +- .../outputv2/akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../outputv2/akash/provider/v1beta2/query.ts | 6 +-- __fixtures__/v-next/outputv2/confio/proofs.ts | 16 +++---- .../outputv2/cosmos/app/v1alpha1/query.ts | 2 +- .../outputv2/cosmos/auth/v1beta1/auth.ts | 2 +- .../outputv2/cosmos/auth/v1beta1/genesis.ts | 2 +- .../outputv2/cosmos/auth/v1beta1/query.ts | 6 +-- .../outputv2/cosmos/authz/v1beta1/query.ts | 12 ++--- .../outputv2/cosmos/authz/v1beta1/tx.ts | 2 +- .../outputv2/cosmos/bank/v1beta1/genesis.ts | 2 +- .../outputv2/cosmos/bank/v1beta1/query.ts | 24 +++++----- .../outputv2/cosmos/base/abci/v1beta1/abci.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 24 +++++----- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../outputv2/cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../outputv2/cosmos/feegrant/v1beta1/query.ts | 10 ++-- .../v-next/outputv2/cosmos/gov/v1/genesis.ts | 6 +-- .../v-next/outputv2/cosmos/gov/v1/gov.ts | 2 +- .../v-next/outputv2/cosmos/gov/v1/query.ts | 26 +++++------ .../outputv2/cosmos/gov/v1beta1/genesis.ts | 6 +-- .../v-next/outputv2/cosmos/gov/v1beta1/gov.ts | 2 +- .../outputv2/cosmos/gov/v1beta1/query.ts | 26 +++++------ .../v-next/outputv2/cosmos/group/v1/query.ts | 42 ++++++++--------- .../v-next/outputv2/cosmos/group/v1/types.ts | 8 ++-- .../outputv2/cosmos/mint/v1beta1/genesis.ts | 4 +- .../outputv2/cosmos/mint/v1beta1/query.ts | 2 +- .../outputv2/cosmos/nft/v1beta1/query.ts | 12 ++--- .../v-next/outputv2/cosmos/orm/v1/orm.ts | 2 +- .../outputv2/cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../outputv2/cosmos/slashing/v1beta1/query.ts | 8 ++-- .../cosmos/staking/v1beta1/genesis.ts | 2 +- .../outputv2/cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../cosmos/staking/v1beta1/staking.ts | 14 +++--- .../outputv2/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../outputv2/cosmos/tx/v1beta1/service.ts | 24 +++++----- .../v-next/outputv2/cosmos/tx/v1beta1/tx.ts | 16 +++---- .../outputv2/cosmos/upgrade/v1beta1/query.ts | 2 +- .../outputv2/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../outputv2/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../outputv2/cosmwasm/wasm/v1/proposal.ts | 2 +- .../v-next/outputv2/cosmwasm/wasm/v1/query.ts | 24 +++++----- .../v-next/outputv2/cosmwasm/wasm/v1/tx.ts | 2 +- .../v-next/outputv2/cosmwasm/wasm/v1/types.ts | 8 ++-- .../outputv2/evmos/claims/v1/genesis.ts | 2 +- .../v-next/outputv2/evmos/claims/v1/query.ts | 6 +-- .../v-next/outputv2/evmos/epochs/v1/query.ts | 4 +- .../v-next/outputv2/evmos/erc20/v1/erc20.ts | 2 +- .../v-next/outputv2/evmos/erc20/v1/genesis.ts | 2 +- .../v-next/outputv2/evmos/erc20/v1/query.ts | 8 ++-- .../v-next/outputv2/evmos/fees/v1/genesis.ts | 2 +- .../v-next/outputv2/evmos/fees/v1/query.ts | 12 ++--- .../outputv2/evmos/incentives/v1/genesis.ts | 2 +- .../outputv2/evmos/incentives/v1/query.ts | 18 ++++---- .../outputv2/evmos/inflation/v1/genesis.ts | 6 +-- .../outputv2/evmos/inflation/v1/query.ts | 6 +-- .../outputv2/evmos/recovery/v1/genesis.ts | 2 +- .../outputv2/evmos/recovery/v1/query.ts | 2 +- .../outputv2/evmos/vesting/v1/vesting.ts | 2 +- .../v-next/outputv2/google/api/auth.ts | 2 +- .../outputv2/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../google/api/expr/v1alpha1/value.ts | 4 +- .../outputv2/google/api/expr/v1beta1/decl.ts | 6 +-- .../outputv2/google/api/expr/v1beta1/eval.ts | 2 +- .../outputv2/google/api/expr/v1beta1/expr.ts | 20 ++++---- .../outputv2/google/api/expr/v1beta1/value.ts | 4 +- .../v-next/outputv2/google/api/metric.ts | 2 +- .../outputv2/google/api/monitored_resource.ts | 2 +- .../v-next/outputv2/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../outputv2/google/logging/v2/log_entry.ts | 10 ++-- .../outputv2/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- .../v-next/outputv2/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../outputv2/google/protobuf/descriptor.ts | 20 ++++---- .../v-next/outputv2/google/protobuf/struct.ts | 2 +- .../v-next/outputv2/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../outputv2/ibc/core/channel/v1/channel.ts | 6 +-- .../outputv2/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../v-next/outputv2/ibc/core/channel/v1/tx.ts | 28 +++++------ .../outputv2/ibc/core/client/v1/client.ts | 4 +- .../outputv2/ibc/core/client/v1/genesis.ts | 2 +- .../outputv2/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../ibc/core/connection/v1/genesis.ts | 2 +- .../outputv2/ibc/core/connection/v1/query.ts | 18 ++++---- .../outputv2/ibc/core/connection/v1/tx.ts | 18 ++++---- .../v-next/outputv2/ibc/core/port/v1/query.ts | 2 +- .../outputv2/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../solomachine/v2/solomachine.ts | 10 ++-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../outputv2/osmosis/claim/v1beta1/genesis.ts | 2 +- .../outputv2/osmosis/claim/v1beta1/query.ts | 4 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../outputv2/osmosis/gamm/v1beta1/genesis.ts | 2 +- .../outputv2/osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../outputv2/osmosis/incentives/gauge.ts | 2 +- .../outputv2/osmosis/incentives/genesis.ts | 2 +- .../outputv2/osmosis/incentives/query.ts | 22 ++++----- .../v-next/outputv2/osmosis/incentives/tx.ts | 2 +- .../v-next/outputv2/osmosis/lockup/query.ts | 4 +- .../outputv2/osmosis/mint/v1beta1/genesis.ts | 4 +- .../outputv2/osmosis/mint/v1beta1/mint.ts | 2 +- .../outputv2/osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../outputv2/osmosis/sumtree/v1beta1/tree.ts | 2 +- .../outputv2/osmosis/superfluid/genesis.ts | 2 +- .../outputv2/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../outputv2/osmosis/twap/v1beta1/genesis.ts | 2 +- .../outputv2/osmosis/twap/v1beta1/query.ts | 2 +- .../outputv2/osmosis/txfees/v1beta1/gov.ts | 2 +- .../v-next/outputv2/tendermint/abci/types.ts | 28 +++++------ .../outputv2/tendermint/crypto/proof.ts | 2 +- .../v-next/outputv2/tendermint/p2p/types.ts | 4 +- .../v-next/outputv2/tendermint/types/block.ts | 8 ++-- .../outputv2/tendermint/types/evidence.ts | 6 +-- .../outputv2/tendermint/types/params.ts | 8 ++-- .../v-next/outputv2/tendermint/types/types.ts | 28 +++++------ .../outputv2/tendermint/types/validator.ts | 2 +- .../outputv3/akash/audit/v1beta2/query.ts | 8 ++-- .../outputv3/akash/base/v1beta1/attribute.ts | 2 +- .../outputv3/akash/base/v1beta1/resource.ts | 6 +-- .../outputv3/akash/base/v1beta2/attribute.ts | 2 +- .../outputv3/akash/base/v1beta2/resource.ts | 6 +-- .../outputv3/akash/cert/v1beta2/cert.ts | 2 +- .../outputv3/akash/cert/v1beta2/genesis.ts | 2 +- .../outputv3/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../akash/deployment/v1beta1/group.ts | 14 +++--- .../akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../outputv3/akash/escrow/v1beta1/query.ts | 8 ++-- .../outputv3/akash/escrow/v1beta1/types.ts | 4 +- .../outputv3/akash/escrow/v1beta2/query.ts | 8 ++-- .../outputv3/akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../outputv3/akash/market/v1beta2/bid.ts | 10 ++-- .../outputv3/akash/market/v1beta2/genesis.ts | 2 +- .../outputv3/akash/market/v1beta2/lease.ts | 10 ++-- .../outputv3/akash/market/v1beta2/order.ts | 4 +- .../outputv3/akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../outputv3/akash/provider/v1beta2/query.ts | 6 +-- __fixtures__/v-next/outputv3/confio/proofs.ts | 16 +++---- .../outputv3/cosmos/app/v1alpha1/query.ts | 2 +- .../outputv3/cosmos/auth/v1beta1/auth.ts | 2 +- .../outputv3/cosmos/auth/v1beta1/genesis.ts | 2 +- .../outputv3/cosmos/auth/v1beta1/query.ts | 6 +-- .../outputv3/cosmos/authz/v1beta1/query.ts | 12 ++--- .../outputv3/cosmos/authz/v1beta1/tx.ts | 2 +- .../outputv3/cosmos/bank/v1beta1/genesis.ts | 2 +- .../outputv3/cosmos/bank/v1beta1/query.ts | 24 +++++----- .../outputv3/cosmos/base/abci/v1beta1/abci.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 24 +++++----- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../outputv3/cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../outputv3/cosmos/feegrant/v1beta1/query.ts | 10 ++-- .../v-next/outputv3/cosmos/gov/v1/genesis.ts | 6 +-- .../v-next/outputv3/cosmos/gov/v1/gov.ts | 2 +- .../v-next/outputv3/cosmos/gov/v1/query.ts | 26 +++++------ .../outputv3/cosmos/gov/v1beta1/genesis.ts | 6 +-- .../v-next/outputv3/cosmos/gov/v1beta1/gov.ts | 2 +- .../outputv3/cosmos/gov/v1beta1/query.ts | 26 +++++------ .../v-next/outputv3/cosmos/group/v1/query.ts | 42 ++++++++--------- .../v-next/outputv3/cosmos/group/v1/types.ts | 8 ++-- .../outputv3/cosmos/mint/v1beta1/genesis.ts | 4 +- .../outputv3/cosmos/mint/v1beta1/query.ts | 2 +- .../outputv3/cosmos/nft/v1beta1/query.ts | 12 ++--- .../v-next/outputv3/cosmos/orm/v1/orm.ts | 2 +- .../outputv3/cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../outputv3/cosmos/slashing/v1beta1/query.ts | 8 ++-- .../cosmos/staking/v1beta1/genesis.ts | 2 +- .../outputv3/cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../cosmos/staking/v1beta1/staking.ts | 14 +++--- .../outputv3/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../outputv3/cosmos/tx/v1beta1/service.ts | 24 +++++----- .../v-next/outputv3/cosmos/tx/v1beta1/tx.ts | 16 +++---- .../outputv3/cosmos/upgrade/v1beta1/query.ts | 2 +- .../outputv3/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../outputv3/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../outputv3/cosmwasm/wasm/v1/proposal.ts | 2 +- .../v-next/outputv3/cosmwasm/wasm/v1/query.ts | 24 +++++----- .../v-next/outputv3/cosmwasm/wasm/v1/tx.ts | 2 +- .../v-next/outputv3/cosmwasm/wasm/v1/types.ts | 8 ++-- .../outputv3/evmos/claims/v1/genesis.ts | 2 +- .../v-next/outputv3/evmos/claims/v1/query.ts | 6 +-- .../v-next/outputv3/evmos/epochs/v1/query.ts | 4 +- .../v-next/outputv3/evmos/erc20/v1/erc20.ts | 2 +- .../v-next/outputv3/evmos/erc20/v1/genesis.ts | 2 +- .../v-next/outputv3/evmos/erc20/v1/query.ts | 8 ++-- .../v-next/outputv3/evmos/fees/v1/genesis.ts | 2 +- .../v-next/outputv3/evmos/fees/v1/query.ts | 12 ++--- .../outputv3/evmos/incentives/v1/genesis.ts | 2 +- .../outputv3/evmos/incentives/v1/query.ts | 18 ++++---- .../outputv3/evmos/inflation/v1/genesis.ts | 6 +-- .../outputv3/evmos/inflation/v1/query.ts | 6 +-- .../outputv3/evmos/recovery/v1/genesis.ts | 2 +- .../outputv3/evmos/recovery/v1/query.ts | 2 +- .../outputv3/evmos/vesting/v1/vesting.ts | 2 +- .../v-next/outputv3/google/api/auth.ts | 2 +- .../outputv3/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../google/api/expr/v1alpha1/value.ts | 4 +- .../outputv3/google/api/expr/v1beta1/decl.ts | 6 +-- .../outputv3/google/api/expr/v1beta1/eval.ts | 2 +- .../outputv3/google/api/expr/v1beta1/expr.ts | 20 ++++---- .../outputv3/google/api/expr/v1beta1/value.ts | 4 +- .../v-next/outputv3/google/api/metric.ts | 2 +- .../outputv3/google/api/monitored_resource.ts | 2 +- .../v-next/outputv3/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../outputv3/google/logging/v2/log_entry.ts | 10 ++-- .../outputv3/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- .../v-next/outputv3/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../outputv3/google/protobuf/descriptor.ts | 20 ++++---- .../v-next/outputv3/google/protobuf/struct.ts | 2 +- .../v-next/outputv3/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../outputv3/ibc/core/channel/v1/channel.ts | 6 +-- .../outputv3/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../v-next/outputv3/ibc/core/channel/v1/tx.ts | 28 +++++------ .../outputv3/ibc/core/client/v1/client.ts | 4 +- .../outputv3/ibc/core/client/v1/genesis.ts | 2 +- .../outputv3/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../ibc/core/connection/v1/genesis.ts | 2 +- .../outputv3/ibc/core/connection/v1/query.ts | 18 ++++---- .../outputv3/ibc/core/connection/v1/tx.ts | 18 ++++---- .../v-next/outputv3/ibc/core/port/v1/query.ts | 2 +- .../outputv3/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../solomachine/v2/solomachine.ts | 10 ++-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../outputv3/osmosis/claim/v1beta1/genesis.ts | 2 +- .../outputv3/osmosis/claim/v1beta1/query.ts | 4 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../outputv3/osmosis/gamm/v1beta1/genesis.ts | 2 +- .../outputv3/osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../outputv3/osmosis/incentives/gauge.ts | 2 +- .../outputv3/osmosis/incentives/genesis.ts | 2 +- .../outputv3/osmosis/incentives/query.ts | 22 ++++----- .../v-next/outputv3/osmosis/incentives/tx.ts | 2 +- .../v-next/outputv3/osmosis/lockup/query.ts | 4 +- .../outputv3/osmosis/mint/v1beta1/genesis.ts | 4 +- .../outputv3/osmosis/mint/v1beta1/mint.ts | 2 +- .../outputv3/osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../outputv3/osmosis/sumtree/v1beta1/tree.ts | 2 +- .../outputv3/osmosis/superfluid/genesis.ts | 2 +- .../outputv3/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../outputv3/osmosis/twap/v1beta1/genesis.ts | 2 +- .../outputv3/osmosis/twap/v1beta1/query.ts | 2 +- .../outputv3/osmosis/txfees/v1beta1/gov.ts | 2 +- .../v-next/outputv3/tendermint/abci/types.ts | 28 +++++------ .../outputv3/tendermint/crypto/proof.ts | 2 +- .../v-next/outputv3/tendermint/p2p/types.ts | 4 +- .../v-next/outputv3/tendermint/types/block.ts | 8 ++-- .../outputv3/tendermint/types/evidence.ts | 6 +-- .../outputv3/tendermint/types/params.ts | 8 ++-- .../v-next/outputv3/tendermint/types/types.ts | 28 +++++------ .../outputv3/tendermint/types/validator.ts | 2 +- .../outputv4/akash/audit/v1beta2/query.ts | 8 ++-- .../outputv4/akash/base/v1beta1/attribute.ts | 2 +- .../outputv4/akash/base/v1beta1/resource.ts | 6 +-- .../outputv4/akash/base/v1beta2/attribute.ts | 2 +- .../outputv4/akash/base/v1beta2/resource.ts | 6 +-- .../outputv4/akash/cert/v1beta2/cert.ts | 2 +- .../outputv4/akash/cert/v1beta2/genesis.ts | 2 +- .../outputv4/akash/cert/v1beta2/query.ts | 8 ++-- .../akash/deployment/v1beta1/deployment.ts | 10 ++-- .../akash/deployment/v1beta1/genesis.ts | 4 +- .../akash/deployment/v1beta1/group.ts | 14 +++--- .../akash/deployment/v1beta1/query.ts | 16 +++---- .../akash/deployment/v1beta2/deployment.ts | 2 +- .../akash/deployment/v1beta2/deploymentmsg.ts | 8 ++-- .../akash/deployment/v1beta2/genesis.ts | 4 +- .../akash/deployment/v1beta2/group.ts | 4 +- .../akash/deployment/v1beta2/groupmsg.ts | 6 +-- .../akash/deployment/v1beta2/groupspec.ts | 2 +- .../akash/deployment/v1beta2/query.ts | 16 +++---- .../akash/deployment/v1beta2/resource.ts | 4 +- .../outputv4/akash/escrow/v1beta1/query.ts | 8 ++-- .../outputv4/akash/escrow/v1beta1/types.ts | 4 +- .../outputv4/akash/escrow/v1beta2/query.ts | 8 ++-- .../outputv4/akash/escrow/v1beta2/types.ts | 14 +++--- .../akash/inflation/v1beta2/genesis.ts | 2 +- .../outputv4/akash/market/v1beta2/bid.ts | 10 ++-- .../outputv4/akash/market/v1beta2/genesis.ts | 2 +- .../outputv4/akash/market/v1beta2/lease.ts | 10 ++-- .../outputv4/akash/market/v1beta2/order.ts | 4 +- .../outputv4/akash/market/v1beta2/query.ts | 34 +++++++------- .../akash/provider/v1beta1/provider.ts | 6 +-- .../akash/provider/v1beta2/provider.ts | 6 +-- .../outputv4/akash/provider/v1beta2/query.ts | 6 +-- __fixtures__/v-next/outputv4/confio/proofs.ts | 16 +++---- .../outputv4/cosmos/app/v1alpha1/query.ts | 2 +- .../outputv4/cosmos/auth/v1beta1/auth.ts | 2 +- .../outputv4/cosmos/auth/v1beta1/genesis.ts | 2 +- .../outputv4/cosmos/auth/v1beta1/query.ts | 6 +-- .../outputv4/cosmos/authz/v1beta1/query.ts | 12 ++--- .../outputv4/cosmos/authz/v1beta1/tx.ts | 2 +- .../outputv4/cosmos/bank/v1beta1/genesis.ts | 2 +- .../outputv4/cosmos/bank/v1beta1/query.ts | 24 +++++----- .../outputv4/cosmos/base/abci/v1beta1/abci.ts | 4 +- .../base/reflection/v2alpha1/reflection.ts | 24 +++++----- .../cosmos/base/snapshots/v1beta1/snapshot.ts | 2 +- .../cosmos/base/store/v1beta1/commit_info.ts | 2 +- .../cosmos/base/tendermint/v1beta1/query.ts | 20 ++++---- .../cosmos/capability/v1beta1/genesis.ts | 2 +- .../cosmos/crypto/keyring/v1/record.ts | 2 +- .../cosmos/distribution/v1beta1/genesis.ts | 14 +++--- .../cosmos/distribution/v1beta1/query.ts | 10 ++-- .../outputv4/cosmos/evidence/v1beta1/query.ts | 4 +- .../cosmos/feegrant/v1beta1/feegrant.ts | 2 +- .../outputv4/cosmos/feegrant/v1beta1/query.ts | 10 ++-- .../v-next/outputv4/cosmos/gov/v1/genesis.ts | 6 +-- .../v-next/outputv4/cosmos/gov/v1/gov.ts | 2 +- .../v-next/outputv4/cosmos/gov/v1/query.ts | 26 +++++------ .../outputv4/cosmos/gov/v1beta1/genesis.ts | 6 +-- .../v-next/outputv4/cosmos/gov/v1beta1/gov.ts | 2 +- .../outputv4/cosmos/gov/v1beta1/query.ts | 26 +++++------ .../v-next/outputv4/cosmos/group/v1/query.ts | 42 ++++++++--------- .../v-next/outputv4/cosmos/group/v1/types.ts | 8 ++-- .../outputv4/cosmos/mint/v1beta1/genesis.ts | 4 +- .../outputv4/cosmos/mint/v1beta1/query.ts | 2 +- .../outputv4/cosmos/nft/v1beta1/query.ts | 12 ++--- .../v-next/outputv4/cosmos/orm/v1/orm.ts | 2 +- .../outputv4/cosmos/params/v1beta1/query.ts | 2 +- .../cosmos/slashing/v1beta1/genesis.ts | 4 +- .../outputv4/cosmos/slashing/v1beta1/query.ts | 8 ++-- .../cosmos/staking/v1beta1/genesis.ts | 2 +- .../outputv4/cosmos/staking/v1beta1/query.ts | 42 ++++++++--------- .../cosmos/staking/v1beta1/staking.ts | 14 +++--- .../outputv4/cosmos/staking/v1beta1/tx.ts | 6 +-- .../cosmos/tx/signing/v1beta1/signing.ts | 4 +- .../outputv4/cosmos/tx/v1beta1/service.ts | 24 +++++----- .../v-next/outputv4/cosmos/tx/v1beta1/tx.ts | 16 +++---- .../outputv4/cosmos/upgrade/v1beta1/query.ts | 2 +- .../outputv4/cosmos/upgrade/v1beta1/tx.ts | 2 +- .../cosmos/upgrade/v1beta1/upgrade.ts | 2 +- .../cosmos/vesting/v1beta1/vesting.ts | 10 ++-- .../outputv4/cosmwasm/wasm/v1/genesis.ts | 6 +-- .../outputv4/cosmwasm/wasm/v1/proposal.ts | 2 +- .../v-next/outputv4/cosmwasm/wasm/v1/query.ts | 24 +++++----- .../v-next/outputv4/cosmwasm/wasm/v1/tx.ts | 2 +- .../v-next/outputv4/cosmwasm/wasm/v1/types.ts | 8 ++-- .../outputv4/evmos/claims/v1/genesis.ts | 2 +- .../v-next/outputv4/evmos/claims/v1/query.ts | 6 +-- .../v-next/outputv4/evmos/epochs/v1/query.ts | 4 +- .../v-next/outputv4/evmos/erc20/v1/erc20.ts | 2 +- .../v-next/outputv4/evmos/erc20/v1/genesis.ts | 2 +- .../v-next/outputv4/evmos/erc20/v1/query.ts | 8 ++-- .../v-next/outputv4/evmos/fees/v1/genesis.ts | 2 +- .../v-next/outputv4/evmos/fees/v1/query.ts | 12 ++--- .../outputv4/evmos/incentives/v1/genesis.ts | 2 +- .../outputv4/evmos/incentives/v1/query.ts | 18 ++++---- .../outputv4/evmos/inflation/v1/genesis.ts | 6 +-- .../outputv4/evmos/inflation/v1/query.ts | 6 +-- .../outputv4/evmos/recovery/v1/genesis.ts | 2 +- .../outputv4/evmos/recovery/v1/query.ts | 2 +- .../outputv4/evmos/vesting/v1/vesting.ts | 2 +- .../v-next/outputv4/google/api/auth.ts | 2 +- .../outputv4/google/api/distribution.ts | 4 +- .../v1alpha1/conformance_service.ts | 12 ++--- .../google/api/expr/v1alpha1/checked.ts | 24 +++++----- .../google/api/expr/v1alpha1/syntax.ts | 22 ++++----- .../google/api/expr/v1alpha1/value.ts | 4 +- .../outputv4/google/api/expr/v1beta1/decl.ts | 6 +-- .../outputv4/google/api/expr/v1beta1/eval.ts | 2 +- .../outputv4/google/api/expr/v1beta1/expr.ts | 20 ++++---- .../outputv4/google/api/expr/v1beta1/value.ts | 4 +- .../v-next/outputv4/google/api/metric.ts | 2 +- .../outputv4/google/api/monitored_resource.ts | 2 +- .../v-next/outputv4/google/api/service.ts | 28 +++++------ .../api/servicecontrol/v1/check_error.ts | 2 +- .../google/api/servicecontrol/v1/log_entry.ts | 6 +-- .../api/servicecontrol/v1/quota_controller.ts | 4 +- .../servicecontrol/v1/service_controller.ts | 8 ++-- .../servicecontrol/v2/service_controller.ts | 4 +- .../servicemanagement/v1/servicemanager.ts | 12 ++--- .../google/api/serviceusage/v1/resources.ts | 12 ++--- .../api/serviceusage/v1/serviceusage.ts | 4 +- .../api/serviceusage/v1beta1/resources.ts | 18 ++++---- .../api/serviceusage/v1beta1/serviceusage.ts | 14 +++--- .../outputv4/google/logging/v2/log_entry.ts | 10 ++-- .../outputv4/google/logging/v2/logging.ts | 4 +- .../google/logging/v2/logging_config.ts | 36 +++++++-------- .../google/logging/v2/logging_metrics.ts | 8 ++-- .../v-next/outputv4/google/protobuf/api.ts | 2 +- .../google/protobuf/compiler/plugin.ts | 2 +- .../outputv4/google/protobuf/descriptor.ts | 20 ++++---- .../v-next/outputv4/google/protobuf/struct.ts | 2 +- .../v-next/outputv4/google/protobuf/type.ts | 6 +-- .../google/rpc/context/attribute_context.ts | 18 ++++---- .../ibc/applications/transfer/v1/genesis.ts | 2 +- .../ibc/applications/transfer/v1/query.ts | 8 ++-- .../ibc/applications/transfer/v1/tx.ts | 2 +- .../outputv4/ibc/core/channel/v1/channel.ts | 6 +-- .../outputv4/ibc/core/channel/v1/query.ts | 46 +++++++++---------- .../v-next/outputv4/ibc/core/channel/v1/tx.ts | 28 +++++------ .../outputv4/ibc/core/client/v1/client.ts | 4 +- .../outputv4/ibc/core/client/v1/genesis.ts | 2 +- .../outputv4/ibc/core/client/v1/query.ts | 14 +++--- .../ibc/core/connection/v1/connection.ts | 6 +-- .../ibc/core/connection/v1/genesis.ts | 2 +- .../outputv4/ibc/core/connection/v1/query.ts | 18 ++++---- .../outputv4/ibc/core/connection/v1/tx.ts | 18 ++++---- .../v-next/outputv4/ibc/core/port/v1/query.ts | 2 +- .../outputv4/ibc/core/types/v1/genesis.ts | 6 +-- .../lightclients/localhost/v1/localhost.ts | 2 +- .../solomachine/v1/solomachine.ts | 10 ++-- .../solomachine/v2/solomachine.ts | 10 ++-- .../lightclients/tendermint/v1/tendermint.ts | 20 ++++---- .../outputv4/osmosis/claim/v1beta1/genesis.ts | 2 +- .../outputv4/osmosis/claim/v1beta1/query.ts | 4 +- .../gamm/pool-models/balancer/balancerPool.ts | 2 +- .../gamm/pool-models/balancer/tx/tx.ts | 2 +- .../pool-models/stableswap/stableswap_pool.ts | 2 +- .../osmosis/gamm/pool-models/stableswap/tx.ts | 2 +- .../outputv4/osmosis/gamm/v1beta1/genesis.ts | 2 +- .../outputv4/osmosis/gamm/v1beta1/query.ts | 8 ++-- .../osmosis/ibc-rate-limit/v1beta1/query.ts | 2 +- .../outputv4/osmosis/incentives/gauge.ts | 2 +- .../outputv4/osmosis/incentives/genesis.ts | 2 +- .../outputv4/osmosis/incentives/query.ts | 22 ++++----- .../v-next/outputv4/osmosis/incentives/tx.ts | 2 +- .../v-next/outputv4/osmosis/lockup/query.ts | 4 +- .../outputv4/osmosis/mint/v1beta1/genesis.ts | 4 +- .../outputv4/osmosis/mint/v1beta1/mint.ts | 2 +- .../outputv4/osmosis/mint/v1beta1/query.ts | 2 +- .../pool-incentives/v1beta1/genesis.ts | 2 +- .../osmosis/pool-incentives/v1beta1/query.ts | 4 +- .../outputv4/osmosis/sumtree/v1beta1/tree.ts | 2 +- .../outputv4/osmosis/superfluid/genesis.ts | 2 +- .../outputv4/osmosis/superfluid/query.ts | 10 ++-- .../osmosis/tokenfactory/v1beta1/genesis.ts | 4 +- .../osmosis/tokenfactory/v1beta1/query.ts | 4 +- .../osmosis/tokenfactory/v1beta1/tx.ts | 2 +- .../outputv4/osmosis/twap/v1beta1/genesis.ts | 2 +- .../outputv4/osmosis/twap/v1beta1/query.ts | 2 +- .../outputv4/osmosis/txfees/v1beta1/gov.ts | 2 +- .../v-next/outputv4/tendermint/abci/types.ts | 28 +++++------ .../outputv4/tendermint/crypto/proof.ts | 2 +- .../v-next/outputv4/tendermint/p2p/types.ts | 4 +- .../v-next/outputv4/tendermint/types/block.ts | 8 ++-- .../outputv4/tendermint/types/evidence.ts | 6 +-- .../outputv4/tendermint/types/params.ts | 8 ++-- .../v-next/outputv4/tendermint/types/types.ts | 28 +++++------ .../outputv4/tendermint/types/validator.ts | 2 +- packages/ast/src/encoding/types.ts | 27 ++++++----- 1155 files changed, 4603 insertions(+), 4598 deletions(-) diff --git a/__fixtures__/output1/akash/audit/v1beta2/query.ts b/__fixtures__/output1/akash/audit/v1beta2/query.ts index 532dcdc333..a88a7db81a 100644 --- a/__fixtures__/output1/akash/audit/v1beta2/query.ts +++ b/__fixtures__/output1/akash/audit/v1beta2/query.ts @@ -64,7 +64,7 @@ export interface QueryAuditorAttributesRequestSDKType { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -205,7 +205,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -261,7 +261,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -395,7 +395,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/output1/akash/base/v1beta1/attribute.ts b/__fixtures__/output1/akash/base/v1beta1/attribute.ts index b616db65c4..731957ba3e 100644 --- a/__fixtures__/output1/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/output1/akash/base/v1beta1/attribute.ts @@ -197,7 +197,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output1/akash/base/v1beta1/resource.ts b/__fixtures__/output1/akash/base/v1beta1/resource.ts index 042984bee3..c69969bdca 100644 --- a/__fixtures__/output1/akash/base/v1beta1/resource.ts +++ b/__fixtures__/output1/akash/base/v1beta1/resource.ts @@ -56,7 +56,7 @@ export interface ResourceUnitsSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -131,7 +131,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -206,7 +206,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output1/akash/base/v1beta2/attribute.ts b/__fixtures__/output1/akash/base/v1beta2/attribute.ts index 18108bb6f0..957fdab810 100644 --- a/__fixtures__/output1/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/output1/akash/base/v1beta2/attribute.ts @@ -197,7 +197,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output1/akash/base/v1beta2/resource.ts b/__fixtures__/output1/akash/base/v1beta2/resource.ts index b6b102b86d..4d2bb29431 100644 --- a/__fixtures__/output1/akash/base/v1beta2/resource.ts +++ b/__fixtures__/output1/akash/base/v1beta2/resource.ts @@ -37,7 +37,7 @@ export interface StorageSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -112,7 +112,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -188,7 +188,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output1/akash/cert/v1beta2/cert.ts b/__fixtures__/output1/akash/cert/v1beta2/cert.ts index dbe7a6b55f..932449f469 100644 --- a/__fixtures__/output1/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/output1/akash/cert/v1beta2/cert.ts @@ -450,7 +450,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/output1/akash/cert/v1beta2/genesis.ts b/__fixtures__/output1/akash/cert/v1beta2/genesis.ts index 4ddd5454d0..4249664398 100644 --- a/__fixtures__/output1/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/output1/akash/cert/v1beta2/genesis.ts @@ -23,7 +23,7 @@ export interface GenesisStateSDKType { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/output1/akash/cert/v1beta2/query.ts b/__fixtures__/output1/akash/cert/v1beta2/query.ts index cc375f8319..1fcf643f92 100644 --- a/__fixtures__/output1/akash/cert/v1beta2/query.ts +++ b/__fixtures__/output1/akash/cert/v1beta2/query.ts @@ -35,7 +35,7 @@ export interface QueryCertificatesResponseSDKType { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -102,8 +102,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -170,7 +170,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/output1/akash/deployment/v1beta1/deployment.ts b/__fixtures__/output1/akash/deployment/v1beta1/deployment.ts index 7fff50b22d..a2de20aaef 100644 --- a/__fixtures__/output1/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/output1/akash/deployment/v1beta1/deployment.ts @@ -144,7 +144,7 @@ export interface DeploymentFiltersSDKType { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -283,7 +283,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -390,7 +390,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -517,7 +517,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -679,7 +679,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/output1/akash/deployment/v1beta1/genesis.ts b/__fixtures__/output1/akash/deployment/v1beta1/genesis.ts index c2f7cc03ab..ff96727911 100644 --- a/__fixtures__/output1/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/output1/akash/deployment/v1beta1/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -102,7 +102,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/akash/deployment/v1beta1/group.ts b/__fixtures__/output1/akash/deployment/v1beta1/group.ts index af40c7b7b7..3509322ee3 100644 --- a/__fixtures__/output1/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/output1/akash/deployment/v1beta1/group.ts @@ -147,7 +147,7 @@ export interface ResourceSDKType { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -242,7 +242,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -337,7 +337,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -512,7 +512,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -598,9 +598,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } @@ -689,7 +689,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/output1/akash/deployment/v1beta1/query.ts b/__fixtures__/output1/akash/deployment/v1beta1/query.ts index 31bb38d69d..2671a33e32 100644 --- a/__fixtures__/output1/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/output1/akash/deployment/v1beta1/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -132,7 +132,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -206,7 +206,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -261,9 +261,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -348,7 +348,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -403,7 +403,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/output1/akash/deployment/v1beta2/deployment.ts b/__fixtures__/output1/akash/deployment/v1beta2/deployment.ts index f6c9a59356..2454870f46 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/deployment.ts @@ -147,7 +147,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/output1/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/output1/akash/deployment/v1beta2/deploymentmsg.ts index e50f9a041d..b204c077cb 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/deploymentmsg.ts @@ -70,7 +70,7 @@ export interface MsgCloseDeploymentResponse {} export interface MsgCloseDeploymentResponseSDKType {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -221,7 +221,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -340,7 +340,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -447,7 +447,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/output1/akash/deployment/v1beta2/genesis.ts b/__fixtures__/output1/akash/deployment/v1beta2/genesis.ts index 664e80192b..19b3c799ba 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -102,7 +102,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/akash/deployment/v1beta2/group.ts b/__fixtures__/output1/akash/deployment/v1beta2/group.ts index 286e718380..9914926b51 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/group.ts @@ -74,9 +74,9 @@ export interface GroupSDKType { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output1/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/output1/akash/deployment/v1beta2/groupmsg.ts index 11fb2d36ea..b4223a92c2 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/groupmsg.ts @@ -40,7 +40,7 @@ export interface MsgStartGroupResponse {} export interface MsgStartGroupResponseSDKType {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -135,7 +135,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -230,7 +230,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/output1/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/output1/akash/deployment/v1beta2/groupspec.ts index 335d224fc2..e3af8ed07a 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/groupspec.ts @@ -18,7 +18,7 @@ export interface GroupSpecSDKType { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/output1/akash/deployment/v1beta2/query.ts b/__fixtures__/output1/akash/deployment/v1beta2/query.ts index 0994398dc3..375c49cfb9 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -132,7 +132,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -206,7 +206,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -261,9 +261,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -348,7 +348,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -403,7 +403,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/output1/akash/deployment/v1beta2/resource.ts b/__fixtures__/output1/akash/deployment/v1beta2/resource.ts index 5a481f7e5b..dc617cebd0 100644 --- a/__fixtures__/output1/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/output1/akash/deployment/v1beta2/resource.ts @@ -17,9 +17,9 @@ export interface ResourceSDKType { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/output1/akash/escrow/v1beta1/query.ts b/__fixtures__/output1/akash/escrow/v1beta1/query.ts index 796c3c9797..618057b9ec 100644 --- a/__fixtures__/output1/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/output1/akash/escrow/v1beta1/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -163,7 +163,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -242,7 +242,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -353,7 +353,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/output1/akash/escrow/v1beta1/types.ts b/__fixtures__/output1/akash/escrow/v1beta1/types.ts index bb6b0144ea..fce2caf63a 100644 --- a/__fixtures__/output1/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/output1/akash/escrow/v1beta1/types.ts @@ -221,7 +221,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -336,7 +336,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/output1/akash/escrow/v1beta2/query.ts b/__fixtures__/output1/akash/escrow/v1beta2/query.ts index 8ce2aba6d9..91fbb8a214 100644 --- a/__fixtures__/output1/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/output1/akash/escrow/v1beta2/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -163,7 +163,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -242,7 +242,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -353,7 +353,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/output1/akash/escrow/v1beta2/types.ts b/__fixtures__/output1/akash/escrow/v1beta2/types.ts index 8a2323aff4..47be038e92 100644 --- a/__fixtures__/output1/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/output1/akash/escrow/v1beta2/types.ts @@ -234,14 +234,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: Long.ZERO, depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -373,12 +373,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/output1/akash/inflation/v1beta2/genesis.ts b/__fixtures__/output1/akash/inflation/v1beta2/genesis.ts index 2b173a6df1..c8c94e8cbc 100644 --- a/__fixtures__/output1/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/output1/akash/inflation/v1beta2/genesis.ts @@ -12,7 +12,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/akash/market/v1beta2/bid.ts b/__fixtures__/output1/akash/market/v1beta2/bid.ts index cd4e3f4ca9..5d0565a7a1 100644 --- a/__fixtures__/output1/akash/market/v1beta2/bid.ts +++ b/__fixtures__/output1/akash/market/v1beta2/bid.ts @@ -144,9 +144,9 @@ export interface BidFiltersSDKType { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -275,7 +275,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -473,9 +473,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output1/akash/market/v1beta2/genesis.ts b/__fixtures__/output1/akash/market/v1beta2/genesis.ts index 0a921acfdd..5b806ace97 100644 --- a/__fixtures__/output1/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/output1/akash/market/v1beta2/genesis.ts @@ -20,7 +20,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/akash/market/v1beta2/lease.ts b/__fixtures__/output1/akash/market/v1beta2/lease.ts index f4c08141a1..56d0502241 100644 --- a/__fixtures__/output1/akash/market/v1beta2/lease.ts +++ b/__fixtures__/output1/akash/market/v1beta2/lease.ts @@ -242,9 +242,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO, closedOn: Long.ZERO }; @@ -460,7 +460,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -555,7 +555,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -650,7 +650,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/output1/akash/market/v1beta2/order.ts b/__fixtures__/output1/akash/market/v1beta2/order.ts index 7838d87d19..27398a7ffd 100644 --- a/__fixtures__/output1/akash/market/v1beta2/order.ts +++ b/__fixtures__/output1/akash/market/v1beta2/order.ts @@ -187,9 +187,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output1/akash/market/v1beta2/query.ts b/__fixtures__/output1/akash/market/v1beta2/query.ts index 2ead6f7e1e..b834301fc8 100644 --- a/__fixtures__/output1/akash/market/v1beta2/query.ts +++ b/__fixtures__/output1/akash/market/v1beta2/query.ts @@ -120,8 +120,8 @@ export interface QueryLeaseResponseSDKType { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -188,7 +188,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -262,7 +262,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -317,7 +317,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -372,8 +372,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -440,7 +440,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -514,7 +514,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -569,8 +569,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -636,8 +636,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -704,7 +704,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -778,7 +778,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -833,8 +833,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/output1/akash/provider/v1beta1/provider.ts b/__fixtures__/output1/akash/provider/v1beta1/provider.ts index f1f84743c0..2c004347dc 100644 --- a/__fixtures__/output1/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/output1/akash/provider/v1beta1/provider.ts @@ -146,7 +146,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -285,7 +285,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -519,7 +519,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/output1/akash/provider/v1beta2/provider.ts b/__fixtures__/output1/akash/provider/v1beta2/provider.ts index 1c8142f0dc..c86f8fa188 100644 --- a/__fixtures__/output1/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/output1/akash/provider/v1beta2/provider.ts @@ -146,7 +146,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -285,7 +285,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -519,7 +519,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/output1/akash/provider/v1beta2/query.ts b/__fixtures__/output1/akash/provider/v1beta2/query.ts index dd9da56498..78a277b950 100644 --- a/__fixtures__/output1/akash/provider/v1beta2/query.ts +++ b/__fixtures__/output1/akash/provider/v1beta2/query.ts @@ -39,7 +39,7 @@ export interface QueryProviderResponseSDKType { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -95,7 +95,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -224,7 +224,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/output1/confio/proofs.ts b/__fixtures__/output1/confio/proofs.ts index 088bbf830c..ad11a886fe 100644 --- a/__fixtures__/output1/confio/proofs.ts +++ b/__fixtures__/output1/confio/proofs.ts @@ -478,7 +478,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -576,8 +576,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -927,8 +927,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -1432,7 +1432,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -1539,8 +1539,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/output1/cosmos/app/v1alpha1/query.ts b/__fixtures__/output1/cosmos/app/v1alpha1/query.ts index dc305d36f4..c16442d58b 100644 --- a/__fixtures__/output1/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/output1/cosmos/app/v1alpha1/query.ts @@ -57,7 +57,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/output1/cosmos/auth/v1beta1/auth.ts b/__fixtures__/output1/cosmos/auth/v1beta1/auth.ts index 741361e854..7a24b88a28 100644 --- a/__fixtures__/output1/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/output1/cosmos/auth/v1beta1/auth.ts @@ -145,7 +145,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/output1/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/auth/v1beta1/genesis.ts index f77b48d871..6c17fc555b 100644 --- a/__fixtures__/output1/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/auth/v1beta1/genesis.ts @@ -17,7 +17,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/output1/cosmos/auth/v1beta1/query.ts b/__fixtures__/output1/cosmos/auth/v1beta1/query.ts index 68764a77fe..b622e2eb19 100644 --- a/__fixtures__/output1/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/auth/v1beta1/query.ts @@ -130,7 +130,7 @@ export interface AddressStringToBytesResponseSDKType { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -186,7 +186,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -355,7 +355,7 @@ export const QueryModuleAccountsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/cosmos/authz/v1beta1/query.ts b/__fixtures__/output1/cosmos/authz/v1beta1/query.ts index 174dbdc3e1..fd8903eb52 100644 --- a/__fixtures__/output1/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/authz/v1beta1/query.ts @@ -82,7 +82,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -171,7 +171,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -246,7 +246,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -313,7 +313,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -388,7 +388,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -455,7 +455,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/output1/cosmos/authz/v1beta1/tx.ts b/__fixtures__/output1/cosmos/authz/v1beta1/tx.ts index 956f161187..4f8184b81d 100644 --- a/__fixtures__/output1/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/output1/cosmos/authz/v1beta1/tx.ts @@ -82,7 +82,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/output1/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/bank/v1beta1/genesis.ts index bfa5bb184e..2aa6579299 100644 --- a/__fixtures__/output1/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/bank/v1beta1/genesis.ts @@ -44,7 +44,7 @@ export interface BalanceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/output1/cosmos/bank/v1beta1/query.ts b/__fixtures__/output1/cosmos/bank/v1beta1/query.ts index 7066c7adc7..a7dd85fe0e 100644 --- a/__fixtures__/output1/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/bank/v1beta1/query.ts @@ -389,7 +389,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -456,7 +456,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -531,7 +531,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -598,7 +598,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -672,7 +672,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -728,7 +728,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -952,7 +952,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1007,7 +1007,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -1063,7 +1063,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -1192,7 +1192,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { @@ -1248,7 +1248,7 @@ export const QueryDenomMetadataResponse = { function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomOwnersRequest = { @@ -1382,7 +1382,7 @@ export const DenomOwner = { function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { return { denomOwners: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomOwnersResponse = { diff --git a/__fixtures__/output1/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/output1/cosmos/base/abci/v1beta1/abci.ts index df9e1fa148..1d33778803 100644 --- a/__fixtures__/output1/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/output1/cosmos/base/abci/v1beta1/abci.ts @@ -862,8 +862,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/output1/cosmos/base/reflection/v2alpha1/reflection.ts b/__fixtures__/output1/cosmos/base/reflection/v2alpha1/reflection.ts index 936741a351..a1b90ce5f7 100644 --- a/__fixtures__/output1/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/__fixtures__/output1/cosmos/base/reflection/v2alpha1/reflection.ts @@ -310,12 +310,12 @@ export interface QueryMethodDescriptorSDKType { } function createBaseAppDescriptor(): AppDescriptor { return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined + authn: AuthnDescriptor.fromPartial({}), + chain: ChainDescriptor.fromPartial({}), + codec: CodecDescriptor.fromPartial({}), + configuration: ConfigurationDescriptor.fromPartial({}), + queryServices: QueryServicesDescriptor.fromPartial({}), + tx: TxDescriptor.fromPartial({}) }; } export const AppDescriptor = { @@ -1147,7 +1147,7 @@ export const GetAuthnDescriptorRequest = { }; function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { return { - authn: undefined + authn: AuthnDescriptor.fromPartial({}) }; } export const GetAuthnDescriptorResponse = { @@ -1242,7 +1242,7 @@ export const GetChainDescriptorRequest = { }; function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { return { - chain: undefined + chain: ChainDescriptor.fromPartial({}) }; } export const GetChainDescriptorResponse = { @@ -1337,7 +1337,7 @@ export const GetCodecDescriptorRequest = { }; function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { return { - codec: undefined + codec: CodecDescriptor.fromPartial({}) }; } export const GetCodecDescriptorResponse = { @@ -1432,7 +1432,7 @@ export const GetConfigurationDescriptorRequest = { }; function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { return { - config: undefined + config: ConfigurationDescriptor.fromPartial({}) }; } export const GetConfigurationDescriptorResponse = { @@ -1527,7 +1527,7 @@ export const GetQueryServicesDescriptorRequest = { }; function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { return { - queries: undefined + queries: QueryServicesDescriptor.fromPartial({}) }; } export const GetQueryServicesDescriptorResponse = { @@ -1622,7 +1622,7 @@ export const GetTxDescriptorRequest = { }; function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { return { - tx: undefined + tx: TxDescriptor.fromPartial({}) }; } export const GetTxDescriptorResponse = { diff --git a/__fixtures__/output1/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/output1/cosmos/base/snapshots/v1beta1/snapshot.ts index 5b305d9a8d..da6ee2c319 100644 --- a/__fixtures__/output1/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/output1/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -110,7 +110,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/output1/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/output1/cosmos/base/store/v1beta1/commit_info.ts index ccca61547b..b58c957b88 100644 --- a/__fixtures__/output1/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/output1/cosmos/base/store/v1beta1/commit_info.ts @@ -127,7 +127,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/output1/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/output1/cosmos/base/tendermint/v1beta1/query.ts index 63c27fcc62..b261811b89 100644 --- a/__fixtures__/output1/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/base/tendermint/v1beta1/query.ts @@ -165,7 +165,7 @@ export interface ModuleSDKType { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -233,7 +233,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -318,7 +318,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -375,7 +375,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -606,8 +606,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -713,8 +713,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -915,8 +915,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - nodeInfo: undefined, - applicationVersion: undefined + nodeInfo: NodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/output1/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/capability/v1beta1/genesis.ts index 211589fd9f..05ebc16c45 100644 --- a/__fixtures__/output1/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/capability/v1beta1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: Long.UZERO, - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/output1/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/output1/cosmos/crypto/keyring/v1/record.ts index dce8bda754..dd2d8c1e4e 100644 --- a/__fixtures__/output1/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/output1/cosmos/crypto/keyring/v1/record.ts @@ -243,7 +243,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/output1/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/distribution/v1beta1/genesis.ts index d4ad9aab84..5601c1fcf6 100644 --- a/__fixtures__/output1/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/distribution/v1beta1/genesis.ts @@ -300,7 +300,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -368,7 +368,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: Long.UZERO, - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -446,7 +446,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -514,7 +514,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -594,7 +594,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: Long.UZERO, period: Long.UZERO, - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -682,8 +682,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/output1/cosmos/distribution/v1beta1/query.ts b/__fixtures__/output1/cosmos/distribution/v1beta1/query.ts index 783180cc6d..600a128450 100644 --- a/__fixtures__/output1/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/distribution/v1beta1/query.ts @@ -311,7 +311,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -421,7 +421,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -531,7 +531,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -589,7 +589,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: Long.UZERO, endingHeight: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -678,7 +678,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/output1/cosmos/evidence/v1beta1/query.ts b/__fixtures__/output1/cosmos/evidence/v1beta1/query.ts index b66078ceb3..2a5a1cbc90 100644 --- a/__fixtures__/output1/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/evidence/v1beta1/query.ts @@ -166,7 +166,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -222,7 +222,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/output1/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/output1/cosmos/feegrant/v1beta1/feegrant.ts index 7773e020d2..f7d244b8f0 100644 --- a/__fixtures__/output1/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/output1/cosmos/feegrant/v1beta1/feegrant.ts @@ -168,7 +168,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/output1/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/output1/cosmos/feegrant/v1beta1/query.ts index 16905e7c81..af54270fb4 100644 --- a/__fixtures__/output1/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/feegrant/v1beta1/query.ts @@ -139,7 +139,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -195,7 +195,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -262,7 +262,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -337,7 +337,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -404,7 +404,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/output1/cosmos/gov/v1/genesis.ts b/__fixtures__/output1/cosmos/gov/v1/genesis.ts index a43a978efd..d8ee3c8b31 100644 --- a/__fixtures__/output1/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/output1/cosmos/gov/v1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/cosmos/gov/v1/gov.ts b/__fixtures__/output1/cosmos/gov/v1/gov.ts index 5c0ce59eee..247dbb93bc 100644 --- a/__fixtures__/output1/cosmos/gov/v1/gov.ts +++ b/__fixtures__/output1/cosmos/gov/v1/gov.ts @@ -436,7 +436,7 @@ function createBaseProposal(): Proposal { id: Long.UZERO, messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/output1/cosmos/gov/v1/query.ts b/__fixtures__/output1/cosmos/gov/v1/query.ts index 9e44034737..38ddb110c4 100644 --- a/__fixtures__/output1/cosmos/gov/v1/query.ts +++ b/__fixtures__/output1/cosmos/gov/v1/query.ts @@ -246,7 +246,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -304,7 +304,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -393,7 +393,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -534,7 +534,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -590,7 +590,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -657,7 +657,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -786,9 +786,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -932,7 +932,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -988,7 +988,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1055,7 +1055,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1184,7 +1184,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output1/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/gov/v1beta1/genesis.ts index e0ec6d26b6..e89ae6ea68 100644 --- a/__fixtures__/output1/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/gov/v1beta1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/cosmos/gov/v1beta1/gov.ts b/__fixtures__/output1/cosmos/gov/v1beta1/gov.ts index 11a6986281..5f370f29e6 100644 --- a/__fixtures__/output1/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/output1/cosmos/gov/v1beta1/gov.ts @@ -531,7 +531,7 @@ function createBaseProposal(): Proposal { proposalId: Long.UZERO, content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/output1/cosmos/gov/v1beta1/query.ts b/__fixtures__/output1/cosmos/gov/v1beta1/query.ts index c051a650a5..d05cbf7287 100644 --- a/__fixtures__/output1/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/gov/v1beta1/query.ts @@ -246,7 +246,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -304,7 +304,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -393,7 +393,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -534,7 +534,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -590,7 +590,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -657,7 +657,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -786,9 +786,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -932,7 +932,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -988,7 +988,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1055,7 +1055,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1184,7 +1184,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output1/cosmos/group/v1/query.ts b/__fixtures__/output1/cosmos/group/v1/query.ts index 512e862763..193910af6e 100644 --- a/__fixtures__/output1/cosmos/group/v1/query.ts +++ b/__fixtures__/output1/cosmos/group/v1/query.ts @@ -345,7 +345,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -455,7 +455,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -511,7 +511,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -578,7 +578,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -653,7 +653,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -720,7 +720,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -795,7 +795,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -862,7 +862,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -937,7 +937,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -1004,7 +1004,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -1133,7 +1133,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -1189,7 +1189,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -1256,7 +1256,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -1397,7 +1397,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -1453,7 +1453,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -1520,7 +1520,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -1595,7 +1595,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -1662,7 +1662,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -1737,7 +1737,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -1804,7 +1804,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -1933,7 +1933,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output1/cosmos/group/v1/types.ts b/__fixtures__/output1/cosmos/group/v1/types.ts index 8392cbbd81..c2b91a53dc 100644 --- a/__fixtures__/output1/cosmos/group/v1/types.ts +++ b/__fixtures__/output1/cosmos/group/v1/types.ts @@ -639,7 +639,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -706,7 +706,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -955,7 +955,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: Long.UZERO, - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -1157,7 +1157,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: Long.UZERO, status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/output1/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/mint/v1beta1/genesis.ts index b5b0203b76..251a794bb0 100644 --- a/__fixtures__/output1/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/mint/v1beta1/genesis.ts @@ -16,8 +16,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/cosmos/mint/v1beta1/query.ts b/__fixtures__/output1/cosmos/mint/v1beta1/query.ts index 2eed02efe3..31584dfa0e 100644 --- a/__fixtures__/output1/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/mint/v1beta1/query.ts @@ -101,7 +101,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/cosmos/nft/v1beta1/query.ts b/__fixtures__/output1/cosmos/nft/v1beta1/query.ts index 45901114c7..67f4a06d02 100644 --- a/__fixtures__/output1/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/nft/v1beta1/query.ts @@ -488,7 +488,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -566,7 +566,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -707,7 +707,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -817,7 +817,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -872,7 +872,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -928,7 +928,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/output1/cosmos/orm/v1/orm.ts b/__fixtures__/output1/cosmos/orm/v1/orm.ts index 6a09d0d8d8..503144887b 100644 --- a/__fixtures__/output1/cosmos/orm/v1/orm.ts +++ b/__fixtures__/output1/cosmos/orm/v1/orm.ts @@ -111,7 +111,7 @@ export interface SingletonDescriptorSDKType { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/output1/cosmos/params/v1beta1/query.ts b/__fixtures__/output1/cosmos/params/v1beta1/query.ts index c799c85ae3..021e8dac0d 100644 --- a/__fixtures__/output1/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/params/v1beta1/query.ts @@ -132,7 +132,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/slashing/v1beta1/genesis.ts index 7ffc332179..fabd2f69ca 100644 --- a/__fixtures__/output1/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/slashing/v1beta1/genesis.ts @@ -67,7 +67,7 @@ export interface MissedBlockSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -163,7 +163,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/output1/cosmos/slashing/v1beta1/query.ts b/__fixtures__/output1/cosmos/slashing/v1beta1/query.ts index 610c5b5ecf..bc64e6ea88 100644 --- a/__fixtures__/output1/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/slashing/v1beta1/query.ts @@ -118,7 +118,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -228,7 +228,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -283,7 +283,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -339,7 +339,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/output1/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/output1/cosmos/staking/v1beta1/genesis.ts index a1840ebb7f..24209f64cc 100644 --- a/__fixtures__/output1/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/output1/cosmos/staking/v1beta1/genesis.ts @@ -51,7 +51,7 @@ export interface LastValidatorPowerSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/output1/cosmos/staking/v1beta1/query.ts b/__fixtures__/output1/cosmos/staking/v1beta1/query.ts index a412c2f2b0..d1dba7cb97 100644 --- a/__fixtures__/output1/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/staking/v1beta1/query.ts @@ -409,7 +409,7 @@ export interface QueryParamsResponseSDKType { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -476,7 +476,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -605,7 +605,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -661,7 +661,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -728,7 +728,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -803,7 +803,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -870,7 +870,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -1011,7 +1011,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -1133,7 +1133,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -1189,7 +1189,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -1256,7 +1256,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -1331,7 +1331,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -1398,7 +1398,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -1475,7 +1475,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -1564,7 +1564,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -1639,7 +1639,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -1706,7 +1706,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -1847,7 +1847,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -1957,7 +1957,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -2052,7 +2052,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -2147,7 +2147,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/cosmos/staking/v1beta1/staking.ts b/__fixtures__/output1/cosmos/staking/v1beta1/staking.ts index 6a95450d7e..9bc301fe10 100644 --- a/__fixtures__/output1/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/output1/cosmos/staking/v1beta1/staking.ts @@ -447,7 +447,7 @@ export interface PoolSDKType { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -601,7 +601,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -777,10 +777,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: Long.ZERO, unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -1843,7 +1843,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -1910,7 +1910,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -1977,7 +1977,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/output1/cosmos/staking/v1beta1/tx.ts b/__fixtures__/output1/cosmos/staking/v1beta1/tx.ts index 94b020da34..3d7b79f0ef 100644 --- a/__fixtures__/output1/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/output1/cosmos/staking/v1beta1/tx.ts @@ -131,8 +131,8 @@ export interface MsgUndelegateResponseSDKType { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -298,7 +298,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/output1/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/output1/cosmos/tx/signing/v1beta1/signing.ts index 1bf68bcae7..f7edc3de26 100644 --- a/__fixtures__/output1/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/output1/cosmos/tx/signing/v1beta1/signing.ts @@ -226,7 +226,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: Long.UZERO }; } @@ -438,7 +438,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/output1/cosmos/tx/v1beta1/service.ts b/__fixtures__/output1/cosmos/tx/v1beta1/service.ts index 7c86ddf942..803caa7957 100644 --- a/__fixtures__/output1/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/output1/cosmos/tx/v1beta1/service.ts @@ -298,7 +298,7 @@ export interface GetBlockWithTxsResponseSDKType { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -386,7 +386,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -546,7 +546,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -601,7 +601,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -668,8 +668,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -790,8 +790,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -858,7 +858,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -925,9 +925,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/output1/cosmos/tx/v1beta1/tx.ts b/__fixtures__/output1/cosmos/tx/v1beta1/tx.ts index 1305f07bc9..cfcde3cbf2 100644 --- a/__fixtures__/output1/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/output1/cosmos/tx/v1beta1/tx.ts @@ -390,8 +390,8 @@ export interface AuxSignerDataSDKType { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -660,7 +660,7 @@ function createBaseSignDocDirectAux(): SignDocDirectAux { chainId: "", accountNumber: Long.UZERO, sequence: Long.UZERO, - tip: undefined + tip: Tip.fromPartial({}) }; } export const SignDocDirectAux = { @@ -898,8 +898,8 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined, - tip: undefined + fee: Fee.fromPartial({}), + tip: Tip.fromPartial({}) }; } export const AuthInfo = { @@ -985,7 +985,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: Long.UZERO }; } @@ -1185,7 +1185,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } @@ -1435,7 +1435,7 @@ export const Tip = { function createBaseAuxSignerData(): AuxSignerData { return { address: "", - signDoc: undefined, + signDoc: SignDocDirectAux.fromPartial({}), mode: 0, sig: new Uint8Array() }; diff --git a/__fixtures__/output1/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/output1/cosmos/upgrade/v1beta1/query.ts index a12b469f4f..edeb3fce99 100644 --- a/__fixtures__/output1/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/output1/cosmos/upgrade/v1beta1/query.ts @@ -206,7 +206,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/output1/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/output1/cosmos/upgrade/v1beta1/tx.ts index ef271d7cad..9ba2521096 100644 --- a/__fixtures__/output1/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/output1/cosmos/upgrade/v1beta1/tx.ts @@ -66,7 +66,7 @@ export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/output1/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/output1/cosmos/upgrade/v1beta1/upgrade.ts index 4a7a1bbdc8..ab2a9be63f 100644 --- a/__fixtures__/output1/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/output1/cosmos/upgrade/v1beta1/upgrade.ts @@ -223,7 +223,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/output1/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/output1/cosmos/vesting/v1beta1/vesting.ts index 45b64176cc..a5bb3f6475 100644 --- a/__fixtures__/output1/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/output1/cosmos/vesting/v1beta1/vesting.ts @@ -107,7 +107,7 @@ export interface PermanentLockedAccountSDKType { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -234,7 +234,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO }; } @@ -301,7 +301,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -431,7 +431,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO, vestingPeriods: [] }; @@ -518,7 +518,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/output1/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/output1/cosmwasm/wasm/v1/genesis.ts index 8dc76732d5..5016229337 100644 --- a/__fixtures__/output1/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/output1/cosmwasm/wasm/v1/genesis.ts @@ -76,7 +76,7 @@ export interface SequenceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -291,7 +291,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: Long.UZERO, - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -382,7 +382,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/output1/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/output1/cosmwasm/wasm/v1/proposal.ts index 21e6b9da3a..1eb1f1b4c7 100644 --- a/__fixtures__/output1/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/output1/cosmwasm/wasm/v1/proposal.ts @@ -216,7 +216,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { diff --git a/__fixtures__/output1/cosmwasm/wasm/v1/query.ts b/__fixtures__/output1/cosmwasm/wasm/v1/query.ts index 2a6b3537d1..7adc536682 100644 --- a/__fixtures__/output1/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/output1/cosmwasm/wasm/v1/query.ts @@ -349,7 +349,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -416,7 +416,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -483,7 +483,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -558,7 +558,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -625,7 +625,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -700,7 +700,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -767,7 +767,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -1219,7 +1219,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -1286,7 +1286,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -1342,7 +1342,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -1416,7 +1416,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -1472,7 +1472,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/output1/cosmwasm/wasm/v1/tx.ts b/__fixtures__/output1/cosmwasm/wasm/v1/tx.ts index f87bc8de94..e026d7d0f5 100644 --- a/__fixtures__/output1/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/output1/cosmwasm/wasm/v1/tx.ts @@ -168,7 +168,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/output1/cosmwasm/wasm/v1/types.ts b/__fixtures__/output1/cosmwasm/wasm/v1/types.ts index 7ec0c9ede6..4e75ac12b9 100644 --- a/__fixtures__/output1/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/output1/cosmwasm/wasm/v1/types.ts @@ -349,7 +349,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0, maxWasmCodeSize: Long.UZERO }; @@ -430,7 +430,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -511,7 +511,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -636,7 +636,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: Long.UZERO, - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/output1/evmos/claims/v1/genesis.ts b/__fixtures__/output1/evmos/claims/v1/genesis.ts index ca75000e0a..7dc4c5b09b 100644 --- a/__fixtures__/output1/evmos/claims/v1/genesis.ts +++ b/__fixtures__/output1/evmos/claims/v1/genesis.ts @@ -48,7 +48,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/output1/evmos/claims/v1/query.ts b/__fixtures__/output1/evmos/claims/v1/query.ts index d52ee28f27..408b4f0b56 100644 --- a/__fixtures__/output1/evmos/claims/v1/query.ts +++ b/__fixtures__/output1/evmos/claims/v1/query.ts @@ -254,7 +254,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -309,7 +309,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -365,7 +365,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/output1/evmos/epochs/v1/query.ts b/__fixtures__/output1/evmos/epochs/v1/query.ts index 15dfd928a5..fb8f5d19eb 100644 --- a/__fixtures__/output1/evmos/epochs/v1/query.ts +++ b/__fixtures__/output1/evmos/epochs/v1/query.ts @@ -31,7 +31,7 @@ export interface QueryCurrentEpochResponseSDKType { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -87,7 +87,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/output1/evmos/erc20/v1/erc20.ts b/__fixtures__/output1/evmos/erc20/v1/erc20.ts index f936385d1a..7ff0b0cc09 100644 --- a/__fixtures__/output1/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/output1/evmos/erc20/v1/erc20.ts @@ -228,7 +228,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/output1/evmos/erc20/v1/genesis.ts b/__fixtures__/output1/evmos/erc20/v1/genesis.ts index 02ab11e6b8..66da512b86 100644 --- a/__fixtures__/output1/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/output1/evmos/erc20/v1/genesis.ts @@ -32,7 +32,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/output1/evmos/erc20/v1/query.ts b/__fixtures__/output1/evmos/erc20/v1/query.ts index a2e760e0a3..157e647bc5 100644 --- a/__fixtures__/output1/evmos/erc20/v1/query.ts +++ b/__fixtures__/output1/evmos/erc20/v1/query.ts @@ -82,7 +82,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -138,7 +138,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -267,7 +267,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -362,7 +362,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/evmos/fees/v1/genesis.ts b/__fixtures__/output1/evmos/fees/v1/genesis.ts index c9848c3439..347363b95c 100644 --- a/__fixtures__/output1/evmos/fees/v1/genesis.ts +++ b/__fixtures__/output1/evmos/fees/v1/genesis.ts @@ -46,7 +46,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/output1/evmos/fees/v1/query.ts b/__fixtures__/output1/evmos/fees/v1/query.ts index c568004f1e..85979ef36a 100644 --- a/__fixtures__/output1/evmos/fees/v1/query.ts +++ b/__fixtures__/output1/evmos/fees/v1/query.ts @@ -120,7 +120,7 @@ export interface QueryDevFeeInfosPerDeployerResponseSDKType { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -176,7 +176,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -305,7 +305,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -400,7 +400,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -456,7 +456,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -523,7 +523,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/output1/evmos/incentives/v1/genesis.ts b/__fixtures__/output1/evmos/incentives/v1/genesis.ts index 8cfdb67db9..4c6136d275 100644 --- a/__fixtures__/output1/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/output1/evmos/incentives/v1/genesis.ts @@ -37,7 +37,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/output1/evmos/incentives/v1/query.ts b/__fixtures__/output1/evmos/incentives/v1/query.ts index e273a51af2..0b8e0c9549 100644 --- a/__fixtures__/output1/evmos/incentives/v1/query.ts +++ b/__fixtures__/output1/evmos/incentives/v1/query.ts @@ -206,7 +206,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -262,7 +262,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -391,7 +391,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -447,7 +447,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -514,7 +514,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -710,7 +710,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -766,7 +766,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -895,7 +895,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -990,7 +990,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/evmos/inflation/v1/genesis.ts b/__fixtures__/output1/evmos/inflation/v1/genesis.ts index 62157a7215..acb606135a 100644 --- a/__fixtures__/output1/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/output1/evmos/inflation/v1/genesis.ts @@ -43,7 +43,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: Long.UZERO, epochIdentifier: "", epochsPerPeriod: Long.ZERO, @@ -147,8 +147,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/output1/evmos/inflation/v1/query.ts b/__fixtures__/output1/evmos/inflation/v1/query.ts index 281bf2f777..ed92dd0c08 100644 --- a/__fixtures__/output1/evmos/inflation/v1/query.ts +++ b/__fixtures__/output1/evmos/inflation/v1/query.ts @@ -266,7 +266,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -456,7 +456,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -646,7 +646,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/evmos/recovery/v1/genesis.ts b/__fixtures__/output1/evmos/recovery/v1/genesis.ts index 8141806228..6694cc2471 100644 --- a/__fixtures__/output1/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/output1/evmos/recovery/v1/genesis.ts @@ -25,7 +25,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/evmos/recovery/v1/query.ts b/__fixtures__/output1/evmos/recovery/v1/query.ts index ef239e132a..6b872fb18e 100644 --- a/__fixtures__/output1/evmos/recovery/v1/query.ts +++ b/__fixtures__/output1/evmos/recovery/v1/query.ts @@ -57,7 +57,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/evmos/vesting/v1/vesting.ts b/__fixtures__/output1/evmos/vesting/v1/vesting.ts index 0b69734006..33adc94686 100644 --- a/__fixtures__/output1/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/output1/evmos/vesting/v1/vesting.ts @@ -39,7 +39,7 @@ export interface ClawbackVestingAccountSDKType { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/output1/google/api/auth.ts b/__fixtures__/output1/google/api/auth.ts index 61b08d5bb2..74f17712bd 100644 --- a/__fixtures__/output1/google/api/auth.ts +++ b/__fixtures__/output1/google/api/auth.ts @@ -404,7 +404,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/output1/google/api/distribution.ts b/__fixtures__/output1/google/api/distribution.ts index d11d4f69e0..92d09193dd 100644 --- a/__fixtures__/output1/google/api/distribution.ts +++ b/__fixtures__/output1/google/api/distribution.ts @@ -308,8 +308,8 @@ function createBaseDistribution(): Distribution { count: Long.ZERO, mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/output1/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/output1/google/api/expr/conformance/v1alpha1/conformance_service.ts index 368994b990..25d3e529ce 100644 --- a/__fixtures__/output1/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/output1/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -293,7 +293,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -368,7 +368,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -467,7 +467,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -543,7 +543,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -733,7 +733,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -809,7 +809,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: Long.ZERO }; } diff --git a/__fixtures__/output1/google/api/expr/v1alpha1/checked.ts b/__fixtures__/output1/google/api/expr/v1alpha1/checked.ts index fd1d36a56a..d1967267ae 100644 --- a/__fixtures__/output1/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/output1/google/api/expr/v1alpha1/checked.ts @@ -526,7 +526,7 @@ export interface ReferenceSDKType { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: Long.ZERO, - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -593,7 +593,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: Long.ZERO, - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -661,9 +661,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -1027,7 +1027,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -1082,8 +1082,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -1149,7 +1149,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -1378,8 +1378,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -1523,7 +1523,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -1653,7 +1653,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/output1/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/output1/google/api/expr/v1alpha1/syntax.ts index 218a16d198..94ff7814ae 100644 --- a/__fixtures__/output1/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/output1/google/api/expr/v1alpha1/syntax.ts @@ -482,8 +482,8 @@ export interface SourcePositionSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -743,7 +743,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -822,7 +822,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1050,7 +1050,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: Long.ZERO, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1139,12 +1139,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -1484,7 +1484,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: Long.ZERO, - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/output1/google/api/expr/v1alpha1/value.ts b/__fixtures__/output1/google/api/expr/v1alpha1/value.ts index 9078056658..4fcc3fea40 100644 --- a/__fixtures__/output1/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/output1/google/api/expr/v1alpha1/value.ts @@ -509,8 +509,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/output1/google/api/expr/v1beta1/decl.ts b/__fixtures__/output1/google/api/expr/v1beta1/decl.ts index 0f89f8b782..193e8d3f38 100644 --- a/__fixtures__/output1/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/output1/google/api/expr/v1beta1/decl.ts @@ -270,8 +270,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -338,7 +338,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/output1/google/api/expr/v1beta1/eval.ts b/__fixtures__/output1/google/api/expr/v1beta1/eval.ts index e60e8cb346..b57177686e 100644 --- a/__fixtures__/output1/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/output1/google/api/expr/v1beta1/eval.ts @@ -225,7 +225,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/output1/google/api/expr/v1beta1/expr.ts b/__fixtures__/output1/google/api/expr/v1beta1/expr.ts index e0f0c1373e..4b96e65840 100644 --- a/__fixtures__/output1/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/output1/google/api/expr/v1beta1/expr.ts @@ -368,8 +368,8 @@ export interface LiteralSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -641,7 +641,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -720,7 +720,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -948,7 +948,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1037,12 +1037,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/output1/google/api/expr/v1beta1/value.ts b/__fixtures__/output1/google/api/expr/v1beta1/value.ts index 7ac697c236..fd713b0ff8 100644 --- a/__fixtures__/output1/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/output1/google/api/expr/v1beta1/value.ts @@ -509,8 +509,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/output1/google/api/metric.ts b/__fixtures__/output1/google/api/metric.ts index d744c4ffdb..5c4848b763 100644 --- a/__fixtures__/output1/google/api/metric.ts +++ b/__fixtures__/output1/google/api/metric.ts @@ -392,7 +392,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/output1/google/api/monitored_resource.ts b/__fixtures__/output1/google/api/monitored_resource.ts index 7037cb0e9d..96f660b7d5 100644 --- a/__fixtures__/output1/google/api/monitored_resource.ts +++ b/__fixtures__/output1/google/api/monitored_resource.ts @@ -538,7 +538,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/output1/google/api/service.ts b/__fixtures__/output1/google/api/service.ts index 4248fc7c33..ce69576b20 100644 --- a/__fixtures__/output1/google/api/service.ts +++ b/__fixtures__/output1/google/api/service.ts @@ -204,24 +204,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/output1/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/output1/google/api/servicecontrol/v1/check_error.ts index 6c173b0b17..97364f2bfe 100644 --- a/__fixtures__/output1/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/output1/google/api/servicecontrol/v1/check_error.ts @@ -230,7 +230,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/output1/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/output1/google/api/servicecontrol/v1/log_entry.ts index 9ac1a447b5..c2312f57bd 100644 --- a/__fixtures__/output1/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/output1/google/api/servicecontrol/v1/log_entry.ts @@ -233,15 +233,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/output1/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/output1/google/api/servicecontrol/v1/quota_controller.ts index f7a1e55adc..dd48680d2b 100644 --- a/__fixtures__/output1/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/output1/google/api/servicecontrol/v1/quota_controller.ts @@ -333,7 +333,7 @@ export interface QuotaErrorSDKType { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -744,7 +744,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/output1/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/output1/google/api/servicecontrol/v1/service_controller.ts index a86b2adfa2..6d35b58cf6 100644 --- a/__fixtures__/output1/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/output1/google/api/servicecontrol/v1/service_controller.ts @@ -267,7 +267,7 @@ export interface ReportResponse_ReportErrorSDKType { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -349,7 +349,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -457,7 +457,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -785,7 +785,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/output1/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/output1/google/api/servicecontrol/v2/service_controller.ts index d657f8a8c7..93b21f61d7 100644 --- a/__fixtures__/output1/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/output1/google/api/servicecontrol/v2/service_controller.ts @@ -144,7 +144,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -423,7 +423,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/output1/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/output1/google/api/servicemanagement/v1/servicemanager.ts index 2695307653..9196813ac2 100644 --- a/__fixtures__/output1/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/output1/google/api/servicemanagement/v1/servicemanager.ts @@ -592,7 +592,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -757,7 +757,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -1046,7 +1046,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -1113,7 +1113,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -1191,7 +1191,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -1247,7 +1247,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/output1/google/api/serviceusage/v1/resources.ts b/__fixtures__/output1/google/api/serviceusage/v1/resources.ts index c38ac16501..9f68664c2e 100644 --- a/__fixtures__/output1/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/output1/google/api/serviceusage/v1/resources.ts @@ -162,7 +162,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -254,13 +254,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/output1/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/output1/google/api/serviceusage/v1/serviceusage.ts index 6e74d7b9e9..0373221866 100644 --- a/__fixtures__/output1/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/output1/google/api/serviceusage/v1/serviceusage.ts @@ -354,7 +354,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -488,7 +488,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/output1/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/output1/google/api/serviceusage/v1beta1/resources.ts index 59613a27a2..3023808987 100644 --- a/__fixtures__/output1/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/output1/google/api/serviceusage/v1beta1/resources.ts @@ -616,7 +616,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -708,13 +708,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1278,9 +1278,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: Long.ZERO, defaultLimit: Long.ZERO, - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/output1/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/output1/google/api/serviceusage/v1beta1/serviceusage.ts index dcb39231cd..2bc79f113d 100644 --- a/__fixtures__/output1/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/output1/google/api/serviceusage/v1beta1/serviceusage.ts @@ -1465,7 +1465,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -1573,9 +1573,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -2217,7 +2217,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -2325,9 +2325,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -3246,7 +3246,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/output1/google/logging/v2/log_entry.ts b/__fixtures__/output1/google/logging/v2/log_entry.ts index e7d452c771..3945887c49 100644 --- a/__fixtures__/output1/google/logging/v2/log_entry.ts +++ b/__fixtures__/output1/google/logging/v2/log_entry.ts @@ -351,7 +351,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -359,14 +359,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/output1/google/logging/v2/logging.ts b/__fixtures__/output1/google/logging/v2/logging.ts index e299d88cff..f28c849825 100644 --- a/__fixtures__/output1/google/logging/v2/logging.ts +++ b/__fixtures__/output1/google/logging/v2/logging.ts @@ -608,7 +608,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -804,7 +804,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/output1/google/logging/v2/logging_config.ts b/__fixtures__/output1/google/logging/v2/logging_config.ts index a08381edd9..d79fd07630 100644 --- a/__fixtures__/output1/google/logging/v2/logging_config.ts +++ b/__fixtures__/output1/google/logging/v2/logging_config.ts @@ -1595,7 +1595,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -2267,7 +2267,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -2345,8 +2345,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -2744,7 +2744,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -2822,8 +2822,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -3220,7 +3220,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -3299,9 +3299,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -3769,7 +3769,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -3836,8 +3836,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -4025,8 +4025,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -4238,8 +4238,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -4502,7 +4502,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/output1/google/logging/v2/logging_metrics.ts b/__fixtures__/output1/google/logging/v2/logging_metrics.ts index 4432faf4f4..9d3c41404d 100644 --- a/__fixtures__/output1/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/output1/google/logging/v2/logging_metrics.ts @@ -391,10 +391,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -805,7 +805,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -872,7 +872,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/output1/google/protobuf/api.ts b/__fixtures__/output1/google/protobuf/api.ts index c3f56e1354..77cdd75779 100644 --- a/__fixtures__/output1/google/protobuf/api.ts +++ b/__fixtures__/output1/google/protobuf/api.ts @@ -282,7 +282,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/output1/google/protobuf/compiler/plugin.ts b/__fixtures__/output1/google/protobuf/compiler/plugin.ts index 72803f11d8..34460cd99b 100644 --- a/__fixtures__/output1/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/output1/google/protobuf/compiler/plugin.ts @@ -238,7 +238,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/output1/google/protobuf/descriptor.ts b/__fixtures__/output1/google/protobuf/descriptor.ts index 7edd5a7441..19db8cd3ab 100644 --- a/__fixtures__/output1/google/protobuf/descriptor.ts +++ b/__fixtures__/output1/google/protobuf/descriptor.ts @@ -1352,8 +1352,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -1611,7 +1611,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -1833,7 +1833,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -2049,7 +2049,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -2204,7 +2204,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -2272,7 +2272,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -2466,7 +2466,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -2545,7 +2545,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -2633,7 +2633,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/output1/google/protobuf/struct.ts b/__fixtures__/output1/google/protobuf/struct.ts index 815a238066..b8b575a50d 100644 --- a/__fixtures__/output1/google/protobuf/struct.ts +++ b/__fixtures__/output1/google/protobuf/struct.ts @@ -130,7 +130,7 @@ export interface ListValueSDKType { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/output1/google/protobuf/type.ts b/__fixtures__/output1/google/protobuf/type.ts index 990e3aefb3..4c1e5a6451 100644 --- a/__fixtures__/output1/google/protobuf/type.ts +++ b/__fixtures__/output1/google/protobuf/type.ts @@ -374,7 +374,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -683,7 +683,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -887,7 +887,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/output1/google/rpc/context/attribute_context.ts b/__fixtures__/output1/google/rpc/context/attribute_context.ts index 445ef930fe..5fa4b07bd6 100644 --- a/__fixtures__/output1/google/rpc/context/attribute_context.ts +++ b/__fixtures__/output1/google/rpc/context/attribute_context.ts @@ -531,13 +531,13 @@ export interface AttributeContext_ResourceSDKType { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -975,7 +975,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -1169,7 +1169,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: Long.ZERO, protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/output1/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/output1/ibc/applications/transfer/v1/genesis.ts index 6c5f37a1a7..b75ec2a210 100644 --- a/__fixtures__/output1/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/output1/ibc/applications/transfer/v1/genesis.ts @@ -18,7 +18,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/ibc/applications/transfer/v1/query.ts b/__fixtures__/output1/ibc/applications/transfer/v1/query.ts index c902f1888e..9ee150d885 100644 --- a/__fixtures__/output1/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/output1/ibc/applications/transfer/v1/query.ts @@ -136,7 +136,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -191,7 +191,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -247,7 +247,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -361,7 +361,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/ibc/applications/transfer/v1/tx.ts b/__fixtures__/output1/ibc/applications/transfer/v1/tx.ts index 5f1b16b6ee..3812d482fe 100644 --- a/__fixtures__/output1/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/output1/ibc/applications/transfer/v1/tx.ts @@ -55,7 +55,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/output1/ibc/core/channel/v1/channel.ts b/__fixtures__/output1/ibc/core/channel/v1/channel.ts index ea83608dc8..22814a56eb 100644 --- a/__fixtures__/output1/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/output1/ibc/core/channel/v1/channel.ts @@ -282,7 +282,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -393,7 +393,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -599,7 +599,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/output1/ibc/core/channel/v1/query.ts b/__fixtures__/output1/ibc/core/channel/v1/query.ts index a5d0c1cc34..5040069e59 100644 --- a/__fixtures__/output1/ibc/core/channel/v1/query.ts +++ b/__fixtures__/output1/ibc/core/channel/v1/query.ts @@ -593,9 +593,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -672,7 +672,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -728,8 +728,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -815,7 +815,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -882,8 +882,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -1035,9 +1035,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -1208,7 +1208,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -1377,7 +1377,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -1456,7 +1456,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -1534,8 +1534,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -1701,7 +1701,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -1859,7 +1859,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -1938,7 +1938,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -2045,8 +2045,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -2228,7 +2228,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -2408,7 +2408,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -2560,7 +2560,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: Long.UZERO, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/output1/ibc/core/channel/v1/tx.ts b/__fixtures__/output1/ibc/core/channel/v1/tx.ts index 843f1b39e5..4be8a9e9ef 100644 --- a/__fixtures__/output1/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/output1/ibc/core/channel/v1/tx.ts @@ -258,7 +258,7 @@ export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -378,10 +378,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -548,7 +548,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -713,7 +713,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -975,7 +975,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1115,9 +1115,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1246,9 +1246,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -1389,10 +1389,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -1544,10 +1544,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/output1/ibc/core/client/v1/client.ts b/__fixtures__/output1/ibc/core/client/v1/client.ts index c617736f10..eb284a31df 100644 --- a/__fixtures__/output1/ibc/core/client/v1/client.ts +++ b/__fixtures__/output1/ibc/core/client/v1/client.ts @@ -228,7 +228,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -463,7 +463,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/output1/ibc/core/client/v1/genesis.ts b/__fixtures__/output1/ibc/core/client/v1/genesis.ts index fe02ec1bc8..a53e42e063 100644 --- a/__fixtures__/output1/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/output1/ibc/core/client/v1/genesis.ts @@ -64,7 +64,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: Long.UZERO }; diff --git a/__fixtures__/output1/ibc/core/client/v1/query.ts b/__fixtures__/output1/ibc/core/client/v1/query.ts index 88aa96eab1..162a9d26e7 100644 --- a/__fixtures__/output1/ibc/core/client/v1/query.ts +++ b/__fixtures__/output1/ibc/core/client/v1/query.ts @@ -324,7 +324,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -401,7 +401,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -457,7 +457,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -624,7 +624,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -702,7 +702,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -769,7 +769,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -993,7 +993,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/output1/ibc/core/connection/v1/connection.ts b/__fixtures__/output1/ibc/core/connection/v1/connection.ts index 74593322f2..cd2733149e 100644 --- a/__fixtures__/output1/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/output1/ibc/core/connection/v1/connection.ts @@ -205,7 +205,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -317,7 +317,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -438,7 +438,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/output1/ibc/core/connection/v1/genesis.ts b/__fixtures__/output1/ibc/core/connection/v1/genesis.ts index 2ca52849cd..1e499e26a3 100644 --- a/__fixtures__/output1/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/output1/ibc/core/connection/v1/genesis.ts @@ -22,7 +22,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/ibc/core/connection/v1/query.ts b/__fixtures__/output1/ibc/core/connection/v1/query.ts index b3b418f8c8..135b2e4c1c 100644 --- a/__fixtures__/output1/ibc/core/connection/v1/query.ts +++ b/__fixtures__/output1/ibc/core/connection/v1/query.ts @@ -250,9 +250,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -329,7 +329,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -385,8 +385,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -528,7 +528,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -668,9 +668,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -829,7 +829,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/output1/ibc/core/connection/v1/tx.ts b/__fixtures__/output1/ibc/core/connection/v1/tx.ts index bf501ea099..204c8dccdf 100644 --- a/__fixtures__/output1/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/output1/ibc/core/connection/v1/tx.ts @@ -162,8 +162,8 @@ export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: Long.UZERO, signer: "" }; @@ -307,14 +307,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO, counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -541,13 +541,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -744,7 +744,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/output1/ibc/core/port/v1/query.ts b/__fixtures__/output1/ibc/core/port/v1/query.ts index 8e99050a7e..c433700a5e 100644 --- a/__fixtures__/output1/ibc/core/port/v1/query.ts +++ b/__fixtures__/output1/ibc/core/port/v1/query.ts @@ -40,7 +40,7 @@ function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { portId: "", connectionId: "", ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), proposedVersion: "" }; } diff --git a/__fixtures__/output1/ibc/core/types/v1/genesis.ts b/__fixtures__/output1/ibc/core/types/v1/genesis.ts index 4e98753393..ae77d65254 100644 --- a/__fixtures__/output1/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/output1/ibc/core/types/v1/genesis.ts @@ -24,9 +24,9 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/output1/ibc/lightclients/localhost/v1/localhost.ts index af87e23f01..b05f82f056 100644 --- a/__fixtures__/output1/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/output1/ibc/lightclients/localhost/v1/localhost.ts @@ -23,7 +23,7 @@ export interface ClientStateSDKType { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/output1/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/output1/ibc/lightclients/solomachine/v1/solomachine.ts index 030b532940..e348bcad1f 100644 --- a/__fixtures__/output1/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/output1/ibc/lightclients/solomachine/v1/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, frozenSequence: Long.UZERO, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -649,8 +649,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1201,7 +1201,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1268,7 +1268,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/output1/ibc/lightclients/solomachine/v2/solomachine.ts b/__fixtures__/output1/ibc/lightclients/solomachine/v2/solomachine.ts index 1817f49fe1..4bd31853f9 100644 --- a/__fixtures__/output1/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/__fixtures__/output1/ibc/lightclients/solomachine/v2/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, isFrozen: false, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -649,8 +649,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1201,7 +1201,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1268,7 +1268,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/output1/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/output1/ibc/lightclients/tendermint/v1/tendermint.ts index 4ee7056345..0797bf9fa7 100644 --- a/__fixtures__/output1/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/output1/ibc/lightclients/tendermint/v1/tendermint.ts @@ -162,12 +162,12 @@ export interface FractionSDKType { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -353,7 +353,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -432,8 +432,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -510,10 +510,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/output1/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/claim/v1beta1/genesis.ts index ffc94b0c71..7d2241a0cc 100644 --- a/__fixtures__/output1/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/claim/v1beta1/genesis.ts @@ -22,7 +22,7 @@ export interface GenesisStateSDKType { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/output1/osmosis/claim/v1beta1/query.ts b/__fixtures__/output1/osmosis/claim/v1beta1/query.ts index 72bbb2787e..b08648acb0 100644 --- a/__fixtures__/output1/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/claim/v1beta1/query.ts @@ -213,7 +213,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -323,7 +323,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/output1/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/output1/osmosis/gamm/pool-models/balancer/balancerPool.ts index 98d7c7e574..5ccd3c8454 100644 --- a/__fixtures__/output1/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/output1/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -400,7 +400,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/output1/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/output1/osmosis/gamm/pool-models/balancer/tx/tx.ts index 8c4a80b015..817d3cad29 100644 --- a/__fixtures__/output1/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/output1/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -27,7 +27,7 @@ export interface MsgCreateBalancerPoolResponseSDKType { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 554bf38d39..486532d8aa 100644 --- a/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -129,7 +129,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/tx.ts index 5f4f8c5e2e..ed54655617 100644 --- a/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/output1/osmosis/gamm/pool-models/stableswap/tx.ts @@ -52,7 +52,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponseSDKType {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/output1/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/gamm/v1beta1/genesis.ts index 1eab3fa6e9..615969029a 100644 --- a/__fixtures__/output1/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/gamm/v1beta1/genesis.ts @@ -91,7 +91,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/osmosis/gamm/v1beta1/query.ts b/__fixtures__/output1/osmosis/gamm/v1beta1/query.ts index e2ab38fb07..0d44c14134 100644 --- a/__fixtures__/output1/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/gamm/v1beta1/query.ts @@ -373,7 +373,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -429,7 +429,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -1557,7 +1557,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -1643,7 +1643,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/output1/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/output1/osmosis/ibc-rate-limit/v1beta1/query.ts index 8e6baf7cdb..0595a270ff 100644 --- a/__fixtures__/output1/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -57,7 +57,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/osmosis/incentives/gauge.ts b/__fixtures__/output1/osmosis/incentives/gauge.ts index d2ce77cb30..335d265822 100644 --- a/__fixtures__/output1/osmosis/incentives/gauge.ts +++ b/__fixtures__/output1/osmosis/incentives/gauge.ts @@ -72,7 +72,7 @@ function createBaseGauge(): Gauge { return { id: Long.UZERO, isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO, diff --git a/__fixtures__/output1/osmosis/incentives/genesis.ts b/__fixtures__/output1/osmosis/incentives/genesis.ts index ff1804b069..331e09e415 100644 --- a/__fixtures__/output1/osmosis/incentives/genesis.ts +++ b/__fixtures__/output1/osmosis/incentives/genesis.ts @@ -36,7 +36,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: Long.UZERO diff --git a/__fixtures__/output1/osmosis/incentives/query.ts b/__fixtures__/output1/osmosis/incentives/query.ts index 5508523a00..54764330d8 100644 --- a/__fixtures__/output1/osmosis/incentives/query.ts +++ b/__fixtures__/output1/osmosis/incentives/query.ts @@ -314,7 +314,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -369,7 +369,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -425,7 +425,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -499,7 +499,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -555,7 +555,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -630,7 +630,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -697,7 +697,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -771,7 +771,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -827,7 +827,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -902,7 +902,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -969,7 +969,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/output1/osmosis/incentives/tx.ts b/__fixtures__/output1/osmosis/incentives/tx.ts index 88ce78da5b..54751e033d 100644 --- a/__fixtures__/output1/osmosis/incentives/tx.ts +++ b/__fixtures__/output1/osmosis/incentives/tx.ts @@ -63,7 +63,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO diff --git a/__fixtures__/output1/osmosis/lockup/query.ts b/__fixtures__/output1/osmosis/lockup/query.ts index faab10def1..0264bf4358 100644 --- a/__fixtures__/output1/osmosis/lockup/query.ts +++ b/__fixtures__/output1/osmosis/lockup/query.ts @@ -1491,7 +1491,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -2236,7 +2236,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/mint/v1beta1/genesis.ts index 8f7d23f97d..c9adfe9f3b 100644 --- a/__fixtures__/output1/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/mint/v1beta1/genesis.ts @@ -22,8 +22,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: Long.ZERO }; } diff --git a/__fixtures__/output1/osmosis/mint/v1beta1/mint.ts b/__fixtures__/output1/osmosis/mint/v1beta1/mint.ts index 4aca1f58c0..d2c47e7c4b 100644 --- a/__fixtures__/output1/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/output1/osmosis/mint/v1beta1/mint.ts @@ -334,7 +334,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: Long.ZERO, reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: Long.ZERO }; diff --git a/__fixtures__/output1/osmosis/mint/v1beta1/query.ts b/__fixtures__/output1/osmosis/mint/v1beta1/query.ts index affddfeb5a..3111e59cdf 100644 --- a/__fixtures__/output1/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/mint/v1beta1/query.ts @@ -82,7 +82,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/pool-incentives/v1beta1/genesis.ts index 5066893441..c4173dea28 100644 --- a/__fixtures__/output1/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/pool-incentives/v1beta1/genesis.ts @@ -20,7 +20,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/output1/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/output1/osmosis/pool-incentives/v1beta1/query.ts index e316a3deb0..8d9707654f 100644 --- a/__fixtures__/output1/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/pool-incentives/v1beta1/query.ts @@ -315,7 +315,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -410,7 +410,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output1/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/output1/osmosis/sumtree/v1beta1/tree.ts index 99dfead99f..c9cb05f408 100644 --- a/__fixtures__/output1/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/output1/osmosis/sumtree/v1beta1/tree.ts @@ -153,7 +153,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/output1/osmosis/superfluid/genesis.ts b/__fixtures__/output1/osmosis/superfluid/genesis.ts index e546d572b9..4c4b88be60 100644 --- a/__fixtures__/output1/osmosis/superfluid/genesis.ts +++ b/__fixtures__/output1/osmosis/superfluid/genesis.ts @@ -33,7 +33,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/output1/osmosis/superfluid/query.ts b/__fixtures__/output1/osmosis/superfluid/query.ts index c6fea19cf4..1f726f7e71 100644 --- a/__fixtures__/output1/osmosis/superfluid/query.ts +++ b/__fixtures__/output1/osmosis/superfluid/query.ts @@ -262,7 +262,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -585,7 +585,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -731,7 +731,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -787,7 +787,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -916,7 +916,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/genesis.ts index abf47cf3ef..cbffebb0d0 100644 --- a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/genesis.ts @@ -34,7 +34,7 @@ export interface GenesisDenomSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -110,7 +110,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/query.ts index d11ced90b7..64049e4aae 100644 --- a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/query.ts @@ -114,7 +114,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -224,7 +224,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/tx.ts index aeabd19f4c..1a965582d2 100644 --- a/__fixtures__/output1/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/output1/osmosis/tokenfactory/v1beta1/tx.ts @@ -596,7 +596,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/output1/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/output1/osmosis/twap/v1beta1/genesis.ts index fb25da497d..57f9eef311 100644 --- a/__fixtures__/output1/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/output1/osmosis/twap/v1beta1/genesis.ts @@ -95,7 +95,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output1/osmosis/twap/v1beta1/query.ts b/__fixtures__/output1/osmosis/twap/v1beta1/query.ts index f66f0c7917..d3c97449cc 100644 --- a/__fixtures__/output1/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/output1/osmosis/twap/v1beta1/query.ts @@ -395,7 +395,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/output1/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/output1/osmosis/txfees/v1beta1/gov.ts index bdd38ce5a5..a788c2cb64 100644 --- a/__fixtures__/output1/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/output1/osmosis/txfees/v1beta1/gov.ts @@ -30,7 +30,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/output1/tendermint/abci/types.ts b/__fixtures__/output1/tendermint/abci/types.ts index 9ec7235a50..7fcd0b19c4 100644 --- a/__fixtures__/output1/tendermint/abci/types.ts +++ b/__fixtures__/output1/tendermint/abci/types.ts @@ -1209,7 +1209,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: Long.ZERO @@ -1422,8 +1422,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -1777,7 +1777,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -2569,7 +2569,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -2662,7 +2662,7 @@ function createBaseResponseQuery(): ResponseQuery { index: Long.ZERO, key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: Long.ZERO, codespace: "" }; @@ -3165,7 +3165,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -3603,10 +3603,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -3993,7 +3993,7 @@ function createBaseTxResult(): TxResult { height: Long.ZERO, index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -4215,7 +4215,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -4283,7 +4283,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: Long.ZERO, time: undefined, totalVotingPower: Long.ZERO diff --git a/__fixtures__/output1/tendermint/crypto/proof.ts b/__fixtures__/output1/tendermint/crypto/proof.ts index 5a146ae226..29cf9501f5 100644 --- a/__fixtures__/output1/tendermint/crypto/proof.ts +++ b/__fixtures__/output1/tendermint/crypto/proof.ts @@ -163,7 +163,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/output1/tendermint/p2p/types.ts b/__fixtures__/output1/tendermint/p2p/types.ts index 13b452be25..a1af02b3c5 100644 --- a/__fixtures__/output1/tendermint/p2p/types.ts +++ b/__fixtures__/output1/tendermint/p2p/types.ts @@ -143,14 +143,14 @@ export const ProtocolVersion = { }; function createBaseNodeInfo(): NodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), nodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: NodeInfoOther.fromPartial({}) }; } export const NodeInfo = { diff --git a/__fixtures__/output1/tendermint/types/block.ts b/__fixtures__/output1/tendermint/types/block.ts index 37b54ddba0..529c13f0b9 100644 --- a/__fixtures__/output1/tendermint/types/block.ts +++ b/__fixtures__/output1/tendermint/types/block.ts @@ -17,10 +17,10 @@ export interface BlockSDKType { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/output1/tendermint/types/evidence.ts b/__fixtures__/output1/tendermint/types/evidence.ts index 6ab21e3d44..4991147b59 100644 --- a/__fixtures__/output1/tendermint/types/evidence.ts +++ b/__fixtures__/output1/tendermint/types/evidence.ts @@ -119,8 +119,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: Long.ZERO, validatorPower: Long.ZERO, timestamp: undefined @@ -222,7 +222,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: Long.ZERO, byzantineValidators: [], totalVotingPower: Long.ZERO, diff --git a/__fixtures__/output1/tendermint/types/params.ts b/__fixtures__/output1/tendermint/types/params.ts index 54949392f9..5718b0dd17 100644 --- a/__fixtures__/output1/tendermint/types/params.ts +++ b/__fixtures__/output1/tendermint/types/params.ts @@ -120,10 +120,10 @@ export interface HashedParamsSDKType { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/output1/tendermint/types/types.ts b/__fixtures__/output1/tendermint/types/types.ts index 77f7b76666..5fead00b6d 100644 --- a/__fixtures__/output1/tendermint/types/types.ts +++ b/__fixtures__/output1/tendermint/types/types.ts @@ -367,7 +367,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -445,7 +445,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -511,11 +511,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: Long.ZERO, time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -788,7 +788,7 @@ function createBaseVote(): Vote { type: 0, height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -926,7 +926,7 @@ function createBaseCommit(): Commit { return { height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -1118,7 +1118,7 @@ function createBaseProposal(): Proposal { height: Long.ZERO, round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -1241,8 +1241,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1308,8 +1308,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1375,9 +1375,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: Long.ZERO, - header: undefined, + header: Header.fromPartial({}), numTxs: Long.ZERO }; } @@ -1468,7 +1468,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/output1/tendermint/types/validator.ts b/__fixtures__/output1/tendermint/types/validator.ts index 17a18243cc..d09644469c 100644 --- a/__fixtures__/output1/tendermint/types/validator.ts +++ b/__fixtures__/output1/tendermint/types/validator.ts @@ -35,7 +35,7 @@ export interface SimpleValidatorSDKType { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: Long.ZERO }; } diff --git a/__fixtures__/output2/akash/audit/v1beta2/query.ts b/__fixtures__/output2/akash/audit/v1beta2/query.ts index 159a7781de..37e3a1272a 100644 --- a/__fixtures__/output2/akash/audit/v1beta2/query.ts +++ b/__fixtures__/output2/akash/audit/v1beta2/query.ts @@ -37,7 +37,7 @@ export interface QueryAuditorAttributesRequest { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -150,7 +150,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -196,7 +196,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -306,7 +306,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/output2/akash/base/v1beta1/attribute.ts b/__fixtures__/output2/akash/base/v1beta1/attribute.ts index 45f72351df..5319e68274 100644 --- a/__fixtures__/output2/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/output2/akash/base/v1beta1/attribute.ts @@ -147,7 +147,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output2/akash/base/v1beta1/resource.ts b/__fixtures__/output2/akash/base/v1beta1/resource.ts index fc83ccdf13..04e8765de3 100644 --- a/__fixtures__/output2/akash/base/v1beta1/resource.ts +++ b/__fixtures__/output2/akash/base/v1beta1/resource.ts @@ -33,7 +33,7 @@ export interface ResourceUnits { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -92,7 +92,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -151,7 +151,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output2/akash/base/v1beta2/attribute.ts b/__fixtures__/output2/akash/base/v1beta2/attribute.ts index 3339589be9..3d055da468 100644 --- a/__fixtures__/output2/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/output2/akash/base/v1beta2/attribute.ts @@ -147,7 +147,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output2/akash/base/v1beta2/resource.ts b/__fixtures__/output2/akash/base/v1beta2/resource.ts index 7ca981fc6a..fbb82f590d 100644 --- a/__fixtures__/output2/akash/base/v1beta2/resource.ts +++ b/__fixtures__/output2/akash/base/v1beta2/resource.ts @@ -23,7 +23,7 @@ export interface Storage { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -82,7 +82,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -142,7 +142,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/output2/akash/cert/v1beta2/cert.ts b/__fixtures__/output2/akash/cert/v1beta2/cert.ts index cb0a560b9b..25487ab01e 100644 --- a/__fixtures__/output2/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/output2/akash/cert/v1beta2/cert.ts @@ -359,7 +359,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/output2/akash/cert/v1beta2/genesis.ts b/__fixtures__/output2/akash/cert/v1beta2/genesis.ts index 1f896a4f51..53a4d2aea5 100644 --- a/__fixtures__/output2/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/output2/akash/cert/v1beta2/genesis.ts @@ -16,7 +16,7 @@ export interface GenesisState { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/output2/akash/cert/v1beta2/query.ts b/__fixtures__/output2/akash/cert/v1beta2/query.ts index afecfa7f7d..e49ca0c9cd 100644 --- a/__fixtures__/output2/akash/cert/v1beta2/query.ts +++ b/__fixtures__/output2/akash/cert/v1beta2/query.ts @@ -22,7 +22,7 @@ export interface QueryCertificatesResponse { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -77,8 +77,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -133,7 +133,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/output2/akash/deployment/v1beta1/deployment.ts b/__fixtures__/output2/akash/deployment/v1beta1/deployment.ts index 3553c332ef..64053c6893 100644 --- a/__fixtures__/output2/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/output2/akash/deployment/v1beta1/deployment.ts @@ -95,7 +95,7 @@ export interface DeploymentFilters { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -207,7 +207,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -295,7 +295,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -397,7 +397,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -530,7 +530,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/output2/akash/deployment/v1beta1/genesis.ts b/__fixtures__/output2/akash/deployment/v1beta1/genesis.ts index 92c643c684..982aa7046b 100644 --- a/__fixtures__/output2/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/output2/akash/deployment/v1beta1/genesis.ts @@ -18,7 +18,7 @@ export interface GenesisState { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -78,7 +78,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/akash/deployment/v1beta1/group.ts b/__fixtures__/output2/akash/deployment/v1beta1/group.ts index c243564934..092ac754aa 100644 --- a/__fixtures__/output2/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/output2/akash/deployment/v1beta1/group.ts @@ -105,7 +105,7 @@ export interface Resource { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -183,7 +183,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -261,7 +261,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -405,7 +405,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -473,9 +473,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } @@ -548,7 +548,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/output2/akash/deployment/v1beta1/query.ts b/__fixtures__/output2/akash/deployment/v1beta1/query.ts index d505b9c7d2..aa8e6388cc 100644 --- a/__fixtures__/output2/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/output2/akash/deployment/v1beta1/query.ts @@ -37,8 +37,8 @@ export interface QueryGroupResponse { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -93,7 +93,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -151,7 +151,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -196,9 +196,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -265,7 +265,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -310,7 +310,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/output2/akash/deployment/v1beta2/deployment.ts b/__fixtures__/output2/akash/deployment/v1beta2/deployment.ts index c414393607..060689c516 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/deployment.ts @@ -118,7 +118,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/output2/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/output2/akash/deployment/v1beta2/deploymentmsg.ts index 1cb1304f9d..2ecbabbb27 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/deploymentmsg.ts @@ -41,7 +41,7 @@ export interface MsgCloseDeployment { export interface MsgCloseDeploymentResponse {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -163,7 +163,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -261,7 +261,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -349,7 +349,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/output2/akash/deployment/v1beta2/genesis.ts b/__fixtures__/output2/akash/deployment/v1beta2/genesis.ts index c3fc1101e3..eaeaa7873a 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/genesis.ts @@ -18,7 +18,7 @@ export interface GenesisState { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -78,7 +78,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/akash/deployment/v1beta2/group.ts b/__fixtures__/output2/akash/deployment/v1beta2/group.ts index 2846caf0ca..554e50a1e8 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/group.ts @@ -68,9 +68,9 @@ export interface Group { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output2/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/output2/akash/deployment/v1beta2/groupmsg.ts index d1a5faa1e1..ea2819e17a 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/groupmsg.ts @@ -24,7 +24,7 @@ export interface MsgStartGroup { export interface MsgStartGroupResponse {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -102,7 +102,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -180,7 +180,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/output2/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/output2/akash/deployment/v1beta2/groupspec.ts index 401b628ac9..747e10d5a7 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/groupspec.ts @@ -14,7 +14,7 @@ export interface GroupSpec { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/output2/akash/deployment/v1beta2/query.ts b/__fixtures__/output2/akash/deployment/v1beta2/query.ts index eddab39821..e0b774449a 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/query.ts @@ -38,8 +38,8 @@ export interface QueryGroupResponse { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -94,7 +94,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -152,7 +152,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -197,9 +197,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -266,7 +266,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -311,7 +311,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/output2/akash/deployment/v1beta2/resource.ts b/__fixtures__/output2/akash/deployment/v1beta2/resource.ts index a4c8d41cc8..aa13d79341 100644 --- a/__fixtures__/output2/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/output2/akash/deployment/v1beta2/resource.ts @@ -13,9 +13,9 @@ export interface Resource { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/output2/akash/escrow/v1beta1/query.ts b/__fixtures__/output2/akash/escrow/v1beta1/query.ts index 83d68d68b1..39abe920ab 100644 --- a/__fixtures__/output2/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/output2/akash/escrow/v1beta1/query.ts @@ -38,7 +38,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -120,7 +120,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -183,7 +183,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -274,7 +274,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/output2/akash/escrow/v1beta1/types.ts b/__fixtures__/output2/akash/escrow/v1beta1/types.ts index 525aeb6666..e8834b5081 100644 --- a/__fixtures__/output2/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/output2/akash/escrow/v1beta1/types.ts @@ -185,7 +185,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -280,7 +280,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/output2/akash/escrow/v1beta2/query.ts b/__fixtures__/output2/akash/escrow/v1beta2/query.ts index 33499c3ad7..e8f99cf370 100644 --- a/__fixtures__/output2/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/output2/akash/escrow/v1beta2/query.ts @@ -38,7 +38,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -120,7 +120,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -183,7 +183,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -274,7 +274,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/output2/akash/escrow/v1beta2/types.ts b/__fixtures__/output2/akash/escrow/v1beta2/types.ts index 634061a7b7..2d5ad45f84 100644 --- a/__fixtures__/output2/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/output2/akash/escrow/v1beta2/types.ts @@ -196,14 +196,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: Long.ZERO, depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -311,12 +311,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/output2/akash/inflation/v1beta2/genesis.ts b/__fixtures__/output2/akash/inflation/v1beta2/genesis.ts index 15455ebdf5..4055e5e590 100644 --- a/__fixtures__/output2/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/output2/akash/inflation/v1beta2/genesis.ts @@ -10,7 +10,7 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/akash/market/v1beta2/bid.ts b/__fixtures__/output2/akash/market/v1beta2/bid.ts index 20f98551eb..471446052f 100644 --- a/__fixtures__/output2/akash/market/v1beta2/bid.ts +++ b/__fixtures__/output2/akash/market/v1beta2/bid.ts @@ -103,9 +103,9 @@ export interface BidFilters { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -211,7 +211,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -374,9 +374,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output2/akash/market/v1beta2/genesis.ts b/__fixtures__/output2/akash/market/v1beta2/genesis.ts index dd09e82ceb..bcc7b4c2ef 100644 --- a/__fixtures__/output2/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/output2/akash/market/v1beta2/genesis.ts @@ -16,7 +16,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/akash/market/v1beta2/lease.ts b/__fixtures__/output2/akash/market/v1beta2/lease.ts index 740071603b..1e232b84d4 100644 --- a/__fixtures__/output2/akash/market/v1beta2/lease.ts +++ b/__fixtures__/output2/akash/market/v1beta2/lease.ts @@ -182,9 +182,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO, closedOn: Long.ZERO }; @@ -362,7 +362,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -440,7 +440,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -518,7 +518,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/output2/akash/market/v1beta2/order.ts b/__fixtures__/output2/akash/market/v1beta2/order.ts index 63e257f68a..ac56fbf7b1 100644 --- a/__fixtures__/output2/akash/market/v1beta2/order.ts +++ b/__fixtures__/output2/akash/market/v1beta2/order.ts @@ -150,9 +150,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/output2/akash/market/v1beta2/query.ts b/__fixtures__/output2/akash/market/v1beta2/query.ts index 8eec94160c..f4945f45a6 100644 --- a/__fixtures__/output2/akash/market/v1beta2/query.ts +++ b/__fixtures__/output2/akash/market/v1beta2/query.ts @@ -66,8 +66,8 @@ export interface QueryLeaseResponse { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -122,7 +122,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -180,7 +180,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -225,7 +225,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -270,8 +270,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -326,7 +326,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -384,7 +384,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -429,8 +429,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -484,8 +484,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -540,7 +540,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -598,7 +598,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -643,8 +643,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/output2/akash/provider/v1beta1/provider.ts b/__fixtures__/output2/akash/provider/v1beta1/provider.ts index 8cc0682dfe..0479a16b04 100644 --- a/__fixtures__/output2/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/output2/akash/provider/v1beta1/provider.ts @@ -100,7 +100,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -212,7 +212,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -402,7 +402,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/output2/akash/provider/v1beta2/provider.ts b/__fixtures__/output2/akash/provider/v1beta2/provider.ts index a49cc1606d..b15a0ae546 100644 --- a/__fixtures__/output2/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/output2/akash/provider/v1beta2/provider.ts @@ -100,7 +100,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -212,7 +212,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -402,7 +402,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/output2/akash/provider/v1beta2/query.ts b/__fixtures__/output2/akash/provider/v1beta2/query.ts index c5beb2594f..3ead8fa51a 100644 --- a/__fixtures__/output2/akash/provider/v1beta2/query.ts +++ b/__fixtures__/output2/akash/provider/v1beta2/query.ts @@ -24,7 +24,7 @@ export interface QueryProviderResponse { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -70,7 +70,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -173,7 +173,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/output2/confio/proofs.ts b/__fixtures__/output2/confio/proofs.ts index 6d5019b399..00fe69ac10 100644 --- a/__fixtures__/output2/confio/proofs.ts +++ b/__fixtures__/output2/confio/proofs.ts @@ -324,7 +324,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -402,8 +402,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -691,8 +691,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -1098,7 +1098,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -1185,8 +1185,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/output2/cosmos/app/v1alpha1/query.ts b/__fixtures__/output2/cosmos/app/v1alpha1/query.ts index a543c99a31..02404ce81a 100644 --- a/__fixtures__/output2/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/output2/cosmos/app/v1alpha1/query.ts @@ -46,7 +46,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/output2/cosmos/auth/v1beta1/auth.ts b/__fixtures__/output2/cosmos/auth/v1beta1/auth.ts index 9fd00666c3..118583d0cd 100644 --- a/__fixtures__/output2/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/output2/cosmos/auth/v1beta1/auth.ts @@ -106,7 +106,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/output2/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/auth/v1beta1/genesis.ts index fd7e1781bb..3a9f40241b 100644 --- a/__fixtures__/output2/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/auth/v1beta1/genesis.ts @@ -14,7 +14,7 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/output2/cosmos/auth/v1beta1/query.ts b/__fixtures__/output2/cosmos/auth/v1beta1/query.ts index 195233a069..9b76e8a4e2 100644 --- a/__fixtures__/output2/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/auth/v1beta1/query.ts @@ -45,7 +45,7 @@ export interface QueryParamsResponse { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -91,7 +91,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -272,7 +272,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/cosmos/authz/v1beta1/query.ts b/__fixtures__/output2/cosmos/authz/v1beta1/query.ts index a1c4534d48..67d487f3f0 100644 --- a/__fixtures__/output2/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/authz/v1beta1/query.ts @@ -52,7 +52,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -125,7 +125,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -184,7 +184,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -239,7 +239,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -298,7 +298,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -353,7 +353,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/output2/cosmos/authz/v1beta1/tx.ts b/__fixtures__/output2/cosmos/authz/v1beta1/tx.ts index 2c82ed0a33..985cc09711 100644 --- a/__fixtures__/output2/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/output2/cosmos/authz/v1beta1/tx.ts @@ -49,7 +49,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/output2/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/bank/v1beta1/genesis.ts index 2b4f4a11ca..bf2cd2898d 100644 --- a/__fixtures__/output2/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/bank/v1beta1/genesis.ts @@ -31,7 +31,7 @@ export interface Balance { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/output2/cosmos/bank/v1beta1/query.ts b/__fixtures__/output2/cosmos/bank/v1beta1/query.ts index 99da61d7c9..8f746242ec 100644 --- a/__fixtures__/output2/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/bank/v1beta1/query.ts @@ -228,7 +228,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -283,7 +283,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -342,7 +342,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -397,7 +397,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -455,7 +455,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -501,7 +501,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -682,7 +682,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -727,7 +727,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -773,7 +773,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -876,7 +876,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { diff --git a/__fixtures__/output2/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/output2/cosmos/base/abci/v1beta1/abci.ts index f4992b7ca9..5f115c2f23 100644 --- a/__fixtures__/output2/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/output2/cosmos/base/abci/v1beta1/abci.ts @@ -619,8 +619,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/output2/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/output2/cosmos/base/snapshots/v1beta1/snapshot.ts index 4c224d2633..80d88be002 100644 --- a/__fixtures__/output2/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/output2/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -51,7 +51,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/output2/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/output2/cosmos/base/store/v1beta1/commit_info.ts index f3378733c0..e9ce22382b 100644 --- a/__fixtures__/output2/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/output2/cosmos/base/store/v1beta1/commit_info.ts @@ -89,7 +89,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/output2/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/output2/cosmos/base/tendermint/v1beta1/query.ts index dcb76b129d..e292535d5d 100644 --- a/__fixtures__/output2/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/base/tendermint/v1beta1/query.ts @@ -93,7 +93,7 @@ export interface Module { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -149,7 +149,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -216,7 +216,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -263,7 +263,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -450,8 +450,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -538,8 +538,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -704,8 +704,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - defaultNodeInfo: undefined, - applicationVersion: undefined + defaultNodeInfo: DefaultNodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/output2/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/capability/v1beta1/genesis.ts index b4dbab6905..b110eb8815 100644 --- a/__fixtures__/output2/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/capability/v1beta1/genesis.ts @@ -24,7 +24,7 @@ export interface GenesisState { function createBaseGenesisOwners(): GenesisOwners { return { index: Long.UZERO, - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/output2/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/output2/cosmos/crypto/keyring/v1/record.ts index 90eefd3f13..dfe8a2bcf0 100644 --- a/__fixtures__/output2/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/output2/cosmos/crypto/keyring/v1/record.ts @@ -188,7 +188,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/output2/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/distribution/v1beta1/genesis.ts index 2852f23cf8..52f39ef73d 100644 --- a/__fixtures__/output2/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/distribution/v1beta1/genesis.ts @@ -212,7 +212,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -268,7 +268,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: Long.UZERO, - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -332,7 +332,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -388,7 +388,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -454,7 +454,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: Long.UZERO, period: Long.UZERO, - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -526,8 +526,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/output2/cosmos/distribution/v1beta1/query.ts b/__fixtures__/output2/cosmos/distribution/v1beta1/query.ts index 06de63d361..aecc792c36 100644 --- a/__fixtures__/output2/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/distribution/v1beta1/query.ts @@ -184,7 +184,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -274,7 +274,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -364,7 +364,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -412,7 +412,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: Long.UZERO, endingHeight: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -485,7 +485,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/output2/cosmos/evidence/v1beta1/query.ts b/__fixtures__/output2/cosmos/evidence/v1beta1/query.ts index 48063bf506..8c6fc14495 100644 --- a/__fixtures__/output2/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/evidence/v1beta1/query.ts @@ -125,7 +125,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -171,7 +171,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/output2/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/output2/cosmos/feegrant/v1beta1/feegrant.ts index 49d513e62a..a74026a9d4 100644 --- a/__fixtures__/output2/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/output2/cosmos/feegrant/v1beta1/feegrant.ts @@ -124,7 +124,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/output2/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/output2/cosmos/feegrant/v1beta1/query.ts index e0f0aea5b8..70a61781aa 100644 --- a/__fixtures__/output2/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/feegrant/v1beta1/query.ts @@ -100,7 +100,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -146,7 +146,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -201,7 +201,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -260,7 +260,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -315,7 +315,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/output2/cosmos/gov/v1/genesis.ts b/__fixtures__/output2/cosmos/gov/v1/genesis.ts index 1ab9358d30..6d36c37abf 100644 --- a/__fixtures__/output2/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/output2/cosmos/gov/v1/genesis.ts @@ -27,9 +27,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/cosmos/gov/v1/gov.ts b/__fixtures__/output2/cosmos/gov/v1/gov.ts index 3e54d78bba..ae0a7fb9e3 100644 --- a/__fixtures__/output2/cosmos/gov/v1/gov.ts +++ b/__fixtures__/output2/cosmos/gov/v1/gov.ts @@ -347,7 +347,7 @@ function createBaseProposal(): Proposal { id: Long.UZERO, messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/output2/cosmos/gov/v1/query.ts b/__fixtures__/output2/cosmos/gov/v1/query.ts index b2721985c0..ab324e3dd0 100644 --- a/__fixtures__/output2/cosmos/gov/v1/query.ts +++ b/__fixtures__/output2/cosmos/gov/v1/query.ts @@ -159,7 +159,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -207,7 +207,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -280,7 +280,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -393,7 +393,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -439,7 +439,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -494,7 +494,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -597,9 +597,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -717,7 +717,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -763,7 +763,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -818,7 +818,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -921,7 +921,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output2/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/gov/v1beta1/genesis.ts index 45da6ea897..21cb585c91 100644 --- a/__fixtures__/output2/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/gov/v1beta1/genesis.ts @@ -27,9 +27,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/cosmos/gov/v1beta1/gov.ts b/__fixtures__/output2/cosmos/gov/v1beta1/gov.ts index 21b52accc7..8a61a5cab3 100644 --- a/__fixtures__/output2/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/output2/cosmos/gov/v1beta1/gov.ts @@ -413,7 +413,7 @@ function createBaseProposal(): Proposal { proposalId: Long.UZERO, content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/output2/cosmos/gov/v1beta1/query.ts b/__fixtures__/output2/cosmos/gov/v1beta1/query.ts index cd287ba396..ba1deb10c6 100644 --- a/__fixtures__/output2/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/gov/v1beta1/query.ts @@ -159,7 +159,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -207,7 +207,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -280,7 +280,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -393,7 +393,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -439,7 +439,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -494,7 +494,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -597,9 +597,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -717,7 +717,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -763,7 +763,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -818,7 +818,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -921,7 +921,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output2/cosmos/group/v1/query.ts b/__fixtures__/output2/cosmos/group/v1/query.ts index c67fd739f3..0f8f41b2f4 100644 --- a/__fixtures__/output2/cosmos/group/v1/query.ts +++ b/__fixtures__/output2/cosmos/group/v1/query.ts @@ -216,7 +216,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -306,7 +306,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -352,7 +352,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -407,7 +407,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -466,7 +466,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -521,7 +521,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -580,7 +580,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -635,7 +635,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -694,7 +694,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -749,7 +749,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -852,7 +852,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -898,7 +898,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -953,7 +953,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -1066,7 +1066,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -1112,7 +1112,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -1167,7 +1167,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -1226,7 +1226,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -1281,7 +1281,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -1340,7 +1340,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -1395,7 +1395,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -1498,7 +1498,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/output2/cosmos/group/v1/types.ts b/__fixtures__/output2/cosmos/group/v1/types.ts index ce5d6d76bf..3795851d7c 100644 --- a/__fixtures__/output2/cosmos/group/v1/types.ts +++ b/__fixtures__/output2/cosmos/group/v1/types.ts @@ -518,7 +518,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -573,7 +573,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -778,7 +778,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: Long.UZERO, - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -946,7 +946,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: Long.UZERO, status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/output2/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/mint/v1beta1/genesis.ts index 86ffd80632..90c7b9eff2 100644 --- a/__fixtures__/output2/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/mint/v1beta1/genesis.ts @@ -13,8 +13,8 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/cosmos/mint/v1beta1/query.ts b/__fixtures__/output2/cosmos/mint/v1beta1/query.ts index 3ded2e4edb..429d432a1b 100644 --- a/__fixtures__/output2/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/mint/v1beta1/query.ts @@ -69,7 +69,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/cosmos/nft/v1beta1/query.ts b/__fixtures__/output2/cosmos/nft/v1beta1/query.ts index 54cf96c730..a58c0da17a 100644 --- a/__fixtures__/output2/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/nft/v1beta1/query.ts @@ -363,7 +363,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -427,7 +427,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -540,7 +540,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -630,7 +630,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -675,7 +675,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -721,7 +721,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/output2/cosmos/orm/v1/orm.ts b/__fixtures__/output2/cosmos/orm/v1/orm.ts index 0ddf6b34eb..3d6a55b417 100644 --- a/__fixtures__/output2/cosmos/orm/v1/orm.ts +++ b/__fixtures__/output2/cosmos/orm/v1/orm.ts @@ -92,7 +92,7 @@ export interface SingletonDescriptor { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/output2/cosmos/params/v1beta1/query.ts b/__fixtures__/output2/cosmos/params/v1beta1/query.ts index 85cd8c9347..e28b0e7d0e 100644 --- a/__fixtures__/output2/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/params/v1beta1/query.ts @@ -73,7 +73,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/slashing/v1beta1/genesis.ts index a542604bb5..7e40512ca1 100644 --- a/__fixtures__/output2/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/slashing/v1beta1/genesis.ts @@ -45,7 +45,7 @@ export interface MissedBlock { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -119,7 +119,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/output2/cosmos/slashing/v1beta1/query.ts b/__fixtures__/output2/cosmos/slashing/v1beta1/query.ts index 8a3908d118..aba299c132 100644 --- a/__fixtures__/output2/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/slashing/v1beta1/query.ts @@ -78,7 +78,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -168,7 +168,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -213,7 +213,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -259,7 +259,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/output2/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/output2/cosmos/staking/v1beta1/genesis.ts index 73a4ae2b1e..0574ae1a89 100644 --- a/__fixtures__/output2/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/output2/cosmos/staking/v1beta1/genesis.ts @@ -37,7 +37,7 @@ export interface LastValidatorPower { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/output2/cosmos/staking/v1beta1/query.ts b/__fixtures__/output2/cosmos/staking/v1beta1/query.ts index 9e739ad3ac..ecf8230662 100644 --- a/__fixtures__/output2/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/staking/v1beta1/query.ts @@ -230,7 +230,7 @@ export interface QueryParamsResponse { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -285,7 +285,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -388,7 +388,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -434,7 +434,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -489,7 +489,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -548,7 +548,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -603,7 +603,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -716,7 +716,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -816,7 +816,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -862,7 +862,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -917,7 +917,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -976,7 +976,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -1031,7 +1031,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -1092,7 +1092,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -1165,7 +1165,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -1224,7 +1224,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -1279,7 +1279,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -1392,7 +1392,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -1482,7 +1482,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -1560,7 +1560,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -1638,7 +1638,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/cosmos/staking/v1beta1/staking.ts b/__fixtures__/output2/cosmos/staking/v1beta1/staking.ts index b0fce88267..bcbea249bd 100644 --- a/__fixtures__/output2/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/output2/cosmos/staking/v1beta1/staking.ts @@ -273,7 +273,7 @@ export interface Pool { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -397,7 +397,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -543,10 +543,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: Long.ZERO, unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -1397,7 +1397,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -1452,7 +1452,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -1507,7 +1507,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/output2/cosmos/staking/v1beta1/tx.ts b/__fixtures__/output2/cosmos/staking/v1beta1/tx.ts index ddb9ebdd9c..1bb37edb6a 100644 --- a/__fixtures__/output2/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/output2/cosmos/staking/v1beta1/tx.ts @@ -74,8 +74,8 @@ export interface MsgUndelegateResponse { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -212,7 +212,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/output2/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/output2/cosmos/tx/signing/v1beta1/signing.ts index e3c510d0cd..d5a5e5a841 100644 --- a/__fixtures__/output2/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/output2/cosmos/tx/signing/v1beta1/signing.ts @@ -178,7 +178,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: Long.UZERO }; } @@ -352,7 +352,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/output2/cosmos/tx/v1beta1/service.ts b/__fixtures__/output2/cosmos/tx/v1beta1/service.ts index 6dd7e76d5e..a50abc827e 100644 --- a/__fixtures__/output2/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/output2/cosmos/tx/v1beta1/service.ts @@ -215,7 +215,7 @@ export interface GetBlockWithTxsResponse { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -285,7 +285,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -411,7 +411,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -456,7 +456,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -511,8 +511,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -611,8 +611,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -667,7 +667,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -722,9 +722,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/output2/cosmos/tx/v1beta1/tx.ts b/__fixtures__/output2/cosmos/tx/v1beta1/tx.ts index 253ef37bba..a72a67ac05 100644 --- a/__fixtures__/output2/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/output2/cosmos/tx/v1beta1/tx.ts @@ -202,8 +202,8 @@ export interface Fee { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -513,7 +513,7 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined + fee: Fee.fromPartial({}) }; } export const AuthInfo = { @@ -572,7 +572,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: Long.UZERO }; } @@ -736,7 +736,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } diff --git a/__fixtures__/output2/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/output2/cosmos/upgrade/v1beta1/query.ts index cbdcd6ca9f..d703b9fc37 100644 --- a/__fixtures__/output2/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/output2/cosmos/upgrade/v1beta1/query.ts @@ -113,7 +113,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/output2/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/output2/cosmos/upgrade/v1beta1/tx.ts index 3fcb677e29..be582eb7e5 100644 --- a/__fixtures__/output2/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/output2/cosmos/upgrade/v1beta1/tx.ts @@ -39,7 +39,7 @@ export interface MsgCancelUpgradeResponse {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/output2/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/output2/cosmos/upgrade/v1beta1/upgrade.ts index b8fd8d169e..91cf37da92 100644 --- a/__fixtures__/output2/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/output2/cosmos/upgrade/v1beta1/upgrade.ts @@ -159,7 +159,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/output2/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/output2/cosmos/vesting/v1beta1/vesting.ts index 325d75fb53..cc3e3df229 100644 --- a/__fixtures__/output2/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/output2/cosmos/vesting/v1beta1/vesting.ts @@ -58,7 +58,7 @@ export interface PermanentLockedAccount { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -155,7 +155,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO }; } @@ -210,7 +210,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -314,7 +314,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO, vestingPeriods: [] }; @@ -383,7 +383,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/output2/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/output2/cosmwasm/wasm/v1/genesis.ts index 3bbed5bcb5..848d9e939a 100644 --- a/__fixtures__/output2/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/output2/cosmwasm/wasm/v1/genesis.ts @@ -43,7 +43,7 @@ export interface Sequence { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -210,7 +210,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: Long.UZERO, - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -285,7 +285,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/output2/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/output2/cosmwasm/wasm/v1/proposal.ts index b0b253c8b8..d5e48eb777 100644 --- a/__fixtures__/output2/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/output2/cosmwasm/wasm/v1/proposal.ts @@ -160,7 +160,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { @@ -916,7 +916,7 @@ export const UnpinCodesProposal = { function createBaseAccessConfigUpdate(): AccessConfigUpdate { return { codeId: Long.UZERO, - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const AccessConfigUpdate = { diff --git a/__fixtures__/output2/cosmwasm/wasm/v1/query.ts b/__fixtures__/output2/cosmwasm/wasm/v1/query.ts index 2c88a0c5c3..2116263368 100644 --- a/__fixtures__/output2/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/output2/cosmwasm/wasm/v1/query.ts @@ -210,7 +210,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -265,7 +265,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -320,7 +320,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -379,7 +379,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -434,7 +434,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -493,7 +493,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -548,7 +548,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -854,7 +854,7 @@ function createBaseCodeInfoResponse(): CodeInfoResponse { codeId: Long.UZERO, creator: "", dataHash: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const CodeInfoResponse = { @@ -926,7 +926,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -981,7 +981,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -1027,7 +1027,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -1085,7 +1085,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -1131,7 +1131,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/output2/cosmwasm/wasm/v1/tx.ts b/__fixtures__/output2/cosmwasm/wasm/v1/tx.ts index 520cc006dc..16a27f744d 100644 --- a/__fixtures__/output2/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/output2/cosmwasm/wasm/v1/tx.ts @@ -106,7 +106,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/output2/cosmwasm/wasm/v1/types.ts b/__fixtures__/output2/cosmwasm/wasm/v1/types.ts index c1ee3123e4..595288fd5e 100644 --- a/__fixtures__/output2/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/output2/cosmwasm/wasm/v1/types.ts @@ -275,7 +275,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0 }; } @@ -332,7 +332,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -399,7 +399,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -502,7 +502,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: Long.UZERO, - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/output2/evmos/claims/v1/genesis.ts b/__fixtures__/output2/evmos/claims/v1/genesis.ts index 198c915191..66b67dfb50 100644 --- a/__fixtures__/output2/evmos/claims/v1/genesis.ts +++ b/__fixtures__/output2/evmos/claims/v1/genesis.ts @@ -35,7 +35,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/output2/evmos/claims/v1/query.ts b/__fixtures__/output2/evmos/claims/v1/query.ts index 178330ce3a..18d8e08a29 100644 --- a/__fixtures__/output2/evmos/claims/v1/query.ts +++ b/__fixtures__/output2/evmos/claims/v1/query.ts @@ -180,7 +180,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -225,7 +225,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -271,7 +271,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/output2/evmos/epochs/v1/query.ts b/__fixtures__/output2/evmos/epochs/v1/query.ts index 1a1706bb97..cc8e7a8869 100644 --- a/__fixtures__/output2/evmos/epochs/v1/query.ts +++ b/__fixtures__/output2/evmos/epochs/v1/query.ts @@ -20,7 +20,7 @@ export interface QueryCurrentEpochResponse { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -66,7 +66,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/output2/evmos/erc20/v1/erc20.ts b/__fixtures__/output2/evmos/erc20/v1/erc20.ts index 3909ae0ed1..f6c77203cb 100644 --- a/__fixtures__/output2/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/output2/evmos/erc20/v1/erc20.ts @@ -176,7 +176,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/output2/evmos/erc20/v1/genesis.ts b/__fixtures__/output2/evmos/erc20/v1/genesis.ts index b509787b79..ba8038225f 100644 --- a/__fixtures__/output2/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/output2/evmos/erc20/v1/genesis.ts @@ -24,7 +24,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/output2/evmos/erc20/v1/query.ts b/__fixtures__/output2/evmos/erc20/v1/query.ts index 8285927a38..e9c8c98e5e 100644 --- a/__fixtures__/output2/evmos/erc20/v1/query.ts +++ b/__fixtures__/output2/evmos/erc20/v1/query.ts @@ -49,7 +49,7 @@ export interface QueryParamsResponse { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -95,7 +95,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -198,7 +198,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -276,7 +276,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/evmos/fees/v1/genesis.ts b/__fixtures__/output2/evmos/fees/v1/genesis.ts index 4c918923d3..7cd0ab8ac1 100644 --- a/__fixtures__/output2/evmos/fees/v1/genesis.ts +++ b/__fixtures__/output2/evmos/fees/v1/genesis.ts @@ -35,7 +35,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/output2/evmos/fees/v1/query.ts b/__fixtures__/output2/evmos/fees/v1/query.ts index b1275732cf..47dd23c291 100644 --- a/__fixtures__/output2/evmos/fees/v1/query.ts +++ b/__fixtures__/output2/evmos/fees/v1/query.ts @@ -68,7 +68,7 @@ export interface QueryDevFeeInfosPerDeployerResponse { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -114,7 +114,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -217,7 +217,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -295,7 +295,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -341,7 +341,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -396,7 +396,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/output2/evmos/incentives/v1/genesis.ts b/__fixtures__/output2/evmos/incentives/v1/genesis.ts index 164c99b57e..c5256cbc38 100644 --- a/__fixtures__/output2/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/output2/evmos/incentives/v1/genesis.ts @@ -26,7 +26,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/output2/evmos/incentives/v1/query.ts b/__fixtures__/output2/evmos/incentives/v1/query.ts index 2cc08b710c..ef5b2d86d2 100644 --- a/__fixtures__/output2/evmos/incentives/v1/query.ts +++ b/__fixtures__/output2/evmos/incentives/v1/query.ts @@ -116,7 +116,7 @@ export interface QueryParamsResponse { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -162,7 +162,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -265,7 +265,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -311,7 +311,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -366,7 +366,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -524,7 +524,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -570,7 +570,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -673,7 +673,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -751,7 +751,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/evmos/inflation/v1/genesis.ts b/__fixtures__/output2/evmos/inflation/v1/genesis.ts index 3ff587afa5..9acdb4c7e2 100644 --- a/__fixtures__/output2/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/output2/evmos/inflation/v1/genesis.ts @@ -30,7 +30,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: Long.UZERO, epochIdentifier: "", epochsPerPeriod: Long.ZERO, @@ -116,8 +116,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/output2/evmos/inflation/v1/query.ts b/__fixtures__/output2/evmos/inflation/v1/query.ts index 1615ef967e..e235f16953 100644 --- a/__fixtures__/output2/evmos/inflation/v1/query.ts +++ b/__fixtures__/output2/evmos/inflation/v1/query.ts @@ -184,7 +184,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -340,7 +340,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -496,7 +496,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/evmos/recovery/v1/genesis.ts b/__fixtures__/output2/evmos/recovery/v1/genesis.ts index a89fe6e492..e2479f3d1a 100644 --- a/__fixtures__/output2/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/output2/evmos/recovery/v1/genesis.ts @@ -18,7 +18,7 @@ export interface Params { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/evmos/recovery/v1/query.ts b/__fixtures__/output2/evmos/recovery/v1/query.ts index a31ceccd97..79682857fc 100644 --- a/__fixtures__/output2/evmos/recovery/v1/query.ts +++ b/__fixtures__/output2/evmos/recovery/v1/query.ts @@ -46,7 +46,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/evmos/vesting/v1/vesting.ts b/__fixtures__/output2/evmos/vesting/v1/vesting.ts index 56f7b2ff66..905c4d038b 100644 --- a/__fixtures__/output2/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/output2/evmos/vesting/v1/vesting.ts @@ -28,7 +28,7 @@ export interface ClawbackVestingAccount { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/output2/google/api/auth.ts b/__fixtures__/output2/google/api/auth.ts index 4c132a2a07..48a97b0d25 100644 --- a/__fixtures__/output2/google/api/auth.ts +++ b/__fixtures__/output2/google/api/auth.ts @@ -294,7 +294,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/output2/google/api/distribution.ts b/__fixtures__/output2/google/api/distribution.ts index 48873cd5f3..cbfcf343d3 100644 --- a/__fixtures__/output2/google/api/distribution.ts +++ b/__fixtures__/output2/google/api/distribution.ts @@ -198,8 +198,8 @@ function createBaseDistribution(): Distribution { count: Long.ZERO, mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/output2/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/output2/google/api/expr/conformance/v1alpha1/conformance_service.ts index 24baf31624..c6b04992e1 100644 --- a/__fixtures__/output2/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/output2/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -226,7 +226,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -285,7 +285,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -364,7 +364,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -424,7 +424,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -576,7 +576,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -636,7 +636,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: Long.ZERO }; } diff --git a/__fixtures__/output2/google/api/expr/v1alpha1/checked.ts b/__fixtures__/output2/google/api/expr/v1alpha1/checked.ts index cc08fd3a36..a5b35dc1ac 100644 --- a/__fixtures__/output2/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/output2/google/api/expr/v1alpha1/checked.ts @@ -411,7 +411,7 @@ export interface Reference { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: Long.ZERO, - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -466,7 +466,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: Long.ZERO, - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -522,9 +522,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -816,7 +816,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -861,8 +861,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -916,7 +916,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -1099,8 +1099,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -1216,7 +1216,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -1318,7 +1318,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/output2/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/output2/google/api/expr/v1alpha1/syntax.ts index b106bf57b6..ff265454d2 100644 --- a/__fixtures__/output2/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/output2/google/api/expr/v1alpha1/syntax.ts @@ -313,8 +313,8 @@ export interface SourcePosition { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -528,7 +528,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -593,7 +593,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -773,7 +773,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: Long.ZERO, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -846,12 +846,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -1131,7 +1131,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: Long.ZERO, - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/output2/google/api/expr/v1alpha1/value.ts b/__fixtures__/output2/google/api/expr/v1alpha1/value.ts index 292c5190fe..19aa2887e7 100644 --- a/__fixtures__/output2/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/output2/google/api/expr/v1alpha1/value.ts @@ -391,8 +391,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/output2/google/api/expr/v1beta1/decl.ts b/__fixtures__/output2/google/api/expr/v1beta1/decl.ts index b3b176b18e..3af9257091 100644 --- a/__fixtures__/output2/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/output2/google/api/expr/v1beta1/decl.ts @@ -206,8 +206,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -262,7 +262,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/output2/google/api/expr/v1beta1/eval.ts b/__fixtures__/output2/google/api/expr/v1beta1/eval.ts index cd55f2465d..f9cf12c72b 100644 --- a/__fixtures__/output2/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/output2/google/api/expr/v1beta1/eval.ts @@ -167,7 +167,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/output2/google/api/expr/v1beta1/expr.ts b/__fixtures__/output2/google/api/expr/v1beta1/expr.ts index f25a6ea5dc..0b7b082f87 100644 --- a/__fixtures__/output2/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/output2/google/api/expr/v1beta1/expr.ts @@ -231,8 +231,8 @@ export interface Literal { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -456,7 +456,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -521,7 +521,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -701,7 +701,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -774,12 +774,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/output2/google/api/expr/v1beta1/value.ts b/__fixtures__/output2/google/api/expr/v1beta1/value.ts index 51d267e968..765e6588ae 100644 --- a/__fixtures__/output2/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/output2/google/api/expr/v1beta1/value.ts @@ -391,8 +391,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/output2/google/api/metric.ts b/__fixtures__/output2/google/api/metric.ts index f427f8a608..76137f68af 100644 --- a/__fixtures__/output2/google/api/metric.ts +++ b/__fixtures__/output2/google/api/metric.ts @@ -353,7 +353,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/output2/google/api/monitored_resource.ts b/__fixtures__/output2/google/api/monitored_resource.ts index 6ef2611d18..24e705948c 100644 --- a/__fixtures__/output2/google/api/monitored_resource.ts +++ b/__fixtures__/output2/google/api/monitored_resource.ts @@ -408,7 +408,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/output2/google/api/service.ts b/__fixtures__/output2/google/api/service.ts index e33f0900db..e7e5584963 100644 --- a/__fixtures__/output2/google/api/service.ts +++ b/__fixtures__/output2/google/api/service.ts @@ -154,24 +154,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/output2/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/output2/google/api/servicecontrol/v1/check_error.ts index 2f62ee7404..22115dff40 100644 --- a/__fixtures__/output2/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/output2/google/api/servicecontrol/v1/check_error.ts @@ -221,7 +221,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/output2/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/output2/google/api/servicecontrol/v1/log_entry.ts index 54eeaa513e..cebf388094 100644 --- a/__fixtures__/output2/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/output2/google/api/servicecontrol/v1/log_entry.ts @@ -183,15 +183,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/output2/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/output2/google/api/servicecontrol/v1/quota_controller.ts index 31823e035f..4296797140 100644 --- a/__fixtures__/output2/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/output2/google/api/servicecontrol/v1/quota_controller.ts @@ -298,7 +298,7 @@ export interface QuotaError { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -625,7 +625,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/output2/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/output2/google/api/servicecontrol/v1/service_controller.ts index 64a65231ff..756b588bda 100644 --- a/__fixtures__/output2/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/output2/google/api/servicecontrol/v1/service_controller.ts @@ -223,7 +223,7 @@ export interface ReportResponse_ReportError { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -291,7 +291,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -377,7 +377,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -639,7 +639,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/output2/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/output2/google/api/servicecontrol/v2/service_controller.ts index cb5aa94591..08f6341473 100644 --- a/__fixtures__/output2/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/output2/google/api/servicecontrol/v2/service_controller.ts @@ -108,7 +108,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -335,7 +335,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/output2/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/output2/google/api/servicemanagement/v1/servicemanager.ts index d9365a80af..d92d91a766 100644 --- a/__fixtures__/output2/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/output2/google/api/servicemanagement/v1/servicemanager.ts @@ -452,7 +452,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -587,7 +587,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -822,7 +822,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -877,7 +877,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -941,7 +941,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -987,7 +987,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/output2/google/api/serviceusage/v1/resources.ts b/__fixtures__/output2/google/api/serviceusage/v1/resources.ts index c4846d7d7b..499897245c 100644 --- a/__fixtures__/output2/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/output2/google/api/serviceusage/v1/resources.ts @@ -139,7 +139,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -215,13 +215,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/output2/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/output2/google/api/serviceusage/v1/serviceusage.ts index a465eb3316..7456f21b04 100644 --- a/__fixtures__/output2/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/output2/google/api/serviceusage/v1/serviceusage.ts @@ -275,7 +275,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -385,7 +385,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/output2/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/output2/google/api/serviceusage/v1beta1/resources.ts index 7b3b46fba4..c74df49537 100644 --- a/__fixtures__/output2/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/output2/google/api/serviceusage/v1beta1/resources.ts @@ -516,7 +516,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -592,13 +592,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1044,9 +1044,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: Long.ZERO, defaultLimit: Long.ZERO, - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/output2/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/output2/google/api/serviceusage/v1beta1/serviceusage.ts index fe1040bdc0..1a8b822158 100644 --- a/__fixtures__/output2/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/output2/google/api/serviceusage/v1beta1/serviceusage.ts @@ -1136,7 +1136,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -1224,9 +1224,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -1743,7 +1743,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -1831,9 +1831,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -2575,7 +2575,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/output2/google/logging/v2/log_entry.ts b/__fixtures__/output2/google/logging/v2/log_entry.ts index 24a1a5965f..94a3a2dc4c 100644 --- a/__fixtures__/output2/google/logging/v2/log_entry.ts +++ b/__fixtures__/output2/google/logging/v2/log_entry.ts @@ -286,7 +286,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -294,14 +294,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/output2/google/logging/v2/logging.ts b/__fixtures__/output2/google/logging/v2/logging.ts index abe61c5415..22aa198a5e 100644 --- a/__fixtures__/output2/google/logging/v2/logging.ts +++ b/__fixtures__/output2/google/logging/v2/logging.ts @@ -505,7 +505,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -660,7 +660,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/output2/google/logging/v2/logging_config.ts b/__fixtures__/output2/google/logging/v2/logging_config.ts index 5139e28966..74c315d096 100644 --- a/__fixtures__/output2/google/logging/v2/logging_config.ts +++ b/__fixtures__/output2/google/logging/v2/logging_config.ts @@ -1308,7 +1308,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -1854,7 +1854,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -1918,8 +1918,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -2243,7 +2243,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -2307,8 +2307,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -2631,7 +2631,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -2696,9 +2696,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -3080,7 +3080,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -3135,8 +3135,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -3290,8 +3290,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -3465,8 +3465,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -3683,7 +3683,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/output2/google/logging/v2/logging_metrics.ts b/__fixtures__/output2/google/logging/v2/logging_metrics.ts index 6dc7798167..a83e4cda43 100644 --- a/__fixtures__/output2/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/output2/google/logging/v2/logging_metrics.ts @@ -322,10 +322,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -656,7 +656,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -711,7 +711,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/output2/google/protobuf/api.ts b/__fixtures__/output2/google/protobuf/api.ts index 7564098609..72a38d7d93 100644 --- a/__fixtures__/output2/google/protobuf/api.ts +++ b/__fixtures__/output2/google/protobuf/api.ts @@ -170,7 +170,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/output2/google/protobuf/compiler/plugin.ts b/__fixtures__/output2/google/protobuf/compiler/plugin.ts index dfda9106da..f22338d2bf 100644 --- a/__fixtures__/output2/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/output2/google/protobuf/compiler/plugin.ts @@ -199,7 +199,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/output2/google/protobuf/descriptor.ts b/__fixtures__/output2/google/protobuf/descriptor.ts index 0206c28bfc..370fa31808 100644 --- a/__fixtures__/output2/google/protobuf/descriptor.ts +++ b/__fixtures__/output2/google/protobuf/descriptor.ts @@ -1106,8 +1106,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -1305,7 +1305,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -1467,7 +1467,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -1643,7 +1643,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -1770,7 +1770,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -1826,7 +1826,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -1978,7 +1978,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -2043,7 +2043,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -2113,7 +2113,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/output2/google/protobuf/struct.ts b/__fixtures__/output2/google/protobuf/struct.ts index 45f03d15d6..bac0c7d034 100644 --- a/__fixtures__/output2/google/protobuf/struct.ts +++ b/__fixtures__/output2/google/protobuf/struct.ts @@ -88,7 +88,7 @@ export interface ListValue { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/output2/google/protobuf/type.ts b/__fixtures__/output2/google/protobuf/type.ts index 4c17ea164e..6a97be6ddb 100644 --- a/__fixtures__/output2/google/protobuf/type.ts +++ b/__fixtures__/output2/google/protobuf/type.ts @@ -329,7 +329,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -574,7 +574,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -734,7 +734,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/output2/google/rpc/context/attribute_context.ts b/__fixtures__/output2/google/rpc/context/attribute_context.ts index 845917236b..a9942bb87f 100644 --- a/__fixtures__/output2/google/rpc/context/attribute_context.ts +++ b/__fixtures__/output2/google/rpc/context/attribute_context.ts @@ -389,13 +389,13 @@ export interface AttributeContext_Resource { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -749,7 +749,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -905,7 +905,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: Long.ZERO, protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/output2/ibc/applications/interchain_accounts/controller/v1/query.ts b/__fixtures__/output2/ibc/applications/interchain_accounts/controller/v1/query.ts index 498109b667..b37b4c6b14 100644 --- a/__fixtures__/output2/ibc/applications/interchain_accounts/controller/v1/query.ts +++ b/__fixtures__/output2/ibc/applications/interchain_accounts/controller/v1/query.ts @@ -46,7 +46,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/ibc/applications/interchain_accounts/host/v1/query.ts b/__fixtures__/output2/ibc/applications/interchain_accounts/host/v1/query.ts index c4d7895c9d..2e3c9fb309 100644 --- a/__fixtures__/output2/ibc/applications/interchain_accounts/host/v1/query.ts +++ b/__fixtures__/output2/ibc/applications/interchain_accounts/host/v1/query.ts @@ -46,7 +46,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/ibc/applications/interchain_accounts/v1/account.ts b/__fixtures__/output2/ibc/applications/interchain_accounts/v1/account.ts index 7aed72d9c9..49a6c10d2e 100644 --- a/__fixtures__/output2/ibc/applications/interchain_accounts/v1/account.ts +++ b/__fixtures__/output2/ibc/applications/interchain_accounts/v1/account.ts @@ -11,7 +11,7 @@ export interface InterchainAccount { } function createBaseInterchainAccount(): InterchainAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), accountOwner: "" }; } diff --git a/__fixtures__/output2/ibc/applications/interchain_accounts/v1/genesis.ts b/__fixtures__/output2/ibc/applications/interchain_accounts/v1/genesis.ts index 46929d64bb..05a74b46b2 100644 --- a/__fixtures__/output2/ibc/applications/interchain_accounts/v1/genesis.ts +++ b/__fixtures__/output2/ibc/applications/interchain_accounts/v1/genesis.ts @@ -38,8 +38,8 @@ export interface RegisteredInterchainAccount { } function createBaseGenesisState(): GenesisState { return { - controllerGenesisState: undefined, - hostGenesisState: undefined + controllerGenesisState: ControllerGenesisState.fromPartial({}), + hostGenesisState: HostGenesisState.fromPartial({}) }; } export const GenesisState = { @@ -96,7 +96,7 @@ function createBaseControllerGenesisState(): ControllerGenesisState { activeChannels: [], interchainAccounts: [], ports: [], - params: undefined + params: Params.fromPartial({}) }; } export const ControllerGenesisState = { @@ -183,7 +183,7 @@ function createBaseHostGenesisState(): HostGenesisState { activeChannels: [], interchainAccounts: [], port: "", - params: undefined + params: Params.fromPartial({}) }; } export const HostGenesisState = { diff --git a/__fixtures__/output2/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/output2/ibc/applications/transfer/v1/genesis.ts index 1221b55b17..9ee495faad 100644 --- a/__fixtures__/output2/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/output2/ibc/applications/transfer/v1/genesis.ts @@ -14,7 +14,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/ibc/applications/transfer/v1/query.ts b/__fixtures__/output2/ibc/applications/transfer/v1/query.ts index 403d4558a4..f98730596b 100644 --- a/__fixtures__/output2/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/output2/ibc/applications/transfer/v1/query.ts @@ -109,7 +109,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -154,7 +154,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -200,7 +200,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -291,7 +291,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/ibc/applications/transfer/v1/tx.ts b/__fixtures__/output2/ibc/applications/transfer/v1/tx.ts index 9b20e4161e..7662956c74 100644 --- a/__fixtures__/output2/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/output2/ibc/applications/transfer/v1/tx.ts @@ -41,7 +41,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/output2/ibc/core/channel/v1/channel.ts b/__fixtures__/output2/ibc/core/channel/v1/channel.ts index 02aede28b4..b518b7d3bd 100644 --- a/__fixtures__/output2/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/output2/ibc/core/channel/v1/channel.ts @@ -216,7 +216,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -305,7 +305,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -473,7 +473,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/output2/ibc/core/channel/v1/query.ts b/__fixtures__/output2/ibc/core/channel/v1/query.ts index 1a057d3ce5..8eac599204 100644 --- a/__fixtures__/output2/ibc/core/channel/v1/query.ts +++ b/__fixtures__/output2/ibc/core/channel/v1/query.ts @@ -359,9 +359,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -424,7 +424,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -470,8 +470,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -539,7 +539,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -594,8 +594,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -717,9 +717,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -860,7 +860,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -999,7 +999,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -1064,7 +1064,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -1128,8 +1128,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -1263,7 +1263,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -1393,7 +1393,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -1458,7 +1458,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -1545,8 +1545,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -1692,7 +1692,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -1838,7 +1838,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -1962,7 +1962,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: Long.UZERO, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/output2/ibc/core/channel/v1/tx.ts b/__fixtures__/output2/ibc/core/channel/v1/tx.ts index 6674e48a3f..15b8dc8e13 100644 --- a/__fixtures__/output2/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/output2/ibc/core/channel/v1/tx.ts @@ -188,7 +188,7 @@ export interface MsgAcknowledgementResponse { function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -299,10 +299,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -440,7 +440,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -576,7 +576,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -792,7 +792,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -907,9 +907,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1027,9 +1027,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -1157,10 +1157,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -1297,10 +1297,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/output2/ibc/core/client/v1/client.ts b/__fixtures__/output2/ibc/core/client/v1/client.ts index 6f17353f2b..af945d6baf 100644 --- a/__fixtures__/output2/ibc/core/client/v1/client.ts +++ b/__fixtures__/output2/ibc/core/client/v1/client.ts @@ -152,7 +152,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -343,7 +343,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/output2/ibc/core/client/v1/genesis.ts b/__fixtures__/output2/ibc/core/client/v1/genesis.ts index 9854695b36..9ab36375d9 100644 --- a/__fixtures__/output2/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/output2/ibc/core/client/v1/genesis.ts @@ -41,7 +41,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: Long.UZERO }; diff --git a/__fixtures__/output2/ibc/core/client/v1/query.ts b/__fixtures__/output2/ibc/core/client/v1/query.ts index b32c06fc68..7b07af0b4b 100644 --- a/__fixtures__/output2/ibc/core/client/v1/query.ts +++ b/__fixtures__/output2/ibc/core/client/v1/query.ts @@ -198,7 +198,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -261,7 +261,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -307,7 +307,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -442,7 +442,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -506,7 +506,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -561,7 +561,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -742,7 +742,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/output2/ibc/core/connection/v1/connection.ts b/__fixtures__/output2/ibc/core/connection/v1/connection.ts index 98c6916973..26db271fca 100644 --- a/__fixtures__/output2/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/output2/ibc/core/connection/v1/connection.ts @@ -154,7 +154,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -244,7 +244,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -341,7 +341,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/output2/ibc/core/connection/v1/genesis.ts b/__fixtures__/output2/ibc/core/connection/v1/genesis.ts index 7c36602231..9b8f0e4bf0 100644 --- a/__fixtures__/output2/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/output2/ibc/core/connection/v1/genesis.ts @@ -17,7 +17,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/ibc/core/connection/v1/query.ts b/__fixtures__/output2/ibc/core/connection/v1/query.ts index 2171008dd1..2d4e3180b3 100644 --- a/__fixtures__/output2/ibc/core/connection/v1/query.ts +++ b/__fixtures__/output2/ibc/core/connection/v1/query.ts @@ -158,9 +158,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -223,7 +223,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -269,8 +269,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -384,7 +384,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -496,9 +496,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -629,7 +629,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/output2/ibc/core/connection/v1/tx.ts b/__fixtures__/output2/ibc/core/connection/v1/tx.ts index 24839807d9..ecba5a6d5d 100644 --- a/__fixtures__/output2/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/output2/ibc/core/connection/v1/tx.ts @@ -95,8 +95,8 @@ export interface MsgConnectionOpenConfirmResponse {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: Long.UZERO, signer: "" }; @@ -215,14 +215,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO, counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -406,13 +406,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -574,7 +574,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/output2/ibc/core/types/v1/genesis.ts b/__fixtures__/output2/ibc/core/types/v1/genesis.ts index df02f9a01b..7e93236b74 100644 --- a/__fixtures__/output2/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/output2/ibc/core/types/v1/genesis.ts @@ -17,9 +17,9 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/output2/ibc/lightclients/localhost/v1/localhost.ts index c35fc914ed..054dcc6926 100644 --- a/__fixtures__/output2/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/output2/ibc/lightclients/localhost/v1/localhost.ts @@ -17,7 +17,7 @@ export interface ClientState { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/output2/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/output2/ibc/lightclients/solomachine/v1/solomachine.ts index 8f8904bf32..7b167b001d 100644 --- a/__fixtures__/output2/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/output2/ibc/lightclients/solomachine/v1/solomachine.ts @@ -248,7 +248,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, frozenSequence: Long.UZERO, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -473,8 +473,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -927,7 +927,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -982,7 +982,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/output2/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/output2/ibc/lightclients/tendermint/v1/tendermint.ts index fc8c9fdf11..f2c3bfd9a9 100644 --- a/__fixtures__/output2/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/output2/ibc/lightclients/tendermint/v1/tendermint.ts @@ -104,12 +104,12 @@ export interface Fraction { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -257,7 +257,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -322,8 +322,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -386,10 +386,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/output2/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/claim/v1beta1/genesis.ts index 1067a3978a..b667286ecb 100644 --- a/__fixtures__/output2/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/claim/v1beta1/genesis.ts @@ -18,7 +18,7 @@ export interface GenesisState { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/output2/osmosis/claim/v1beta1/query.ts b/__fixtures__/output2/osmosis/claim/v1beta1/query.ts index 66fa516344..1bd3d91199 100644 --- a/__fixtures__/output2/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/claim/v1beta1/query.ts @@ -156,7 +156,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -246,7 +246,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/output2/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/output2/osmosis/gamm/pool-models/balancer/balancerPool.ts index 40bd88541b..489515890c 100644 --- a/__fixtures__/output2/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/output2/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -303,7 +303,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/output2/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/output2/osmosis/gamm/pool-models/balancer/tx/tx.ts index 7b5d6219db..3769c327ae 100644 --- a/__fixtures__/output2/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/output2/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -18,7 +18,7 @@ export interface MsgCreateBalancerPoolResponse { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 610e69add0..8b60291632 100644 --- a/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -98,7 +98,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/tx.ts index 4582fe8b93..1ace869500 100644 --- a/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/output2/osmosis/gamm/pool-models/stableswap/tx.ts @@ -31,7 +31,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponse {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/output2/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/gamm/v1beta1/genesis.ts index 2434112588..cd75e7ad39 100644 --- a/__fixtures__/output2/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/gamm/v1beta1/genesis.ts @@ -69,7 +69,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/osmosis/gamm/v1beta1/query.ts b/__fixtures__/output2/osmosis/gamm/v1beta1/query.ts index 0e48b5e9c8..65536452f3 100644 --- a/__fixtures__/output2/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/gamm/v1beta1/query.ts @@ -230,7 +230,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -276,7 +276,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -1183,7 +1183,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -1251,7 +1251,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/output2/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/output2/osmosis/ibc-rate-limit/v1beta1/query.ts index c5c3cabf2b..4ad7d0f050 100644 --- a/__fixtures__/output2/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -46,7 +46,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/osmosis/incentives/gauge.ts b/__fixtures__/output2/osmosis/incentives/gauge.ts index ed3292f221..b78b3dd228 100644 --- a/__fixtures__/output2/osmosis/incentives/gauge.ts +++ b/__fixtures__/output2/osmosis/incentives/gauge.ts @@ -56,7 +56,7 @@ function createBaseGauge(): Gauge { return { id: Long.UZERO, isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO, diff --git a/__fixtures__/output2/osmosis/incentives/genesis.ts b/__fixtures__/output2/osmosis/incentives/genesis.ts index 4fd119b31b..770c7593d8 100644 --- a/__fixtures__/output2/osmosis/incentives/genesis.ts +++ b/__fixtures__/output2/osmosis/incentives/genesis.ts @@ -28,7 +28,7 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: Long.UZERO diff --git a/__fixtures__/output2/osmosis/incentives/query.ts b/__fixtures__/output2/osmosis/incentives/query.ts index 8fda81fc09..b783a5f729 100644 --- a/__fixtures__/output2/osmosis/incentives/query.ts +++ b/__fixtures__/output2/osmosis/incentives/query.ts @@ -226,7 +226,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -271,7 +271,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -317,7 +317,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -375,7 +375,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -421,7 +421,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -480,7 +480,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -535,7 +535,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -593,7 +593,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -639,7 +639,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -698,7 +698,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -753,7 +753,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/output2/osmosis/incentives/tx.ts b/__fixtures__/output2/osmosis/incentives/tx.ts index 1c3cea79a9..b531d515e2 100644 --- a/__fixtures__/output2/osmosis/incentives/tx.ts +++ b/__fixtures__/output2/osmosis/incentives/tx.ts @@ -48,7 +48,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO diff --git a/__fixtures__/output2/osmosis/lockup/query.ts b/__fixtures__/output2/osmosis/lockup/query.ts index 33647839b0..b5b1e4e170 100644 --- a/__fixtures__/output2/osmosis/lockup/query.ts +++ b/__fixtures__/output2/osmosis/lockup/query.ts @@ -1134,7 +1134,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -1732,7 +1732,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/mint/v1beta1/genesis.ts index 4abac0df3a..c4ca4790ec 100644 --- a/__fixtures__/output2/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/mint/v1beta1/genesis.ts @@ -18,8 +18,8 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: Long.ZERO }; } diff --git a/__fixtures__/output2/osmosis/mint/v1beta1/mint.ts b/__fixtures__/output2/osmosis/mint/v1beta1/mint.ts index 9db7ef15c9..c943a6532d 100644 --- a/__fixtures__/output2/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/output2/osmosis/mint/v1beta1/mint.ts @@ -263,7 +263,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: Long.ZERO, reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: Long.ZERO }; diff --git a/__fixtures__/output2/osmosis/mint/v1beta1/query.ts b/__fixtures__/output2/osmosis/mint/v1beta1/query.ts index eb4d231552..52475a3b2a 100644 --- a/__fixtures__/output2/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/mint/v1beta1/query.ts @@ -59,7 +59,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/pool-incentives/v1beta1/genesis.ts index 12aa985160..0e1be69086 100644 --- a/__fixtures__/output2/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/pool-incentives/v1beta1/genesis.ts @@ -15,7 +15,7 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/output2/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/output2/osmosis/pool-incentives/v1beta1/query.ts index 8acf5d1be9..a1464b8321 100644 --- a/__fixtures__/output2/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/pool-incentives/v1beta1/query.ts @@ -236,7 +236,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -314,7 +314,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/output2/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/output2/osmosis/sumtree/v1beta1/tree.ts index 994a83b560..39ec6715ec 100644 --- a/__fixtures__/output2/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/output2/osmosis/sumtree/v1beta1/tree.ts @@ -119,7 +119,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/output2/osmosis/superfluid/genesis.ts b/__fixtures__/output2/osmosis/superfluid/genesis.ts index 30794986cd..ec4cb8bc13 100644 --- a/__fixtures__/output2/osmosis/superfluid/genesis.ts +++ b/__fixtures__/output2/osmosis/superfluid/genesis.ts @@ -27,7 +27,7 @@ export interface GenesisState { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/output2/osmosis/superfluid/query.ts b/__fixtures__/output2/osmosis/superfluid/query.ts index 31b3cc47c2..1c0e8a9f88 100644 --- a/__fixtures__/output2/osmosis/superfluid/query.ts +++ b/__fixtures__/output2/osmosis/superfluid/query.ts @@ -151,7 +151,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -413,7 +413,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -533,7 +533,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -579,7 +579,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -682,7 +682,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/genesis.ts index 3c8700f413..1544491626 100644 --- a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/genesis.ts @@ -22,7 +22,7 @@ export interface GenesisDenom { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -82,7 +82,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/query.ts index d2fbac23af..7109a46e29 100644 --- a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/query.ts @@ -75,7 +75,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -165,7 +165,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/tx.ts index e434ea244e..3e70f4996c 100644 --- a/__fixtures__/output2/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/output2/osmosis/tokenfactory/v1beta1/tx.ts @@ -450,7 +450,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/output2/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/output2/osmosis/twap/v1beta1/genesis.ts index 60086dd6d1..f697a85cb8 100644 --- a/__fixtures__/output2/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/output2/osmosis/twap/v1beta1/genesis.ts @@ -75,7 +75,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/output2/osmosis/twap/v1beta1/query.ts b/__fixtures__/output2/osmosis/twap/v1beta1/query.ts index fe8e48173b..4d1cd5ccad 100644 --- a/__fixtures__/output2/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/output2/osmosis/twap/v1beta1/query.ts @@ -313,7 +313,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/output2/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/output2/osmosis/txfees/v1beta1/gov.ts index c59cde3e3e..eb48b2a121 100644 --- a/__fixtures__/output2/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/output2/osmosis/txfees/v1beta1/gov.ts @@ -20,7 +20,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/output2/tendermint/abci/types.ts b/__fixtures__/output2/tendermint/abci/types.ts index 4217f76056..7a869e815f 100644 --- a/__fixtures__/output2/tendermint/abci/types.ts +++ b/__fixtures__/output2/tendermint/abci/types.ts @@ -870,7 +870,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: Long.ZERO @@ -1043,8 +1043,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -1332,7 +1332,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -1985,7 +1985,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -2060,7 +2060,7 @@ function createBaseResponseQuery(): ResponseQuery { index: Long.ZERO, key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: Long.ZERO, codespace: "" }; @@ -2467,7 +2467,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -2815,10 +2815,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -3131,7 +3131,7 @@ function createBaseTxResult(): TxResult { height: Long.ZERO, index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -3313,7 +3313,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -3369,7 +3369,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: Long.ZERO, time: undefined, totalVotingPower: Long.ZERO diff --git a/__fixtures__/output2/tendermint/crypto/proof.ts b/__fixtures__/output2/tendermint/crypto/proof.ts index b371dda98c..3e0fdef498 100644 --- a/__fixtures__/output2/tendermint/crypto/proof.ts +++ b/__fixtures__/output2/tendermint/crypto/proof.ts @@ -116,7 +116,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/output2/tendermint/p2p/types.ts b/__fixtures__/output2/tendermint/p2p/types.ts index 09b04dd436..9dcc313b34 100644 --- a/__fixtures__/output2/tendermint/p2p/types.ts +++ b/__fixtures__/output2/tendermint/p2p/types.ts @@ -159,14 +159,14 @@ export const ProtocolVersion = { }; function createBaseDefaultNodeInfo(): DefaultNodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), defaultNodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: DefaultNodeInfoOther.fromPartial({}) }; } export const DefaultNodeInfo = { diff --git a/__fixtures__/output2/tendermint/types/block.ts b/__fixtures__/output2/tendermint/types/block.ts index aba46f9186..6a985010da 100644 --- a/__fixtures__/output2/tendermint/types/block.ts +++ b/__fixtures__/output2/tendermint/types/block.ts @@ -13,10 +13,10 @@ export interface Block { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/output2/tendermint/types/evidence.ts b/__fixtures__/output2/tendermint/types/evidence.ts index 8d5a4b2808..ccbc030f75 100644 --- a/__fixtures__/output2/tendermint/types/evidence.ts +++ b/__fixtures__/output2/tendermint/types/evidence.ts @@ -86,8 +86,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: Long.ZERO, validatorPower: Long.ZERO, timestamp: undefined @@ -171,7 +171,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: Long.ZERO, byzantineValidators: [], totalVotingPower: Long.ZERO, diff --git a/__fixtures__/output2/tendermint/types/params.ts b/__fixtures__/output2/tendermint/types/params.ts index daeb98b6c9..1847842ecc 100644 --- a/__fixtures__/output2/tendermint/types/params.ts +++ b/__fixtures__/output2/tendermint/types/params.ts @@ -80,10 +80,10 @@ export interface HashedParams { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/output2/tendermint/types/types.ts b/__fixtures__/output2/tendermint/types/types.ts index 563517fe39..6a4877c10b 100644 --- a/__fixtures__/output2/tendermint/types/types.ts +++ b/__fixtures__/output2/tendermint/types/types.ts @@ -261,7 +261,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -325,7 +325,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -379,11 +379,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: Long.ZERO, time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -606,7 +606,7 @@ function createBaseVote(): Vote { type: 0, height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -720,7 +720,7 @@ function createBaseCommit(): Commit { return { height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -876,7 +876,7 @@ function createBaseProposal(): Proposal { height: Long.ZERO, round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -977,8 +977,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1032,8 +1032,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1087,9 +1087,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: Long.ZERO, - header: undefined, + header: Header.fromPartial({}), numTxs: Long.ZERO }; } @@ -1164,7 +1164,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/output2/tendermint/types/validator.ts b/__fixtures__/output2/tendermint/types/validator.ts index becd48ad26..7b11fe0d44 100644 --- a/__fixtures__/output2/tendermint/types/validator.ts +++ b/__fixtures__/output2/tendermint/types/validator.ts @@ -22,7 +22,7 @@ export interface SimpleValidator { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/audit/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/audit/v1beta2/query.ts index 709528361d..860108992d 100644 --- a/__fixtures__/v-next/outputosmojs/akash/audit/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/audit/v1beta2/query.ts @@ -64,7 +64,7 @@ export interface QueryAuditorAttributesRequestSDKType { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -217,7 +217,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -278,7 +278,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -424,7 +424,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/attribute.ts b/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/attribute.ts index fc6c6ecb98..32a6b0be53 100644 --- a/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/attribute.ts @@ -209,7 +209,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/resource.ts b/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/resource.ts index af9a03a8ab..450f56a602 100644 --- a/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/resource.ts +++ b/__fixtures__/v-next/outputosmojs/akash/base/v1beta1/resource.ts @@ -56,7 +56,7 @@ export interface ResourceUnitsSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -137,7 +137,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -218,7 +218,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/attribute.ts b/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/attribute.ts index 4bd7ebde6e..be8e2f3fd1 100644 --- a/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/attribute.ts @@ -209,7 +209,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/resource.ts b/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/resource.ts index e3c7625563..07c58d13d8 100644 --- a/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputosmojs/akash/base/v1beta2/resource.ts @@ -37,7 +37,7 @@ export interface StorageSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -118,7 +118,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -200,7 +200,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/cert.ts b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/cert.ts index c48457461b..478c214600 100644 --- a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/cert.ts @@ -480,7 +480,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/genesis.ts b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/genesis.ts index 592c51b858..be50baa4cf 100644 --- a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/genesis.ts @@ -23,7 +23,7 @@ export interface GenesisStateSDKType { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/query.ts index 7f4c802002..d492a73ed2 100644 --- a/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/cert/v1beta2/query.ts @@ -35,7 +35,7 @@ export interface QueryCertificatesResponseSDKType { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -108,8 +108,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -182,7 +182,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/deployment.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/deployment.ts index dcfc4c7d22..66f680215e 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/deployment.ts @@ -144,7 +144,7 @@ export interface DeploymentFiltersSDKType { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -294,7 +294,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -410,7 +410,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -547,7 +547,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -723,7 +723,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: BigInt(0) diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/genesis.ts index 86e2702132..01afb59edb 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -108,7 +108,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/group.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/group.ts index cf70cf4e53..b1e43e7547 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/group.ts @@ -147,7 +147,7 @@ export interface ResourceSDKType { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -250,7 +250,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -353,7 +353,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -543,7 +543,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -636,9 +636,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } @@ -735,7 +735,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/query.ts index b16d95b751..bd58e0d162 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta1/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -138,7 +138,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -218,7 +218,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -278,9 +278,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -372,7 +372,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -432,7 +432,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deployment.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deployment.ts index 5b78511cae..8b803fa97f 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deployment.ts @@ -153,7 +153,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: BigInt(0) diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deploymentmsg.ts index c4a47d9342..18db411c29 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/deploymentmsg.ts @@ -70,7 +70,7 @@ export interface MsgCloseDeploymentResponse {} export interface MsgCloseDeploymentResponseSDKType {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -233,7 +233,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -362,7 +362,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -478,7 +478,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/genesis.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/genesis.ts index 5a31315fb9..1f5a305524 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -108,7 +108,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/group.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/group.ts index fc15594cca..69ceec779f 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/group.ts @@ -74,9 +74,9 @@ export interface GroupSDKType { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupmsg.ts index 6058907d38..eb076aa90e 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupmsg.ts @@ -40,7 +40,7 @@ export interface MsgStartGroupResponse {} export interface MsgStartGroupResponseSDKType {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -143,7 +143,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -246,7 +246,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupspec.ts index 5d0af36346..e455661c6c 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/groupspec.ts @@ -18,7 +18,7 @@ export interface GroupSpecSDKType { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/query.ts index b477110bb0..10df5bf21c 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -138,7 +138,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -218,7 +218,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -278,9 +278,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -372,7 +372,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -432,7 +432,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/resource.ts b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/resource.ts index 5d5bf64ee8..d91aa8e167 100644 --- a/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputosmojs/akash/deployment/v1beta2/resource.ts @@ -17,9 +17,9 @@ export interface ResourceSDKType { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/query.ts index 0489b6d27a..eb6f8c502b 100644 --- a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -172,7 +172,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -257,7 +257,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -378,7 +378,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/types.ts b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/types.ts index 6c9979e69f..9c8d1eda49 100644 --- a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta1/types.ts @@ -227,7 +227,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -352,7 +352,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/query.ts index 6bc1f4d513..4b45bd3cee 100644 --- a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -172,7 +172,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -257,7 +257,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -378,7 +378,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/types.ts b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/types.ts index 25a7be9005..d61ee4ef79 100644 --- a/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/v-next/outputosmojs/akash/escrow/v1beta2/types.ts @@ -240,14 +240,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: BigInt(0), depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -391,12 +391,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/inflation/v1beta2/genesis.ts b/__fixtures__/v-next/outputosmojs/akash/inflation/v1beta2/genesis.ts index b38a913833..a2f57acf6f 100644 --- a/__fixtures__/v-next/outputosmojs/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/akash/inflation/v1beta2/genesis.ts @@ -12,7 +12,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/bid.ts b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/bid.ts index 8b3414f109..b7a85d5b5a 100644 --- a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/bid.ts +++ b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/bid.ts @@ -144,9 +144,9 @@ export interface BidFiltersSDKType { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -286,7 +286,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -501,9 +501,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/genesis.ts b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/genesis.ts index 4f7e9a2de1..639ddd6e9e 100644 --- a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/genesis.ts @@ -20,7 +20,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/lease.ts b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/lease.ts index 0d8a7a9ec4..a172482379 100644 --- a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/lease.ts +++ b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/lease.ts @@ -251,9 +251,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: BigInt(0), closedOn: BigInt(0) }; @@ -488,7 +488,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -591,7 +591,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -694,7 +694,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/order.ts b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/order.ts index df5221b967..84be24faf4 100644 --- a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/order.ts +++ b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/order.ts @@ -195,9 +195,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/query.ts index 985d8faddb..b043c1b729 100644 --- a/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/market/v1beta2/query.ts @@ -120,8 +120,8 @@ export interface QueryLeaseResponseSDKType { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -194,7 +194,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -274,7 +274,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -334,7 +334,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -394,8 +394,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -468,7 +468,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -548,7 +548,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -608,8 +608,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -681,8 +681,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -755,7 +755,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -835,7 +835,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -895,8 +895,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta1/provider.ts b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta1/provider.ts index fed72eef88..28f717b87f 100644 --- a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta1/provider.ts @@ -152,7 +152,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -302,7 +302,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -555,7 +555,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/provider.ts b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/provider.ts index 43c2b854f3..80f38db38d 100644 --- a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/provider.ts @@ -152,7 +152,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -302,7 +302,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -555,7 +555,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/query.ts b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/query.ts index f2c3997683..a4c3daf121 100644 --- a/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/query.ts +++ b/__fixtures__/v-next/outputosmojs/akash/provider/v1beta2/query.ts @@ -39,7 +39,7 @@ export interface QueryProviderResponseSDKType { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -100,7 +100,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -240,7 +240,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/v-next/outputosmojs/capability/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/capability/v1/genesis.ts index 8c551f4ff1..c51b3d57e2 100644 --- a/__fixtures__/v-next/outputosmojs/capability/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/capability/v1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: BigInt(0), - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/v-next/outputosmojs/confio/proofs.ts b/__fixtures__/v-next/outputosmojs/confio/proofs.ts index c0442ace39..3963319dae 100644 --- a/__fixtures__/v-next/outputosmojs/confio/proofs.ts +++ b/__fixtures__/v-next/outputosmojs/confio/proofs.ts @@ -478,7 +478,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -584,8 +584,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -966,8 +966,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -1512,7 +1512,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -1627,8 +1627,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/app/v1alpha1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/app/v1alpha1/query.ts index 52f10f14e7..688589a530 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/app/v1alpha1/query.ts @@ -60,7 +60,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/auth.ts b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/auth.ts index 359ccba509..98558614c3 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/auth.ts @@ -153,7 +153,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/genesis.ts index b32b46607e..805eb4d138 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/genesis.ts @@ -17,7 +17,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/query.ts index 26e680dff3..a901d8550c 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/auth/v1beta1/query.ts @@ -130,7 +130,7 @@ export interface AddressStringToBytesResponseSDKType { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -191,7 +191,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -374,7 +374,7 @@ export const QueryModuleAccountsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/query.ts index 5286a44b8e..ad12174462 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/query.ts @@ -82,7 +82,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -179,7 +179,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -260,7 +260,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -333,7 +333,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -414,7 +414,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -487,7 +487,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/tx.ts index 28047f2b3a..e4ad89cfd4 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/authz/v1beta1/tx.ts @@ -82,7 +82,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/genesis.ts index d43b2a8fdb..1da9febab6 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/genesis.ts @@ -44,7 +44,7 @@ export interface BalanceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/query.ts index 49899e5bd6..484f897b9a 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/bank/v1beta1/query.ts @@ -400,7 +400,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -473,7 +473,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -554,7 +554,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -627,7 +627,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -707,7 +707,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -768,7 +768,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -1011,7 +1011,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1071,7 +1071,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -1132,7 +1132,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -1272,7 +1272,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { @@ -1333,7 +1333,7 @@ export const QueryDenomMetadataResponse = { function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomOwnersRequest = { @@ -1479,7 +1479,7 @@ export const DenomOwner = { function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { return { denomOwners: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomOwnersResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/v-next/outputosmojs/cosmos/base/abci/v1beta1/abci.ts index d2a2fab703..9f63c6b927 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/base/abci/v1beta1/abci.ts @@ -912,8 +912,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/base/reflection/v2alpha1/reflection.ts b/__fixtures__/v-next/outputosmojs/cosmos/base/reflection/v2alpha1/reflection.ts index e3d729b727..7b20d14289 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/base/reflection/v2alpha1/reflection.ts @@ -310,12 +310,12 @@ export interface QueryMethodDescriptorSDKType { } function createBaseAppDescriptor(): AppDescriptor { return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined + authn: AuthnDescriptor.fromPartial({}), + chain: ChainDescriptor.fromPartial({}), + codec: CodecDescriptor.fromPartial({}), + configuration: ConfigurationDescriptor.fromPartial({}), + queryServices: QueryServicesDescriptor.fromPartial({}), + tx: TxDescriptor.fromPartial({}) }; } export const AppDescriptor = { @@ -1217,7 +1217,7 @@ export const GetAuthnDescriptorRequest = { }; function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { return { - authn: undefined + authn: AuthnDescriptor.fromPartial({}) }; } export const GetAuthnDescriptorResponse = { @@ -1320,7 +1320,7 @@ export const GetChainDescriptorRequest = { }; function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { return { - chain: undefined + chain: ChainDescriptor.fromPartial({}) }; } export const GetChainDescriptorResponse = { @@ -1423,7 +1423,7 @@ export const GetCodecDescriptorRequest = { }; function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { return { - codec: undefined + codec: CodecDescriptor.fromPartial({}) }; } export const GetCodecDescriptorResponse = { @@ -1526,7 +1526,7 @@ export const GetConfigurationDescriptorRequest = { }; function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { return { - config: undefined + config: ConfigurationDescriptor.fromPartial({}) }; } export const GetConfigurationDescriptorResponse = { @@ -1629,7 +1629,7 @@ export const GetQueryServicesDescriptorRequest = { }; function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { return { - queries: undefined + queries: QueryServicesDescriptor.fromPartial({}) }; } export const GetQueryServicesDescriptorResponse = { @@ -1732,7 +1732,7 @@ export const GetTxDescriptorRequest = { }; function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { return { - tx: undefined + tx: TxDescriptor.fromPartial({}) }; } export const GetTxDescriptorResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/v-next/outputosmojs/cosmos/base/snapshots/v1beta1/snapshot.ts index 1b75804601..1ca438dc9a 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -110,7 +110,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/v-next/outputosmojs/cosmos/base/store/v1beta1/commit_info.ts index aba93df22e..69aec85f14 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/base/store/v1beta1/commit_info.ts @@ -133,7 +133,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/base/tendermint/v1beta1/query.ts index 27dcf45c02..fdc3c548f1 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/base/tendermint/v1beta1/query.ts @@ -165,7 +165,7 @@ export interface ModuleSDKType { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -239,7 +239,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: BigInt(0), validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -331,7 +331,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -393,7 +393,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: BigInt(0), validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -644,8 +644,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -760,8 +760,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -979,8 +979,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - nodeInfo: undefined, - applicationVersion: undefined + nodeInfo: NodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/capability/v1beta1/genesis.ts index 5c28063bd1..86cef39b5a 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/capability/v1beta1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: BigInt(0), - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/v-next/outputosmojs/cosmos/crypto/keyring/v1/record.ts index b609c4f2b8..4cea8b2d24 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/crypto/keyring/v1/record.ts @@ -259,7 +259,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/genesis.ts index 2782d24994..6cd7b42ca9 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/genesis.ts @@ -312,7 +312,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -386,7 +386,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: BigInt(0), - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -471,7 +471,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -545,7 +545,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -632,7 +632,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: BigInt(0), period: BigInt(0), - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -728,8 +728,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/query.ts index c3159bfef8..9581bca58d 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/distribution/v1beta1/query.ts @@ -314,7 +314,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -434,7 +434,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -554,7 +554,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -617,7 +617,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: BigInt(0), endingHeight: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -714,7 +714,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/evidence/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/evidence/v1beta1/query.ts index 4a37511568..64620d51cd 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/evidence/v1beta1/query.ts @@ -176,7 +176,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -237,7 +237,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/feegrant.ts index 52ba1a79f9..8cef686940 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/feegrant.ts @@ -174,7 +174,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/query.ts index f6135a9f30..dd04d850b2 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/feegrant/v1beta1/query.ts @@ -145,7 +145,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -206,7 +206,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -279,7 +279,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -360,7 +360,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -433,7 +433,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/genesis.ts index def80aa8e2..5a8889fc67 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/gov.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/gov.ts index cca46b743b..b3f6175c43 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/gov.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/gov.ts @@ -449,7 +449,7 @@ function createBaseProposal(): Proposal { id: BigInt(0), messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/query.ts index eb19d7a437..9b39caef35 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1/query.ts @@ -251,7 +251,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -314,7 +314,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -411,7 +411,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -564,7 +564,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -625,7 +625,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -698,7 +698,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -838,9 +838,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -997,7 +997,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1058,7 +1058,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1131,7 +1131,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1271,7 +1271,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/genesis.ts index cd6c7631ff..5e3160476f 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/gov.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/gov.ts index edf70ef926..6a78917039 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/gov.ts @@ -551,7 +551,7 @@ function createBaseProposal(): Proposal { proposalId: BigInt(0), content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/query.ts index 5ca443ca91..037b103884 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/gov/v1beta1/query.ts @@ -251,7 +251,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -314,7 +314,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -411,7 +411,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -564,7 +564,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -625,7 +625,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -698,7 +698,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -838,9 +838,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -997,7 +997,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1058,7 +1058,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1131,7 +1131,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1271,7 +1271,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/group/v1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/group/v1/query.ts index 71ca9ec5ce..f73b0f582e 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/group/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/group/v1/query.ts @@ -350,7 +350,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -470,7 +470,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -531,7 +531,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -604,7 +604,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -685,7 +685,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -758,7 +758,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -839,7 +839,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -912,7 +912,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -993,7 +993,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -1066,7 +1066,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -1206,7 +1206,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -1267,7 +1267,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -1340,7 +1340,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -1493,7 +1493,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -1554,7 +1554,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -1627,7 +1627,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -1708,7 +1708,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -1781,7 +1781,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -1862,7 +1862,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -1935,7 +1935,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -2075,7 +2075,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/group/v1/types.ts b/__fixtures__/v-next/outputosmojs/cosmos/group/v1/types.ts index 4ae66df211..271c37086b 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/group/v1/types.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/group/v1/types.ts @@ -652,7 +652,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -725,7 +725,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -996,7 +996,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: BigInt(0), - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -1215,7 +1215,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: BigInt(0), status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/v-next/outputosmojs/cosmos/ics23/v1/proofs.ts b/__fixtures__/v-next/outputosmojs/cosmos/ics23/v1/proofs.ts index 530f67a25b..7c6f0aad06 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/ics23/v1/proofs.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/ics23/v1/proofs.ts @@ -484,7 +484,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -590,8 +590,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -972,8 +972,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -1518,7 +1518,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -1633,8 +1633,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/genesis.ts index f2196fc115..85d8a5d696 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/genesis.ts @@ -16,8 +16,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/query.ts index 98eb38f4a2..8f0474b015 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/mint/v1beta1/query.ts @@ -104,7 +104,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/nft/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/nft/v1beta1/query.ts index e8f0497343..655c875073 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/nft/v1beta1/query.ts @@ -520,7 +520,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -605,7 +605,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -758,7 +758,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -878,7 +878,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -938,7 +938,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -999,7 +999,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/orm/v1/orm.ts b/__fixtures__/v-next/outputosmojs/cosmos/orm/v1/orm.ts index 8fe5388d3a..3f0b879b3d 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/orm/v1/orm.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/orm/v1/orm.ts @@ -111,7 +111,7 @@ export interface SingletonDescriptorSDKType { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/v-next/outputosmojs/cosmos/params/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/params/v1beta1/query.ts index 680ec67e5f..ab17110009 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/params/v1beta1/query.ts @@ -138,7 +138,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/genesis.ts index dc63c95939..0483928f98 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/genesis.ts @@ -67,7 +67,7 @@ export interface MissedBlockSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -170,7 +170,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/query.ts index 17d5fd09ab..30aca4b9fc 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/slashing/v1beta1/query.ts @@ -121,7 +121,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -241,7 +241,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -301,7 +301,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -362,7 +362,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/genesis.ts index a27a3ed7ac..39ba20fd7e 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/genesis.ts @@ -51,7 +51,7 @@ export interface LastValidatorPowerSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/query.ts index e596203965..6520a0d5c2 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/query.ts @@ -409,7 +409,7 @@ export interface QueryParamsResponseSDKType { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -482,7 +482,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -622,7 +622,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -683,7 +683,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -756,7 +756,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -837,7 +837,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -910,7 +910,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -1063,7 +1063,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -1196,7 +1196,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -1257,7 +1257,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -1330,7 +1330,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -1411,7 +1411,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -1484,7 +1484,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -1567,7 +1567,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -1664,7 +1664,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -1745,7 +1745,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -1818,7 +1818,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -1971,7 +1971,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -2091,7 +2091,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -2194,7 +2194,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -2297,7 +2297,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/staking.ts b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/staking.ts index 79467b3d01..bd24265dd6 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/staking.ts @@ -448,7 +448,7 @@ export interface PoolSDKType { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -615,7 +615,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -806,10 +806,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: BigInt(0), unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -1963,7 +1963,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -2036,7 +2036,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -2109,7 +2109,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/tx.ts index 4fc47f03ef..e4d39d427a 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/staking/v1beta1/tx.ts @@ -132,8 +132,8 @@ export interface MsgUndelegateResponseSDKType { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -313,7 +313,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/v-next/outputosmojs/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/v-next/outputosmojs/cosmos/tx/signing/v1beta1/signing.ts index 047ae4b714..fd7d3c1d1a 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/tx/signing/v1beta1/signing.ts @@ -231,7 +231,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: BigInt(0) }; } @@ -462,7 +462,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/service.ts b/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/service.ts index 30d7e6bbef..a87dba815c 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/service.ts @@ -298,7 +298,7 @@ export interface GetBlockWithTxsResponseSDKType { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -393,7 +393,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -566,7 +566,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -626,7 +626,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -699,8 +699,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -832,8 +832,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -906,7 +906,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -979,9 +979,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/tx.ts index 71a73e656b..de0d250b18 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/tx/v1beta1/tx.ts @@ -390,8 +390,8 @@ export interface AuxSignerDataSDKType { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -682,7 +682,7 @@ function createBaseSignDocDirectAux(): SignDocDirectAux { chainId: "", accountNumber: BigInt(0), sequence: BigInt(0), - tip: undefined + tip: Tip.fromPartial({}) }; } export const SignDocDirectAux = { @@ -939,8 +939,8 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined, - tip: undefined + fee: Fee.fromPartial({}), + tip: Tip.fromPartial({}) }; } export const AuthInfo = { @@ -1033,7 +1033,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: BigInt(0) }; } @@ -1251,7 +1251,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } @@ -1521,7 +1521,7 @@ export const Tip = { function createBaseAuxSignerData(): AuxSignerData { return { address: "", - signDoc: undefined, + signDoc: SignDocDirectAux.fromPartial({}), mode: 0, sig: new Uint8Array() }; diff --git a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/query.ts index 8f078ee71a..80a262c24c 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/query.ts @@ -209,7 +209,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/tx.ts index ac12f6c647..3ecbab754d 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/tx.ts @@ -66,7 +66,7 @@ export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/upgrade.ts index 743de54093..b4013826f3 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/upgrade/v1beta1/upgrade.ts @@ -232,7 +232,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/v-next/outputosmojs/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/v-next/outputosmojs/cosmos/vesting/v1beta1/vesting.ts index 9d1d5f0b41..5bbef3dc17 100644 --- a/__fixtures__/v-next/outputosmojs/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/v-next/outputosmojs/cosmos/vesting/v1beta1/vesting.ts @@ -107,7 +107,7 @@ export interface PermanentLockedAccountSDKType { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -243,7 +243,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: BigInt(0) }; } @@ -316,7 +316,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -457,7 +457,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: BigInt(0), vestingPeriods: [] }; @@ -551,7 +551,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/genesis.ts index a7ae56bafd..4d0639eb11 100644 --- a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/genesis.ts @@ -76,7 +76,7 @@ export interface SequenceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -307,7 +307,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: BigInt(0), - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -406,7 +406,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/proposal.ts index d8118d0e1e..9bccbcea79 100644 --- a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/proposal.ts @@ -216,7 +216,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { diff --git a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/query.ts b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/query.ts index ca97d6f0eb..72efd76441 100644 --- a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/query.ts @@ -354,7 +354,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -427,7 +427,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -500,7 +500,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -581,7 +581,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -654,7 +654,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -735,7 +735,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -808,7 +808,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -1300,7 +1300,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -1373,7 +1373,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -1434,7 +1434,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -1514,7 +1514,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -1575,7 +1575,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/tx.ts b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/tx.ts index 168e1dee6a..b7cad7dd64 100644 --- a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/tx.ts @@ -168,7 +168,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/types.ts b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/types.ts index 4b09a6526e..ff8e7d6425 100644 --- a/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/v-next/outputosmojs/cosmwasm/wasm/v1/types.ts @@ -360,7 +360,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0, maxWasmCodeSize: BigInt(0) }; @@ -448,7 +448,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -536,7 +536,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -672,7 +672,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: BigInt(0), - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/v-next/outputosmojs/evmos/claims/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/claims/v1/genesis.ts index 86bf8ef474..b662dc97af 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/claims/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/claims/v1/genesis.ts @@ -48,7 +48,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/evmos/claims/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/claims/v1/query.ts index 8b6f88cb81..5ba61073dd 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/claims/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/claims/v1/query.ts @@ -265,7 +265,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -325,7 +325,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -386,7 +386,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/epochs/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/epochs/v1/query.ts index d231f0dca0..591fc69cd5 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/epochs/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/epochs/v1/query.ts @@ -31,7 +31,7 @@ export interface QueryCurrentEpochResponseSDKType { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -92,7 +92,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/erc20.ts b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/erc20.ts index f078a511bc..e3360111ff 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/erc20.ts @@ -236,7 +236,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/genesis.ts index d9d55ad9e5..4786a93684 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/genesis.ts @@ -32,7 +32,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/query.ts index 6be2d29760..50f43c1907 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/erc20/v1/query.ts @@ -82,7 +82,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -143,7 +143,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -283,7 +283,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -386,7 +386,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/fees/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/fees/v1/genesis.ts index 3ca4ebabbd..390d3e062b 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/fees/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/fees/v1/genesis.ts @@ -47,7 +47,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/evmos/fees/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/fees/v1/query.ts index 374b0739a2..59b917c6eb 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/fees/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/fees/v1/query.ts @@ -120,7 +120,7 @@ export interface QueryDevFeeInfosPerDeployerResponseSDKType { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -181,7 +181,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -321,7 +321,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -424,7 +424,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -485,7 +485,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -558,7 +558,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/genesis.ts index fcfd4ab027..a96096e851 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/genesis.ts @@ -38,7 +38,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/query.ts index 33d31fbefe..9ea93caaf8 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/incentives/v1/query.ts @@ -206,7 +206,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -267,7 +267,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -407,7 +407,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -468,7 +468,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -541,7 +541,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -754,7 +754,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -815,7 +815,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -955,7 +955,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -1058,7 +1058,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/genesis.ts index 0970150a4d..5b26cafcc9 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/genesis.ts @@ -43,7 +43,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: BigInt(0), epochIdentifier: "", epochsPerPeriod: BigInt(0), @@ -156,8 +156,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/query.ts index 7655b78fe3..62fd80ce17 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/inflation/v1/query.ts @@ -278,7 +278,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -484,7 +484,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -690,7 +690,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/genesis.ts index 74359d8939..9ac49c934c 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/genesis.ts @@ -25,7 +25,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/query.ts b/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/query.ts index cbd9455627..3333102d95 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/recovery/v1/query.ts @@ -60,7 +60,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/evmos/vesting/v1/vesting.ts b/__fixtures__/v-next/outputosmojs/evmos/vesting/v1/vesting.ts index 873702779e..04ed9ba69c 100644 --- a/__fixtures__/v-next/outputosmojs/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/v-next/outputosmojs/evmos/vesting/v1/vesting.ts @@ -39,7 +39,7 @@ export interface ClawbackVestingAccountSDKType { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/v-next/outputosmojs/google/api/auth.ts b/__fixtures__/v-next/outputosmojs/google/api/auth.ts index fdedc1619b..620565e3e9 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/auth.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/auth.ts @@ -410,7 +410,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/v-next/outputosmojs/google/api/distribution.ts b/__fixtures__/v-next/outputosmojs/google/api/distribution.ts index b571024764..8cab58975b 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/distribution.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/distribution.ts @@ -308,8 +308,8 @@ function createBaseDistribution(): Distribution { count: BigInt(0), mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/conformance/v1alpha1/conformance_service.ts index bd0b73fba2..25bdfdc506 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -301,7 +301,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -382,7 +382,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -489,7 +489,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -571,7 +571,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -780,7 +780,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -862,7 +862,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/checked.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/checked.ts index 8a5590bb0d..52c44d3f67 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/checked.ts @@ -526,7 +526,7 @@ export interface ReferenceSDKType { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: BigInt(0), - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -599,7 +599,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: BigInt(0), - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -673,9 +673,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -1075,7 +1075,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -1135,8 +1135,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -1208,7 +1208,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -1456,8 +1456,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -1613,7 +1613,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -1753,7 +1753,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/syntax.ts index 08d9bd3e02..f8fc129d98 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/syntax.ts @@ -482,8 +482,8 @@ export interface SourcePositionSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -766,7 +766,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -852,7 +852,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1098,7 +1098,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: BigInt(0), fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1195,12 +1195,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -1570,7 +1570,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: BigInt(0), - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/value.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/value.ts index 7daedd6f9e..260b20df3d 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1alpha1/value.ts @@ -541,8 +541,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/decl.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/decl.ts index a07405428d..4565734156 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/decl.ts @@ -286,8 +286,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -360,7 +360,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/eval.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/eval.ts index 2f90a13766..e30f519d07 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/eval.ts @@ -231,7 +231,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/expr.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/expr.ts index bfc43382e0..50ecd4fddd 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/expr.ts @@ -368,8 +368,8 @@ export interface LiteralSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -665,7 +665,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -751,7 +751,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -997,7 +997,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1094,12 +1094,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/value.ts b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/value.ts index 16b1897260..bb7a04d149 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/expr/v1beta1/value.ts @@ -541,8 +541,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/metric.ts b/__fixtures__/v-next/outputosmojs/google/api/metric.ts index 2b3eedd415..c696302c15 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/metric.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/metric.ts @@ -392,7 +392,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/v-next/outputosmojs/google/api/monitored_resource.ts b/__fixtures__/v-next/outputosmojs/google/api/monitored_resource.ts index 5ebc3e5205..a192c56627 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/monitored_resource.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/monitored_resource.ts @@ -571,7 +571,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/service.ts b/__fixtures__/v-next/outputosmojs/google/api/service.ts index b9326aa30b..64ab64f384 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/service.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/service.ts @@ -204,24 +204,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/check_error.ts index f40a337608..8f893fbd4a 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/check_error.ts @@ -230,7 +230,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/log_entry.ts index 8cf454dfe3..5a500cd7e8 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/log_entry.ts @@ -239,15 +239,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/quota_controller.ts index 511a7d6d28..f2b9947165 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/quota_controller.ts @@ -333,7 +333,7 @@ export interface QuotaErrorSDKType { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -780,7 +780,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/service_controller.ts index 241c0c3f4a..b471cf2fe5 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v1/service_controller.ts @@ -267,7 +267,7 @@ export interface ReportResponse_ReportErrorSDKType { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -356,7 +356,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -473,7 +473,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -828,7 +828,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v2/service_controller.ts index 1fd486ccff..0cdd5f44b5 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicecontrol/v2/service_controller.ts @@ -144,7 +144,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -447,7 +447,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/v-next/outputosmojs/google/api/servicemanagement/v1/servicemanager.ts index c76708dc66..4a103dadaf 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/servicemanagement/v1/servicemanager.ts @@ -611,7 +611,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -791,7 +791,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -1105,7 +1105,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -1178,7 +1178,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -1263,7 +1263,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -1324,7 +1324,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/resources.ts b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/resources.ts index ba53c25195..061d1e4c12 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/resources.ts @@ -162,7 +162,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -262,13 +262,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/serviceusage.ts index 5c6cd652ab..f4bf88e677 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1/serviceusage.ts @@ -359,7 +359,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -505,7 +505,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/resources.ts index 7e90453588..5719e27b9b 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/resources.ts @@ -616,7 +616,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -716,13 +716,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1331,9 +1331,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: BigInt(0), defaultLimit: BigInt(0), - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/serviceusage.ts index 08b0859714..1f7f009613 100644 --- a/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/v-next/outputosmojs/google/api/serviceusage/v1beta1/serviceusage.ts @@ -1526,7 +1526,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -1642,9 +1642,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -2336,7 +2336,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -2452,9 +2452,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -3445,7 +3445,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/v-next/outputosmojs/google/logging/v2/log_entry.ts b/__fixtures__/v-next/outputosmojs/google/logging/v2/log_entry.ts index a52da71b5e..6dbf0ddb14 100644 --- a/__fixtures__/v-next/outputosmojs/google/logging/v2/log_entry.ts +++ b/__fixtures__/v-next/outputosmojs/google/logging/v2/log_entry.ts @@ -357,7 +357,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -365,14 +365,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging.ts b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging.ts index 7e12b0b694..4f40963774 100644 --- a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging.ts +++ b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging.ts @@ -619,7 +619,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -833,7 +833,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_config.ts b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_config.ts index 8ebb05b46a..39f8f31f1a 100644 --- a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_config.ts +++ b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_config.ts @@ -1595,7 +1595,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -2324,7 +2324,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -2409,8 +2409,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -2843,7 +2843,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -2928,8 +2928,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -3361,7 +3361,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -3447,9 +3447,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -3958,7 +3958,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -4031,8 +4031,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -4237,8 +4237,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -4469,8 +4469,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -4756,7 +4756,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_metrics.ts b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_metrics.ts index 1c4f2f5d53..684ef5e255 100644 --- a/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/v-next/outputosmojs/google/logging/v2/logging_metrics.ts @@ -397,10 +397,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -849,7 +849,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -922,7 +922,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/v-next/outputosmojs/google/protobuf/api.ts b/__fixtures__/v-next/outputosmojs/google/protobuf/api.ts index a076eefe32..0764f6874e 100644 --- a/__fixtures__/v-next/outputosmojs/google/protobuf/api.ts +++ b/__fixtures__/v-next/outputosmojs/google/protobuf/api.ts @@ -282,7 +282,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/v-next/outputosmojs/google/protobuf/compiler/plugin.ts b/__fixtures__/v-next/outputosmojs/google/protobuf/compiler/plugin.ts index dedbae4811..fa14fa9fa2 100644 --- a/__fixtures__/v-next/outputosmojs/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/v-next/outputosmojs/google/protobuf/compiler/plugin.ts @@ -246,7 +246,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/v-next/outputosmojs/google/protobuf/descriptor.ts b/__fixtures__/v-next/outputosmojs/google/protobuf/descriptor.ts index 4053470611..afea9e2978 100644 --- a/__fixtures__/v-next/outputosmojs/google/protobuf/descriptor.ts +++ b/__fixtures__/v-next/outputosmojs/google/protobuf/descriptor.ts @@ -1357,8 +1357,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -1632,7 +1632,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -1868,7 +1868,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -2102,7 +2102,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -2271,7 +2271,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -2345,7 +2345,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -2554,7 +2554,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -2640,7 +2640,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -2735,7 +2735,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/v-next/outputosmojs/google/protobuf/struct.ts b/__fixtures__/v-next/outputosmojs/google/protobuf/struct.ts index 333b2cd7da..7e9d94a5a2 100644 --- a/__fixtures__/v-next/outputosmojs/google/protobuf/struct.ts +++ b/__fixtures__/v-next/outputosmojs/google/protobuf/struct.ts @@ -130,7 +130,7 @@ export interface ListValueSDKType { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/v-next/outputosmojs/google/protobuf/type.ts b/__fixtures__/v-next/outputosmojs/google/protobuf/type.ts index 89debbdebf..fed71f6fe9 100644 --- a/__fixtures__/v-next/outputosmojs/google/protobuf/type.ts +++ b/__fixtures__/v-next/outputosmojs/google/protobuf/type.ts @@ -374,7 +374,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -707,7 +707,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -927,7 +927,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/v-next/outputosmojs/google/rpc/context/attribute_context.ts b/__fixtures__/v-next/outputosmojs/google/rpc/context/attribute_context.ts index 5cbb1fe974..b3c92683bc 100644 --- a/__fixtures__/v-next/outputosmojs/google/rpc/context/attribute_context.ts +++ b/__fixtures__/v-next/outputosmojs/google/rpc/context/attribute_context.ts @@ -531,13 +531,13 @@ export interface AttributeContext_ResourceSDKType { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -1015,7 +1015,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -1224,7 +1224,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: BigInt(0), protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/fee.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/fee.ts index 6d0c46f56a..6196fa00a7 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/fee.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/fee.ts @@ -162,7 +162,7 @@ export const Fee = { }; function createBasePacketFee(): PacketFee { return { - fee: undefined, + fee: Fee.fromPartial({}), refundAddress: "", relayers: [] }; diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/query.ts index 8ca4fec96e..2d76ec7f9b 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/query.ts @@ -209,7 +209,7 @@ export interface QueryFeeEnabledChannelResponseSDKType { } function createBaseQueryIncentivizedPacketsRequest(): QueryIncentivizedPacketsRequest { return { - pagination: undefined, + pagination: PageRequest.fromPartial({}), queryHeight: BigInt(0) }; } @@ -283,7 +283,7 @@ export const QueryIncentivizedPacketsRequest = { function createBaseQueryIncentivizedPacketsResponse(): QueryIncentivizedPacketsResponse { return { incentivizedPackets: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivizedPacketsResponse = { @@ -423,7 +423,7 @@ export const QueryIncentivizedPacketRequest = { }; function createBaseQueryIncentivizedPacketResponse(): QueryIncentivizedPacketResponse { return { - incentivizedPacket: undefined + incentivizedPacket: IdentifiedPacketFees.fromPartial({}) }; } export const QueryIncentivizedPacketResponse = { @@ -483,7 +483,7 @@ export const QueryIncentivizedPacketResponse = { }; function createBaseQueryIncentivizedPacketsForChannelRequest(): QueryIncentivizedPacketsForChannelRequest { return { - pagination: undefined, + pagination: PageRequest.fromPartial({}), portId: "", channelId: "", queryHeight: BigInt(0) @@ -583,7 +583,7 @@ export const QueryIncentivizedPacketsForChannelRequest = { function createBaseQueryIncentivizedPacketsForChannelResponse(): QueryIncentivizedPacketsForChannelResponse { return { incentivizedPackets: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivizedPacketsForChannelResponse = { @@ -1262,7 +1262,7 @@ export const QueryCounterpartyPayeeResponse = { }; function createBaseQueryFeeEnabledChannelsRequest(): QueryFeeEnabledChannelsRequest { return { - pagination: undefined, + pagination: PageRequest.fromPartial({}), queryHeight: BigInt(0) }; } @@ -1336,7 +1336,7 @@ export const QueryFeeEnabledChannelsRequest = { function createBaseQueryFeeEnabledChannelsResponse(): QueryFeeEnabledChannelsResponse { return { feeEnabledChannels: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryFeeEnabledChannelsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/tx.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/tx.ts index 5ea9b9880d..1294e57c28 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/fee/v1/tx.ts @@ -384,7 +384,7 @@ export const MsgRegisterCounterpartyPayeeResponse = { }; function createBaseMsgPayPacketFee(): MsgPayPacketFee { return { - fee: undefined, + fee: Fee.fromPartial({}), sourcePortId: "", sourceChannelId: "", signer: "", @@ -547,7 +547,7 @@ export const MsgPayPacketFeeResponse = { }; function createBaseMsgPayPacketFeeAsync(): MsgPayPacketFeeAsync { return { - packetFee: undefined + packetFee: PacketFee.fromPartial({}) }; } export const MsgPayPacketFeeAsync = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/query.ts index 1afcb8ab3e..4dee04a589 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/query.ts @@ -211,7 +211,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/tx.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/tx.ts index a27449a77a..73bbd2c874 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/controller/v1/tx.ts @@ -213,7 +213,7 @@ function createBaseMsgSendTx(): MsgSendTx { return { owner: "", connectionId: "", - packetData: undefined, + packetData: InterchainAccountPacketData.fromPartial({}), relativeTimeout: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/genesis/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/genesis/v1/genesis.ts index a4c5daabd4..d49f418e13 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/genesis/v1/genesis.ts @@ -77,8 +77,8 @@ export interface RegisteredInterchainAccountSDKType { } function createBaseGenesisState(): GenesisState { return { - controllerGenesisState: undefined, - hostGenesisState: undefined + controllerGenesisState: ControllerGenesisState.fromPartial({}), + hostGenesisState: HostGenesisState.fromPartial({}) }; } export const GenesisState = { @@ -153,7 +153,7 @@ function createBaseControllerGenesisState(): ControllerGenesisState { activeChannels: [], interchainAccounts: [], ports: [], - params: undefined + params: Params.fromPartial({}) }; } export const ControllerGenesisState = { @@ -276,7 +276,7 @@ function createBaseHostGenesisState(): HostGenesisState { activeChannels: [], interchainAccounts: [], port: "", - params: undefined + params: Params.fromPartial({}) }; } export const HostGenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/host/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/host/v1/query.ts index d8de311848..ef3b9cb0e8 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/host/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/host/v1/query.ts @@ -60,7 +60,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/v1/account.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/v1/account.ts index 9c8320dc08..6f7e3f3eb9 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/v1/account.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/interchain_accounts/v1/account.ts @@ -14,7 +14,7 @@ export interface InterchainAccountSDKType { } function createBaseInterchainAccount(): InterchainAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), accountOwner: "" }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/genesis.ts index 72a8405afe..060225197d 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/genesis.ts @@ -18,7 +18,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/query.ts index 4f915b71b1..ae67619f81 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/query.ts @@ -141,7 +141,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -201,7 +201,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -262,7 +262,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -385,7 +385,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/tx.ts b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/tx.ts index 4e886813a9..feed4079f6 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/applications/transfer/v1/tx.ts @@ -55,7 +55,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/channel.ts b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/channel.ts index 9e3fad6300..d786bfd493 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/channel.ts @@ -282,7 +282,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -402,7 +402,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -625,7 +625,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/query.ts index 1365d1e5af..af53e14a70 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/query.ts @@ -599,9 +599,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -685,7 +685,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -746,8 +746,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -840,7 +840,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -913,8 +913,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -1079,9 +1079,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -1267,7 +1267,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -1451,7 +1451,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -1537,7 +1537,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -1622,8 +1622,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -1803,7 +1803,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -1975,7 +1975,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -2061,7 +2061,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -2176,8 +2176,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -2373,7 +2373,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -2566,7 +2566,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -2730,7 +2730,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: BigInt(0), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/tx.ts b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/tx.ts index 60a9a8d5e9..0f993af9ad 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/channel/v1/tx.ts @@ -258,7 +258,7 @@ export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -388,10 +388,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -572,7 +572,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -751,7 +751,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1035,7 +1035,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1187,9 +1187,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1329,9 +1329,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: BigInt(0), signer: "" }; @@ -1484,10 +1484,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: BigInt(0), signer: "" }; @@ -1652,10 +1652,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/client.ts b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/client.ts index 853590029b..d7e01e2b1b 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/client.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/client.ts @@ -234,7 +234,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -489,7 +489,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/genesis.ts index d3dbecf2ff..d73f60a4a9 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/genesis.ts @@ -64,7 +64,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: BigInt(0) }; diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/query.ts index 17cae07110..c639c312cf 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/client/v1/query.ts @@ -329,7 +329,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -413,7 +413,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -474,7 +474,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -655,7 +655,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -740,7 +740,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -813,7 +813,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -1056,7 +1056,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/connection.ts b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/connection.ts index 76800fe9d8..141b94f753 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/connection.ts @@ -205,7 +205,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0) }; } @@ -326,7 +326,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0) }; } @@ -457,7 +457,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/genesis.ts index a8f8edc5ac..7b990126ba 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/genesis.ts @@ -22,7 +22,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: BigInt(0), - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/query.ts index f24adea1a2..3ef48c8b7a 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/query.ts @@ -255,9 +255,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -341,7 +341,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -402,8 +402,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -557,7 +557,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -709,9 +709,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -884,7 +884,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/tx.ts b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/tx.ts index ae3f381b13..58dee96914 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/connection/v1/tx.ts @@ -162,8 +162,8 @@ export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: BigInt(0), signer: "" }; @@ -319,14 +319,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0), counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -572,13 +572,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -792,7 +792,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/port/v1/query.ts b/__fixtures__/v-next/outputosmojs/ibc/core/port/v1/query.ts index c2d7018b42..b835988f45 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/port/v1/query.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/port/v1/query.ts @@ -40,7 +40,7 @@ function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { portId: "", connectionId: "", ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), proposedVersion: "" }; } diff --git a/__fixtures__/v-next/outputosmojs/ibc/core/types/v1/genesis.ts b/__fixtures__/v-next/outputosmojs/ibc/core/types/v1/genesis.ts index ba26d80ed8..47d8ca306b 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/core/types/v1/genesis.ts @@ -24,9 +24,9 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v1/localhost.ts index 0295f55394..e66dbc9f77 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v1/localhost.ts @@ -23,7 +23,7 @@ export interface ClientStateSDKType { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v2/localhost.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v2/localhost.ts index a2027765ac..1223d4317d 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v2/localhost.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/localhost/v2/localhost.ts @@ -13,7 +13,7 @@ export interface ClientStateSDKType { } function createBaseClientState(): ClientState { return { - latestHeight: undefined + latestHeight: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v1/solomachine.ts index 6992594b82..08c6572e5f 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v1/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: BigInt(0), frozenSequence: BigInt(0), - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -673,8 +673,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: BigInt(0), - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1274,7 +1274,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1347,7 +1347,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v2/solomachine.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v2/solomachine.ts index be8e9ffd77..0114583a2e 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v2/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: BigInt(0), isFrozen: false, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -673,8 +673,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: BigInt(0), - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1274,7 +1274,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1347,7 +1347,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v3/solomachine.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v3/solomachine.ts index 9330f2e186..84ee6b4fda 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v3/solomachine.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/solomachine/v3/solomachine.ts @@ -153,7 +153,7 @@ function createBaseClientState(): ClientState { return { sequence: BigInt(0), isFrozen: false, - consensusState: undefined + consensusState: ConsensusState.fromPartial({}) }; } export const ClientState = { @@ -423,8 +423,8 @@ export const Header = { function createBaseMisbehaviour(): Misbehaviour { return { sequence: BigInt(0), - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { diff --git a/__fixtures__/v-next/outputosmojs/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/v-next/outputosmojs/ibc/lightclients/tendermint/v1/tendermint.ts index ea38c8cc1d..bc30a05712 100644 --- a/__fixtures__/v-next/outputosmojs/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/v-next/outputosmojs/ibc/lightclients/tendermint/v1/tendermint.ts @@ -162,12 +162,12 @@ export interface FractionSDKType { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -368,7 +368,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -454,8 +454,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -539,10 +539,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/accum/v1beta1/accum.ts b/__fixtures__/v-next/outputosmojs/osmosis/accum/v1beta1/accum.ts index a113817f12..461f21c305 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/accum/v1beta1/accum.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/accum/v1beta1/accum.ts @@ -154,7 +154,7 @@ function createBaseRecord(): Record { numShares: "", initAccumValue: [], unclaimedRewards: [], - options: undefined + options: Options.fromPartial({}) }; } export const Record = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/genesis.ts index cd1ffb566b..44389c5fe2 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/genesis.ts @@ -22,7 +22,7 @@ export interface GenesisStateSDKType { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/query.ts index a69b5e27ad..27f8c77a33 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/claim/v1beta1/query.ts @@ -224,7 +224,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -344,7 +344,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/genesis.ts index c4da8ab4f0..82e47491dd 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/genesis.ts @@ -82,7 +82,7 @@ function createBaseFullTick(): FullTick { return { poolId: BigInt(0), tickIndex: BigInt(0), - info: undefined + info: TickInfo.fromPartial({}) }; } export const FullTick = { @@ -168,7 +168,7 @@ function createBasePoolData(): PoolData { return { pool: undefined, ticks: [], - feeAccumulator: undefined, + feeAccumulator: AccumObject.fromPartial({}), incentivesAccumulators: [], incentiveRecords: [] }; @@ -302,7 +302,7 @@ export const PoolData = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), poolData: [], positions: [], nextPositionId: BigInt(0) @@ -418,7 +418,7 @@ export const GenesisState = { function createBaseAccumObject(): AccumObject { return { name: "", - accumContent: undefined + accumContent: AccumulatorContent.fromPartial({}) }; } export const AccumObject = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/incentive_record.ts b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/incentive_record.ts index 668dd724ea..53538564f0 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/incentive_record.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/incentive_record.ts @@ -71,7 +71,7 @@ function createBaseIncentiveRecord(): IncentiveRecord { poolId: BigInt(0), incentiveDenom: "", incentiveCreatorAddr: "", - incentiveRecordBody: undefined, + incentiveRecordBody: IncentiveRecordBody.fromPartial({}), minUptime: undefined }; } diff --git a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/pool-model/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/pool-model/query.ts index 2ccfb12a86..81dc1a7d89 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/pool-model/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/pool-model/query.ts @@ -338,7 +338,7 @@ export const QueryPositionByIdRequest = { }; function createBaseQueryPositionByIdResponse(): QueryPositionByIdResponse { return { - position: undefined + position: PositionWithUnderlyingAssetBreakdown.fromPartial({}) }; } export const QueryPositionByIdResponse = { @@ -398,7 +398,7 @@ export const QueryPositionByIdResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -459,7 +459,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -582,7 +582,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/position.ts b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/position.ts index 36e5d7d816..152c31ed02 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/position.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/concentrated-liquidity/position.ts @@ -180,7 +180,7 @@ export const Position = { }; function createBasePositionWithUnderlyingAssetBreakdown(): PositionWithUnderlyingAssetBreakdown { return { - position: undefined, + position: Position.fromPartial({}), asset0: undefined, asset1: undefined }; diff --git a/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/genesis.ts index 959301891b..8a1f0321db 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/genesis.ts @@ -59,7 +59,7 @@ export const Params = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/query.ts index 054b069ae0..bcdab912ef 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/cosmwasmpool/v1beta1/query.ts @@ -57,7 +57,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/balancerPool.ts index 3a6dba7f2a..54b79db133 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -422,7 +422,7 @@ function createBasePool(): Pool { return { address: "", id: BigInt(0), - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/tx/tx.ts index 3caf39ad19..60d1b3f9a1 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -27,7 +27,7 @@ export interface MsgCreateBalancerPoolResponseSDKType { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 83bb7b3d9f..3235cb5e2f 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -136,7 +136,7 @@ function createBasePool(): Pool { return { address: "", id: BigInt(0), - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/tx.ts index 5920ee3325..4526b6f6f8 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/pool-models/stableswap/tx.ts @@ -52,7 +52,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponseSDKType {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/genesis.ts index cadcba851c..52559c9b82 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/genesis.ts @@ -96,7 +96,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: BigInt(0), - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/query.ts index 16840e1423..1579bd671a 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/gamm/v1beta1/query.ts @@ -383,7 +383,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -444,7 +444,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -1668,7 +1668,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -1761,7 +1761,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/genesis.ts index 95feb8446f..fc8000f101 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/genesis.ts @@ -13,7 +13,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/query.ts index 1b6a305fd1..e43d80196c 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -60,7 +60,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/incentives/gauge.ts b/__fixtures__/v-next/outputosmojs/osmosis/incentives/gauge.ts index b87328a173..b39639b7da 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/incentives/gauge.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/incentives/gauge.ts @@ -72,7 +72,7 @@ function createBaseGauge(): Gauge { return { id: BigInt(0), isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: BigInt(0), diff --git a/__fixtures__/v-next/outputosmojs/osmosis/incentives/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/incentives/genesis.ts index 34f8f189ed..753d76cf2d 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/incentives/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/incentives/genesis.ts @@ -36,7 +36,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: BigInt(0) diff --git a/__fixtures__/v-next/outputosmojs/osmosis/incentives/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/incentives/query.ts index e23d864ff8..2b96c2017a 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/incentives/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/incentives/query.ts @@ -327,7 +327,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -387,7 +387,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -448,7 +448,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -528,7 +528,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -589,7 +589,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -670,7 +670,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -743,7 +743,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -823,7 +823,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -884,7 +884,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -965,7 +965,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -1038,7 +1038,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/incentives/tx.ts b/__fixtures__/v-next/outputosmojs/osmosis/incentives/tx.ts index 548a80d79b..7bc3784e01 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/incentives/tx.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/incentives/tx.ts @@ -63,7 +63,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: BigInt(0) diff --git a/__fixtures__/v-next/outputosmojs/osmosis/lockup/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/lockup/query.ts index 461da86a34..46f3bdc702 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/lockup/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/lockup/query.ts @@ -1598,7 +1598,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -2406,7 +2406,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/genesis.ts index c7b499ea6f..567fbeb2ce 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/genesis.ts @@ -22,8 +22,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/mint.ts b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/mint.ts index f8a91647b9..185c43e492 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/mint.ts @@ -354,7 +354,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: BigInt(0), reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: BigInt(0) }; diff --git a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/query.ts index 15666e75cf..e6be8d3da2 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/mint/v1beta1/query.ts @@ -85,7 +85,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/genesis.ts index b66128a019..b22deda731 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/genesis.ts @@ -20,7 +20,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/query.ts index 1db76d843f..037cee276c 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/pool-incentives/v1beta1/query.ts @@ -335,7 +335,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -438,7 +438,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/genesis.ts index a80bd9e0ad..5d7ba68af8 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/genesis.ts @@ -97,7 +97,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { nextPoolId: BigInt(0), - params: undefined, + params: Params.fromPartial({}), poolRoutes: [] }; } diff --git a/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/query.ts index 9e8d6366d1..cc51752b23 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/poolmanager/v1beta1/query.ts @@ -186,7 +186,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/genesis.ts index 0cf851dd02..1b6ef22733 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/genesis.ts @@ -57,10 +57,10 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairArbRoutes: [], baseDenoms: [], - poolWeights: undefined, + poolWeights: PoolWeights.fromPartial({}), daysSinceModuleGenesis: BigInt(0), developerFees: [], latestBlockHeight: BigInt(0), diff --git a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/query.ts index 74c5b4ad29..d8a41704b9 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/query.ts @@ -412,7 +412,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -883,7 +883,7 @@ export const QueryGetProtoRevStatisticsByRouteRequest = { }; function createBaseQueryGetProtoRevStatisticsByRouteResponse(): QueryGetProtoRevStatisticsByRouteResponse { return { - statistics: undefined + statistics: RouteStatistics.fromPartial({}) }; } export const QueryGetProtoRevStatisticsByRouteResponse = { @@ -1414,7 +1414,7 @@ export const QueryGetProtoRevPoolWeightsRequest = { }; function createBaseQueryGetProtoRevPoolWeightsResponse(): QueryGetProtoRevPoolWeightsResponse { return { - poolWeights: undefined + poolWeights: PoolWeights.fromPartial({}) }; } export const QueryGetProtoRevPoolWeightsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/tx.ts index 1d1a904174..dd7173ed2d 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/protorev/v1beta1/tx.ts @@ -377,7 +377,7 @@ export const MsgSetDeveloperAccountResponse = { function createBaseMsgSetPoolWeights(): MsgSetPoolWeights { return { admin: "", - poolWeights: undefined + poolWeights: PoolWeights.fromPartial({}) }; } export const MsgSetPoolWeights = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/v-next/outputosmojs/osmosis/sumtree/v1beta1/tree.ts index 91cb2f4309..fed713b0cd 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/sumtree/v1beta1/tree.ts @@ -164,7 +164,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/superfluid/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/superfluid/genesis.ts index 5d15a835c1..ccd3211728 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/superfluid/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/superfluid/genesis.ts @@ -33,7 +33,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/v-next/outputosmojs/osmosis/superfluid/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/superfluid/query.ts index e3ef544d20..46b9027db1 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/superfluid/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/superfluid/query.ts @@ -265,7 +265,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -616,7 +616,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -775,7 +775,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -836,7 +836,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -976,7 +976,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/genesis.ts index 48af623fe0..e087b34cda 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/genesis.ts @@ -34,7 +34,7 @@ export interface GenesisDenomSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -116,7 +116,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/query.ts index 42233119b9..69a22c87e1 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/query.ts @@ -117,7 +117,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -237,7 +237,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/tx.ts index ba4cafa422..a85c5d971a 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/tokenfactory/v1beta1/tx.ts @@ -635,7 +635,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/genesis.ts index b9b4ccce33..c5e1571242 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/genesis.ts @@ -101,7 +101,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/query.ts b/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/query.ts index 1ef113d762..6a70de76e3 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/twap/v1beta1/query.ts @@ -426,7 +426,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputosmojs/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/v-next/outputosmojs/osmosis/txfees/v1beta1/gov.ts index e6122ae305..0b95fc5019 100644 --- a/__fixtures__/v-next/outputosmojs/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputosmojs/osmosis/txfees/v1beta1/gov.ts @@ -30,7 +30,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/abci/types.ts b/__fixtures__/v-next/outputosmojs/tendermint/abci/types.ts index 065f53f2d4..8ca768d27d 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/abci/types.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/abci/types.ts @@ -1249,7 +1249,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: BigInt(0) @@ -1480,8 +1480,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -1865,7 +1865,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -2726,7 +2726,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -2826,7 +2826,7 @@ function createBaseResponseQuery(): ResponseQuery { index: BigInt(0), key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: BigInt(0), codespace: "" }; @@ -3371,7 +3371,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -3844,10 +3844,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -4267,7 +4267,7 @@ function createBaseTxResult(): TxResult { height: BigInt(0), index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -4509,7 +4509,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -4583,7 +4583,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: BigInt(0), time: undefined, totalVotingPower: BigInt(0) diff --git a/__fixtures__/v-next/outputosmojs/tendermint/crypto/proof.ts b/__fixtures__/v-next/outputosmojs/tendermint/crypto/proof.ts index 5f98629ad4..79d25abff1 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/crypto/proof.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/crypto/proof.ts @@ -171,7 +171,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/p2p/types.ts b/__fixtures__/v-next/outputosmojs/tendermint/p2p/types.ts index 633524ed22..580f95a81e 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/p2p/types.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/p2p/types.ts @@ -150,14 +150,14 @@ export const ProtocolVersion = { }; function createBaseNodeInfo(): NodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), nodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: NodeInfoOther.fromPartial({}) }; } export const NodeInfo = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/types/block.ts b/__fixtures__/v-next/outputosmojs/tendermint/types/block.ts index efe0e57b4c..1dfc032292 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/types/block.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/types/block.ts @@ -17,10 +17,10 @@ export interface BlockSDKType { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/types/evidence.ts b/__fixtures__/v-next/outputosmojs/tendermint/types/evidence.ts index 05d89f69a0..86dc310068 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/types/evidence.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/types/evidence.ts @@ -125,8 +125,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: BigInt(0), validatorPower: BigInt(0), timestamp: undefined @@ -237,7 +237,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: BigInt(0), byzantineValidators: [], totalVotingPower: BigInt(0), diff --git a/__fixtures__/v-next/outputosmojs/tendermint/types/params.ts b/__fixtures__/v-next/outputosmojs/tendermint/types/params.ts index cc48a20a57..882aa4e4ac 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/types/params.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/types/params.ts @@ -120,10 +120,10 @@ export interface HashedParamsSDKType { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/types/types.ts b/__fixtures__/v-next/outputosmojs/tendermint/types/types.ts index 8151f7cffc..1e8ea1d1cc 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/types/types.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/types/types.ts @@ -373,7 +373,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -458,7 +458,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -530,11 +530,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: BigInt(0), time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -830,7 +830,7 @@ function createBaseVote(): Vote { type: 0, height: BigInt(0), round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -980,7 +980,7 @@ function createBaseCommit(): Commit { return { height: BigInt(0), round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -1188,7 +1188,7 @@ function createBaseProposal(): Proposal { height: BigInt(0), round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -1322,8 +1322,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1395,8 +1395,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1468,9 +1468,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: BigInt(0), - header: undefined, + header: Header.fromPartial({}), numTxs: BigInt(0) }; } @@ -1569,7 +1569,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/v-next/outputosmojs/tendermint/types/validator.ts b/__fixtures__/v-next/outputosmojs/tendermint/types/validator.ts index c4064b46e1..5d8420846b 100644 --- a/__fixtures__/v-next/outputosmojs/tendermint/types/validator.ts +++ b/__fixtures__/v-next/outputosmojs/tendermint/types/validator.ts @@ -35,7 +35,7 @@ export interface SimpleValidatorSDKType { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv2/akash/audit/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/audit/v1beta2/query.ts index dd6a679ea4..5f82c5de84 100644 --- a/__fixtures__/v-next/outputv2/akash/audit/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/audit/v1beta2/query.ts @@ -141,7 +141,7 @@ export interface QueryAuditorAttributesRequestSDKType { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -342,7 +342,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -424,7 +424,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -614,7 +614,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/v-next/outputv2/akash/base/v1beta1/attribute.ts b/__fixtures__/v-next/outputv2/akash/base/v1beta1/attribute.ts index 83e13aed74..2ff3c4ea21 100644 --- a/__fixtures__/v-next/outputv2/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/v-next/outputv2/akash/base/v1beta1/attribute.ts @@ -309,7 +309,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv2/akash/base/v1beta1/resource.ts b/__fixtures__/v-next/outputv2/akash/base/v1beta1/resource.ts index c91d3649e9..c68fceab7f 100644 --- a/__fixtures__/v-next/outputv2/akash/base/v1beta1/resource.ts +++ b/__fixtures__/v-next/outputv2/akash/base/v1beta1/resource.ts @@ -113,7 +113,7 @@ export interface ResourceUnitsSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -220,7 +220,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -327,7 +327,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv2/akash/base/v1beta2/attribute.ts b/__fixtures__/v-next/outputv2/akash/base/v1beta2/attribute.ts index 2f3b2a7824..f5127a9c0d 100644 --- a/__fixtures__/v-next/outputv2/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/v-next/outputv2/akash/base/v1beta2/attribute.ts @@ -309,7 +309,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv2/akash/base/v1beta2/resource.ts b/__fixtures__/v-next/outputv2/akash/base/v1beta2/resource.ts index 6cbbf03e82..e0ac48ffb9 100644 --- a/__fixtures__/v-next/outputv2/akash/base/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv2/akash/base/v1beta2/resource.ts @@ -77,7 +77,7 @@ export interface StorageSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -184,7 +184,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -292,7 +292,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/cert.ts b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/cert.ts index 46276b42e3..af60f313ea 100644 --- a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/cert.ts @@ -679,7 +679,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/genesis.ts b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/genesis.ts index 1e1eb1f43c..515dbb2602 100644 --- a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/genesis.ts @@ -48,7 +48,7 @@ export interface GenesisStateSDKType { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/query.ts index 5635d4d3fc..6d56c89569 100644 --- a/__fixtures__/v-next/outputv2/akash/cert/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/cert/v1beta2/query.ts @@ -74,7 +74,7 @@ export interface QueryCertificatesResponseSDKType { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -169,8 +169,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -265,7 +265,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/deployment.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/deployment.ts index ab623e7a33..be6377c866 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/deployment.ts @@ -281,7 +281,7 @@ export interface DeploymentFiltersSDKType { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -479,7 +479,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -637,7 +637,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -821,7 +821,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -1060,7 +1060,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/genesis.ts index 1503e80c91..28043ebe7d 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/genesis.ts @@ -52,7 +52,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -160,7 +160,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/group.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/group.ts index ed0130d399..80a8a220cf 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/group.ts @@ -271,7 +271,7 @@ export interface ResourceSDKType { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -415,7 +415,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -559,7 +559,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -813,7 +813,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -933,9 +933,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } @@ -1056,7 +1056,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/query.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/query.ts index 6ace5f28cf..7ab38d348b 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta1/query.ts @@ -139,8 +139,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -235,7 +235,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -341,7 +341,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -422,9 +422,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -543,7 +543,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -624,7 +624,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deployment.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deployment.ts index b0c63fc9e3..e386e5e40c 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deployment.ts @@ -218,7 +218,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deploymentmsg.ts index 9ae959f105..1002156df6 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/deploymentmsg.ts @@ -167,7 +167,7 @@ export interface MsgCloseDeploymentResponseAminoMsg { export interface MsgCloseDeploymentResponseSDKType {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -379,7 +379,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -551,7 +551,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -709,7 +709,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/genesis.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/genesis.ts index c03b540593..8c24622d5a 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/genesis.ts @@ -52,7 +52,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -160,7 +160,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/group.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/group.ts index fd2ef5efa8..406938fafa 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/group.ts @@ -90,9 +90,9 @@ export interface GroupSDKType { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupmsg.ts index e88bc6e204..dc6e5a1cba 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupmsg.ts @@ -106,7 +106,7 @@ export interface MsgStartGroupResponseAminoMsg { export interface MsgStartGroupResponseSDKType {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -250,7 +250,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -394,7 +394,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupspec.ts index c092ea512c..87b9b6bb60 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/groupspec.ts @@ -32,7 +32,7 @@ export interface GroupSpecSDKType { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/query.ts index efefbb07e8..e33853c2a8 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/query.ts @@ -140,8 +140,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -236,7 +236,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -342,7 +342,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -423,9 +423,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -544,7 +544,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -625,7 +625,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/resource.ts b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/resource.ts index ee1c7db5c3..04dcc1d9d2 100644 --- a/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv2/akash/deployment/v1beta2/resource.ts @@ -31,9 +31,9 @@ export interface ResourceSDKType { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/query.ts b/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/query.ts index 1e70fb7feb..6bea7f65be 100644 --- a/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/query.ts @@ -122,7 +122,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -256,7 +256,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -367,7 +367,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -514,7 +514,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/types.ts b/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/types.ts index ebabe83ce3..4634afcef6 100644 --- a/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/v-next/outputv2/akash/escrow/v1beta1/types.ts @@ -305,7 +305,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -456,7 +456,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/query.ts index b09e76c7d3..f855ea7962 100644 --- a/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/query.ts @@ -122,7 +122,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -256,7 +256,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -367,7 +367,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -514,7 +514,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/types.ts b/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/types.ts index 54a44d18a5..e615cbc1a8 100644 --- a/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/v-next/outputv2/akash/escrow/v1beta2/types.ts @@ -329,14 +329,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: Long.ZERO, depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -508,12 +508,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/v-next/outputv2/akash/inflation/v1beta2/genesis.ts b/__fixtures__/v-next/outputv2/akash/inflation/v1beta2/genesis.ts index 198d85c340..ee80733d91 100644 --- a/__fixtures__/v-next/outputv2/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv2/akash/inflation/v1beta2/genesis.ts @@ -24,7 +24,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/akash/market/v1beta2/bid.ts b/__fixtures__/v-next/outputv2/akash/market/v1beta2/bid.ts index e2df01f22b..32ff34d6fb 100644 --- a/__fixtures__/v-next/outputv2/akash/market/v1beta2/bid.ts +++ b/__fixtures__/v-next/outputv2/akash/market/v1beta2/bid.ts @@ -243,9 +243,9 @@ export interface BidFiltersSDKType { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -429,7 +429,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -710,9 +710,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv2/akash/market/v1beta2/genesis.ts b/__fixtures__/v-next/outputv2/akash/market/v1beta2/genesis.ts index 8f5aacb5ce..7532cfbf1f 100644 --- a/__fixtures__/v-next/outputv2/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv2/akash/market/v1beta2/genesis.ts @@ -34,7 +34,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/akash/market/v1beta2/lease.ts b/__fixtures__/v-next/outputv2/akash/market/v1beta2/lease.ts index 6785449e7a..b88d837bca 100644 --- a/__fixtures__/v-next/outputv2/akash/market/v1beta2/lease.ts +++ b/__fixtures__/v-next/outputv2/akash/market/v1beta2/lease.ts @@ -392,9 +392,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO, closedOn: Long.ZERO }; @@ -680,7 +680,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -824,7 +824,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -968,7 +968,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/v-next/outputv2/akash/market/v1beta2/order.ts b/__fixtures__/v-next/outputv2/akash/market/v1beta2/order.ts index e04e31a4e6..d8a8acde6a 100644 --- a/__fixtures__/v-next/outputv2/akash/market/v1beta2/order.ts +++ b/__fixtures__/v-next/outputv2/akash/market/v1beta2/order.ts @@ -266,9 +266,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv2/akash/market/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/market/v1beta2/query.ts index 85ef0e6f96..bc016a2f7c 100644 --- a/__fixtures__/v-next/outputv2/akash/market/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/market/v1beta2/query.ts @@ -272,8 +272,8 @@ export interface QueryLeaseResponseSDKType { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -368,7 +368,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -474,7 +474,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -555,7 +555,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -636,8 +636,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -732,7 +732,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -838,7 +838,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -919,8 +919,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -1014,8 +1014,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -1110,7 +1110,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -1216,7 +1216,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -1297,8 +1297,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/v-next/outputv2/akash/provider/v1beta1/provider.ts b/__fixtures__/v-next/outputv2/akash/provider/v1beta1/provider.ts index da29d302cb..60bfc16331 100644 --- a/__fixtures__/v-next/outputv2/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/v-next/outputv2/akash/provider/v1beta1/provider.ts @@ -274,7 +274,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -472,7 +472,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -814,7 +814,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv2/akash/provider/v1beta2/provider.ts b/__fixtures__/v-next/outputv2/akash/provider/v1beta2/provider.ts index f143e32df9..9f6be2bcae 100644 --- a/__fixtures__/v-next/outputv2/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/v-next/outputv2/akash/provider/v1beta2/provider.ts @@ -274,7 +274,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -472,7 +472,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -814,7 +814,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv2/akash/provider/v1beta2/query.ts b/__fixtures__/v-next/outputv2/akash/provider/v1beta2/query.ts index 9864d3ef59..4e391a0ae2 100644 --- a/__fixtures__/v-next/outputv2/akash/provider/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv2/akash/provider/v1beta2/query.ts @@ -88,7 +88,7 @@ export interface QueryProviderResponseSDKType { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -170,7 +170,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -357,7 +357,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/v-next/outputv2/confio/proofs.ts b/__fixtures__/v-next/outputv2/confio/proofs.ts index c7f14b3c84..b15b2bf2a1 100644 --- a/__fixtures__/v-next/outputv2/confio/proofs.ts +++ b/__fixtures__/v-next/outputv2/confio/proofs.ts @@ -758,7 +758,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -892,8 +892,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -1369,8 +1369,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -2068,7 +2068,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -2211,8 +2211,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/v-next/outputv2/cosmos/app/v1alpha1/query.ts b/__fixtures__/v-next/outputv2/cosmos/app/v1alpha1/query.ts index 50e8dae424..f9eb8bdfe4 100644 --- a/__fixtures__/v-next/outputv2/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/app/v1alpha1/query.ts @@ -110,7 +110,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/auth.ts b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/auth.ts index d643b7f31e..b94a7d7790 100644 --- a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/auth.ts @@ -233,7 +233,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/genesis.ts index f9846da97f..4ff5c258c8 100644 --- a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/query.ts index 6dbd445835..a25e38877f 100644 --- a/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/auth/v1beta1/query.ts @@ -316,7 +316,7 @@ export interface AddressStringToBytesResponseSDKType { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -405,7 +405,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -676,7 +676,7 @@ export const QueryModuleAccountsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/query.ts index fbaf4105b4..e2b7aae27e 100644 --- a/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/query.ts @@ -172,7 +172,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -300,7 +300,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -414,7 +414,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -516,7 +516,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -630,7 +630,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -732,7 +732,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/tx.ts b/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/tx.ts index 4687b9575c..62617b432f 100644 --- a/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv2/cosmos/authz/v1beta1/tx.ts @@ -178,7 +178,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/genesis.ts index 6713381d68..382f9b49f8 100644 --- a/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/genesis.ts @@ -84,7 +84,7 @@ export interface BalanceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/query.ts index da1736a2a3..fa060abf5d 100644 --- a/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/bank/v1beta1/query.ts @@ -756,7 +756,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -858,7 +858,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -972,7 +972,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -1074,7 +1074,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -1187,7 +1187,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -1276,7 +1276,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -1635,7 +1635,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1723,7 +1723,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -1812,7 +1812,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -2013,7 +2013,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { @@ -2102,7 +2102,7 @@ export const QueryDenomMetadataResponse = { function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomOwnersRequest = { @@ -2306,7 +2306,7 @@ export const DenomOwner = { function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { return { denomOwners: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomOwnersResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/v-next/outputv2/cosmos/base/abci/v1beta1/abci.ts index 2fdb6ab549..9baf77726c 100644 --- a/__fixtures__/v-next/outputv2/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/v-next/outputv2/cosmos/base/abci/v1beta1/abci.ts @@ -1354,8 +1354,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/base/reflection/v2alpha1/reflection.ts b/__fixtures__/v-next/outputv2/cosmos/base/reflection/v2alpha1/reflection.ts index 896b9e84e5..b0db5361f4 100644 --- a/__fixtures__/v-next/outputv2/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/__fixtures__/v-next/outputv2/cosmos/base/reflection/v2alpha1/reflection.ts @@ -703,12 +703,12 @@ export interface QueryMethodDescriptorSDKType { } function createBaseAppDescriptor(): AppDescriptor { return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined + authn: AuthnDescriptor.fromPartial({}), + chain: ChainDescriptor.fromPartial({}), + codec: CodecDescriptor.fromPartial({}), + configuration: ConfigurationDescriptor.fromPartial({}), + queryServices: QueryServicesDescriptor.fromPartial({}), + tx: TxDescriptor.fromPartial({}) }; } export const AppDescriptor = { @@ -1981,7 +1981,7 @@ export const GetAuthnDescriptorRequest = { }; function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { return { - authn: undefined + authn: AuthnDescriptor.fromPartial({}) }; } export const GetAuthnDescriptorResponse = { @@ -2139,7 +2139,7 @@ export const GetChainDescriptorRequest = { }; function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { return { - chain: undefined + chain: ChainDescriptor.fromPartial({}) }; } export const GetChainDescriptorResponse = { @@ -2297,7 +2297,7 @@ export const GetCodecDescriptorRequest = { }; function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { return { - codec: undefined + codec: CodecDescriptor.fromPartial({}) }; } export const GetCodecDescriptorResponse = { @@ -2455,7 +2455,7 @@ export const GetConfigurationDescriptorRequest = { }; function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { return { - config: undefined + config: ConfigurationDescriptor.fromPartial({}) }; } export const GetConfigurationDescriptorResponse = { @@ -2613,7 +2613,7 @@ export const GetQueryServicesDescriptorRequest = { }; function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { return { - queries: undefined + queries: QueryServicesDescriptor.fromPartial({}) }; } export const GetQueryServicesDescriptorResponse = { @@ -2771,7 +2771,7 @@ export const GetTxDescriptorRequest = { }; function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { return { - tx: undefined + tx: TxDescriptor.fromPartial({}) }; } export const GetTxDescriptorResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/v-next/outputv2/cosmos/base/snapshots/v1beta1/snapshot.ts index a163377ee3..d9d9afaa84 100644 --- a/__fixtures__/v-next/outputv2/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/v-next/outputv2/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -235,7 +235,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/v-next/outputv2/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/v-next/outputv2/cosmos/base/store/v1beta1/commit_info.ts index 981d6a0bd4..f9660425e2 100644 --- a/__fixtures__/v-next/outputv2/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/v-next/outputv2/cosmos/base/store/v1beta1/commit_info.ts @@ -214,7 +214,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/v-next/outputv2/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/base/tendermint/v1beta1/query.ts index 56d0287241..edeaf7b2e3 100644 --- a/__fixtures__/v-next/outputv2/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/base/tendermint/v1beta1/query.ts @@ -367,7 +367,7 @@ export interface ModuleSDKType { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -470,7 +470,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -596,7 +596,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -686,7 +686,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -1030,8 +1030,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -1202,8 +1202,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -1532,8 +1532,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - nodeInfo: undefined, - applicationVersion: undefined + nodeInfo: NodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/capability/v1beta1/genesis.ts index 8cfa3d6094..df40fd678c 100644 --- a/__fixtures__/v-next/outputv2/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/capability/v1beta1/genesis.ts @@ -65,7 +65,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: Long.UZERO, - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/v-next/outputv2/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/v-next/outputv2/cosmos/crypto/keyring/v1/record.ts index e8beb04c54..8c4636349f 100644 --- a/__fixtures__/v-next/outputv2/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/v-next/outputv2/cosmos/crypto/keyring/v1/record.ts @@ -392,7 +392,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/genesis.ts index 3d1979c067..794294949c 100644 --- a/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/genesis.ts @@ -528,7 +528,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -631,7 +631,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: Long.UZERO, - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -746,7 +746,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -849,7 +849,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -966,7 +966,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: Long.UZERO, period: Long.UZERO, - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -1093,8 +1093,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/query.ts index fb2ab43560..ecc48ebb31 100644 --- a/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/distribution/v1beta1/query.ts @@ -628,7 +628,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -804,7 +804,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -980,7 +980,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -1071,7 +1071,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: Long.UZERO, endingHeight: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -1199,7 +1199,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/evidence/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/evidence/v1beta1/query.ts index 928ad9d86f..e882020d3a 100644 --- a/__fixtures__/v-next/outputv2/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/evidence/v1beta1/query.ts @@ -292,7 +292,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -381,7 +381,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/feegrant.ts index c006b60533..ec87c4af93 100644 --- a/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/feegrant.ts @@ -301,7 +301,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/query.ts index b08d90b4fa..c7c3a64bb5 100644 --- a/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/feegrant/v1beta1/query.ts @@ -260,7 +260,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -349,7 +349,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -451,7 +451,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -565,7 +565,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -667,7 +667,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1/genesis.ts index 44a10acac3..af8d47c657 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1/genesis.ts @@ -60,9 +60,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1/gov.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1/gov.ts index 9777857ba8..153d8fdabf 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1/gov.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1/gov.ts @@ -659,7 +659,7 @@ function createBaseProposal(): Proposal { id: Long.UZERO, messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1/query.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1/query.ts index 4ea6af0c5b..16333f5fd5 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1/query.ts @@ -514,7 +514,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -605,7 +605,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -733,7 +733,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -948,7 +948,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -1037,7 +1037,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -1139,7 +1139,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -1340,9 +1340,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1558,7 +1558,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1647,7 +1647,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1749,7 +1749,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1950,7 +1950,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/genesis.ts index 6b38f03a60..04d3976432 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/genesis.ts @@ -60,9 +60,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/gov.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/gov.ts index ed08d42f5a..4b3c3c828d 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/gov.ts @@ -821,7 +821,7 @@ function createBaseProposal(): Proposal { proposalId: Long.UZERO, content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/query.ts index c84976b415..159564eced 100644 --- a/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/gov/v1beta1/query.ts @@ -514,7 +514,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -605,7 +605,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -733,7 +733,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -948,7 +948,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -1037,7 +1037,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -1139,7 +1139,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -1340,9 +1340,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1558,7 +1558,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1647,7 +1647,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1749,7 +1749,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1950,7 +1950,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/group/v1/query.ts b/__fixtures__/v-next/outputv2/cosmos/group/v1/query.ts index 628c786957..1a801275eb 100644 --- a/__fixtures__/v-next/outputv2/cosmos/group/v1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/group/v1/query.ts @@ -750,7 +750,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -926,7 +926,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -1015,7 +1015,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -1117,7 +1117,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -1231,7 +1231,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -1333,7 +1333,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -1447,7 +1447,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -1549,7 +1549,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -1663,7 +1663,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -1765,7 +1765,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -1966,7 +1966,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -2055,7 +2055,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -2157,7 +2157,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -2372,7 +2372,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -2461,7 +2461,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -2563,7 +2563,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -2677,7 +2677,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -2779,7 +2779,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -2893,7 +2893,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -2995,7 +2995,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -3196,7 +3196,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/group/v1/types.ts b/__fixtures__/v-next/outputv2/cosmos/group/v1/types.ts index 073fa531f8..d3c4e688a0 100644 --- a/__fixtures__/v-next/outputv2/cosmos/group/v1/types.ts +++ b/__fixtures__/v-next/outputv2/cosmos/group/v1/types.ts @@ -990,7 +990,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -1092,7 +1092,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -1454,7 +1454,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: Long.UZERO, - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -1736,7 +1736,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: Long.UZERO, status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/genesis.ts index 27e6b0de3d..c6a0c8c851 100644 --- a/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/genesis.ts @@ -31,8 +31,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/query.ts index 2f5ef923c4..ca41af502d 100644 --- a/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/mint/v1beta1/query.ts @@ -209,7 +209,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/nft/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/nft/v1beta1/query.ts index 6bbc99111c..38803dc454 100644 --- a/__fixtures__/v-next/outputv2/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/nft/v1beta1/query.ts @@ -866,7 +866,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -981,7 +981,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -1196,7 +1196,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -1372,7 +1372,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -1460,7 +1460,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -1549,7 +1549,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/orm/v1/orm.ts b/__fixtures__/v-next/outputv2/cosmos/orm/v1/orm.ts index 02bf00135f..725700a480 100644 --- a/__fixtures__/v-next/outputv2/cosmos/orm/v1/orm.ts +++ b/__fixtures__/v-next/outputv2/cosmos/orm/v1/orm.ts @@ -230,7 +230,7 @@ export interface SingletonDescriptorSDKType { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/v-next/outputv2/cosmos/params/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/params/v1beta1/query.ts index b5e4c217bf..69e7614870 100644 --- a/__fixtures__/v-next/outputv2/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/params/v1beta1/query.ts @@ -239,7 +239,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/genesis.ts index 8f38302c49..5f0d99ab7a 100644 --- a/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/genesis.ts @@ -138,7 +138,7 @@ export interface MissedBlockSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -279,7 +279,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/query.ts index 8949e0fc17..a9f1247315 100644 --- a/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/slashing/v1beta1/query.ts @@ -234,7 +234,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -410,7 +410,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -498,7 +498,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -587,7 +587,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/genesis.ts index 08cbc7d696..eac9df2fe8 100644 --- a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/genesis.ts @@ -98,7 +98,7 @@ export interface LastValidatorPowerSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/query.ts index 57474eb744..9ae2d1a4dd 100644 --- a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/query.ts @@ -855,7 +855,7 @@ export interface QueryParamsResponseSDKType { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -957,7 +957,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -1158,7 +1158,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -1247,7 +1247,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -1349,7 +1349,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -1463,7 +1463,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -1565,7 +1565,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -1780,7 +1780,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -1970,7 +1970,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -2059,7 +2059,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -2161,7 +2161,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -2275,7 +2275,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -2377,7 +2377,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -2493,7 +2493,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -2621,7 +2621,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -2735,7 +2735,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -2837,7 +2837,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -3052,7 +3052,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -3228,7 +3228,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -3386,7 +3386,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -3544,7 +3544,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/staking.ts b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/staking.ts index 23f985c1e3..e5e0d1171c 100644 --- a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/staking.ts @@ -831,7 +831,7 @@ export interface PoolSDKType { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -1061,7 +1061,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -1313,10 +1313,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: Long.ZERO, unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -2863,7 +2863,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -2965,7 +2965,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -3067,7 +3067,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/tx.ts b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/tx.ts index b6565fbfa3..785aca2257 100644 --- a/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv2/cosmos/staking/v1beta1/tx.ts @@ -281,8 +281,8 @@ export interface MsgUndelegateResponseSDKType { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -529,7 +529,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/v-next/outputv2/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/v-next/outputv2/cosmos/tx/signing/v1beta1/signing.ts index c67a6fa10e..0ae1d45be6 100644 --- a/__fixtures__/v-next/outputv2/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/v-next/outputv2/cosmos/tx/signing/v1beta1/signing.ts @@ -347,7 +347,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: Long.UZERO }; } @@ -666,7 +666,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/service.ts b/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/service.ts index 9b46ed72d8..d83be4ea3f 100644 --- a/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/service.ts @@ -488,7 +488,7 @@ export interface GetBlockWithTxsResponseSDKType { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -617,7 +617,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -857,7 +857,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -945,7 +945,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -1047,8 +1047,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -1237,8 +1237,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -1340,7 +1340,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -1442,9 +1442,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/tx.ts b/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/tx.ts index fd5ac651b3..6f28e6c0c4 100644 --- a/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv2/cosmos/tx/v1beta1/tx.ts @@ -760,8 +760,8 @@ export interface AuxSignerDataSDKType { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -1151,7 +1151,7 @@ function createBaseSignDocDirectAux(): SignDocDirectAux { chainId: "", accountNumber: Long.UZERO, sequence: Long.UZERO, - tip: undefined + tip: Tip.fromPartial({}) }; } export const SignDocDirectAux = { @@ -1485,8 +1485,8 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined, - tip: undefined + fee: Fee.fromPartial({}), + tip: Tip.fromPartial({}) }; } export const AuthInfo = { @@ -1613,7 +1613,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: Long.UZERO }; } @@ -1918,7 +1918,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } @@ -2289,7 +2289,7 @@ export const Tip = { function createBaseAuxSignerData(): AuxSignerData { return { address: "", - signDoc: undefined, + signDoc: SignDocDirectAux.fromPartial({}), mode: 0, sig: new Uint8Array() }; diff --git a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/query.ts index cb93501643..c93d99e069 100644 --- a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/query.ts @@ -404,7 +404,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/tx.ts index 66837232c9..8dceeff46f 100644 --- a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/tx.ts @@ -130,7 +130,7 @@ export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/upgrade.ts index 79a552fc74..bbeebe680a 100644 --- a/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/v-next/outputv2/cosmos/upgrade/v1beta1/upgrade.ts @@ -367,7 +367,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/v-next/outputv2/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/v-next/outputv2/cosmos/vesting/v1beta1/vesting.ts index ee1c8d6d9e..a53a752463 100644 --- a/__fixtures__/v-next/outputv2/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/v-next/outputv2/cosmos/vesting/v1beta1/vesting.ts @@ -206,7 +206,7 @@ export interface PermanentLockedAccountSDKType { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -386,7 +386,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO }; } @@ -488,7 +488,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -690,7 +690,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO, vestingPeriods: [] }; @@ -818,7 +818,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/genesis.ts index e04774c1cb..2e27d2c83e 100644 --- a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/genesis.ts @@ -152,7 +152,7 @@ export interface SequenceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -461,7 +461,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: Long.UZERO, - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -591,7 +591,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/proposal.ts index 57e9ce667d..f12274ef8b 100644 --- a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/proposal.ts @@ -413,7 +413,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { diff --git a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/query.ts b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/query.ts index 69168dbc70..fc17f50d59 100644 --- a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/query.ts @@ -691,7 +691,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -793,7 +793,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -895,7 +895,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -1009,7 +1009,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -1111,7 +1111,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -1225,7 +1225,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -1327,7 +1327,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -2024,7 +2024,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -2126,7 +2126,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -2215,7 +2215,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -2328,7 +2328,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -2417,7 +2417,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/tx.ts b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/tx.ts index 0b3f89cb46..8ed3eaa889 100644 --- a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/tx.ts @@ -362,7 +362,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/types.ts b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/types.ts index 1fd4a33550..9c2b3648a2 100644 --- a/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/v-next/outputv2/cosmwasm/wasm/v1/types.ts @@ -567,7 +567,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0, maxWasmCodeSize: Long.UZERO }; @@ -685,7 +685,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -803,7 +803,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -973,7 +973,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: Long.UZERO, - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/v-next/outputv2/evmos/claims/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/claims/v1/genesis.ts index 2636d88bf4..ed7e66e75c 100644 --- a/__fixtures__/v-next/outputv2/evmos/claims/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/claims/v1/genesis.ts @@ -91,7 +91,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/v-next/outputv2/evmos/claims/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/claims/v1/query.ts index 2cd34bf3d1..75b7b55b33 100644 --- a/__fixtures__/v-next/outputv2/evmos/claims/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/claims/v1/query.ts @@ -450,7 +450,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -531,7 +531,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -613,7 +613,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/epochs/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/epochs/v1/query.ts index 4ca738badc..c6b1eb6c1d 100644 --- a/__fixtures__/v-next/outputv2/evmos/epochs/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/epochs/v1/query.ts @@ -76,7 +76,7 @@ export interface QueryCurrentEpochResponseSDKType { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -158,7 +158,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/erc20/v1/erc20.ts b/__fixtures__/v-next/outputv2/evmos/erc20/v1/erc20.ts index ea325cbdd3..acc78ca745 100644 --- a/__fixtures__/v-next/outputv2/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/v-next/outputv2/evmos/erc20/v1/erc20.ts @@ -346,7 +346,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/v-next/outputv2/evmos/erc20/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/erc20/v1/genesis.ts index fb1c3368b7..c9b66b2efc 100644 --- a/__fixtures__/v-next/outputv2/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/erc20/v1/genesis.ts @@ -66,7 +66,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/v-next/outputv2/evmos/erc20/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/erc20/v1/query.ts index 9fc58464f9..49c47834d1 100644 --- a/__fixtures__/v-next/outputv2/evmos/erc20/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/erc20/v1/query.ts @@ -171,7 +171,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -253,7 +253,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -440,7 +440,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -584,7 +584,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/fees/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/fees/v1/genesis.ts index bcc19208f3..708736e7ce 100644 --- a/__fixtures__/v-next/outputv2/evmos/fees/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/fees/v1/genesis.ts @@ -91,7 +91,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/v-next/outputv2/evmos/fees/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/fees/v1/query.ts index af0b32c3d0..3e672d32ea 100644 --- a/__fixtures__/v-next/outputv2/evmos/fees/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/fees/v1/query.ts @@ -244,7 +244,7 @@ export interface QueryDevFeeInfosPerDeployerResponseSDKType { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -326,7 +326,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -513,7 +513,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -657,7 +657,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -739,7 +739,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -834,7 +834,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/incentives/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/incentives/v1/genesis.ts index de72aff0ed..0c336b95d4 100644 --- a/__fixtures__/v-next/outputv2/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/incentives/v1/genesis.ts @@ -73,7 +73,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/v-next/outputv2/evmos/incentives/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/incentives/v1/query.ts index 0bea305862..b71b0f11ad 100644 --- a/__fixtures__/v-next/outputv2/evmos/incentives/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/incentives/v1/query.ts @@ -425,7 +425,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -507,7 +507,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -694,7 +694,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -776,7 +776,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -871,7 +871,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -1153,7 +1153,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -1235,7 +1235,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -1422,7 +1422,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -1566,7 +1566,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/inflation/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/inflation/v1/genesis.ts index b5cfa2e0a1..7e3023b384 100644 --- a/__fixtures__/v-next/outputv2/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/inflation/v1/genesis.ts @@ -83,7 +83,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: Long.UZERO, epochIdentifier: "", epochsPerPeriod: Long.ZERO, @@ -221,8 +221,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/v-next/outputv2/evmos/inflation/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/inflation/v1/query.ts index fd73abdf2f..a66dc8e0b6 100644 --- a/__fixtures__/v-next/outputv2/evmos/inflation/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/inflation/v1/query.ts @@ -500,7 +500,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -788,7 +788,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -1076,7 +1076,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/recovery/v1/genesis.ts b/__fixtures__/v-next/outputv2/evmos/recovery/v1/genesis.ts index 2a5ba7f86b..6142fa2ffd 100644 --- a/__fixtures__/v-next/outputv2/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/evmos/recovery/v1/genesis.ts @@ -53,7 +53,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/evmos/recovery/v1/query.ts b/__fixtures__/v-next/outputv2/evmos/recovery/v1/query.ts index 580a86aefb..ac74ff73fb 100644 --- a/__fixtures__/v-next/outputv2/evmos/recovery/v1/query.ts +++ b/__fixtures__/v-next/outputv2/evmos/recovery/v1/query.ts @@ -103,7 +103,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/evmos/vesting/v1/vesting.ts b/__fixtures__/v-next/outputv2/evmos/vesting/v1/vesting.ts index 953105e2e5..a77509ba1b 100644 --- a/__fixtures__/v-next/outputv2/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/v-next/outputv2/evmos/vesting/v1/vesting.ts @@ -68,7 +68,7 @@ export interface ClawbackVestingAccountSDKType { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/v-next/outputv2/google/api/auth.ts b/__fixtures__/v-next/outputv2/google/api/auth.ts index 78ecd283fe..472a2ce8f1 100644 --- a/__fixtures__/v-next/outputv2/google/api/auth.ts +++ b/__fixtures__/v-next/outputv2/google/api/auth.ts @@ -713,7 +713,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/v-next/outputv2/google/api/distribution.ts b/__fixtures__/v-next/outputv2/google/api/distribution.ts index 6f391f1fd3..3dcbd89c88 100644 --- a/__fixtures__/v-next/outputv2/google/api/distribution.ts +++ b/__fixtures__/v-next/outputv2/google/api/distribution.ts @@ -552,8 +552,8 @@ function createBaseDistribution(): Distribution { count: Long.ZERO, mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/v-next/outputv2/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/v-next/outputv2/google/api/expr/conformance/v1alpha1/conformance_service.ts index 71889e47b9..a3fd97c1a9 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -482,7 +482,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -589,7 +589,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -724,7 +724,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -832,7 +832,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -1085,7 +1085,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -1193,7 +1193,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/checked.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/checked.ts index c689207b1b..3feecc0f6e 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/checked.ts @@ -901,7 +901,7 @@ export interface ReferenceSDKType { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: Long.ZERO, - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -989,7 +989,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: Long.ZERO, - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -1078,9 +1078,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -1548,7 +1548,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -1629,8 +1629,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -1724,7 +1724,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -2047,8 +2047,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -2252,7 +2252,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -2426,7 +2426,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/syntax.ts index c97cbbe161..ae29733de8 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/syntax.ts @@ -899,8 +899,8 @@ export interface SourcePositionSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -1254,7 +1254,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -1363,7 +1363,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1687,7 +1687,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: Long.ZERO, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1808,12 +1808,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -2254,7 +2254,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: Long.ZERO, - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/value.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/value.ts index 6aadddd638..164b9f4845 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1alpha1/value.ts @@ -761,8 +761,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/decl.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/decl.ts index 43710525d9..e86ad432a9 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/decl.ts @@ -416,8 +416,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -512,7 +512,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/eval.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/eval.ts index 71d65cad66..b720211e28 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/eval.ts @@ -406,7 +406,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/expr.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/expr.ts index bad4b4fc13..e02f154958 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/expr.ts @@ -672,8 +672,8 @@ export interface LiteralSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -1041,7 +1041,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -1150,7 +1150,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1474,7 +1474,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1595,12 +1595,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/value.ts b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/value.ts index fb0be4240e..731f193885 100644 --- a/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/v-next/outputv2/google/api/expr/v1beta1/value.ts @@ -761,8 +761,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv2/google/api/metric.ts b/__fixtures__/v-next/outputv2/google/api/metric.ts index 4ff5b872a8..26caaf3fdb 100644 --- a/__fixtures__/v-next/outputv2/google/api/metric.ts +++ b/__fixtures__/v-next/outputv2/google/api/metric.ts @@ -632,7 +632,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/v-next/outputv2/google/api/monitored_resource.ts b/__fixtures__/v-next/outputv2/google/api/monitored_resource.ts index 16322afe16..ce2366fe98 100644 --- a/__fixtures__/v-next/outputv2/google/api/monitored_resource.ts +++ b/__fixtures__/v-next/outputv2/google/api/monitored_resource.ts @@ -811,7 +811,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/v-next/outputv2/google/api/service.ts b/__fixtures__/v-next/outputv2/google/api/service.ts index f9f362c41c..0831a26c01 100644 --- a/__fixtures__/v-next/outputv2/google/api/service.ts +++ b/__fixtures__/v-next/outputv2/google/api/service.ts @@ -334,24 +334,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/check_error.ts index bc59c746d0..fb36d804cb 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/check_error.ts @@ -264,7 +264,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/log_entry.ts index 683dd266d3..74a99bd2be 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/log_entry.ts @@ -401,15 +401,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/quota_controller.ts index e5c0f0f6fe..d206ca043d 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/quota_controller.ts @@ -499,7 +499,7 @@ export interface QuotaErrorSDKType { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -1051,7 +1051,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/service_controller.ts index 1c38e842ac..2876925def 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v1/service_controller.ts @@ -477,7 +477,7 @@ export interface ReportResponse_ReportErrorSDKType { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -589,7 +589,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -735,7 +735,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -1193,7 +1193,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v2/service_controller.ts index 546fef9cfe..382b909788 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicecontrol/v2/service_controller.ts @@ -291,7 +291,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -663,7 +663,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/v-next/outputv2/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/v-next/outputv2/google/api/servicemanagement/v1/servicemanager.ts index acb92ad3d1..fe1ad3351d 100644 --- a/__fixtures__/v-next/outputv2/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/v-next/outputv2/google/api/servicemanagement/v1/servicemanager.ts @@ -1063,7 +1063,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -1306,7 +1306,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -1713,7 +1713,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -1808,7 +1808,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -1916,7 +1916,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -1998,7 +1998,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/resources.ts b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/resources.ts index b060232465..f5aae209cd 100644 --- a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/resources.ts @@ -264,7 +264,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -388,13 +388,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/serviceusage.ts index 5f655260b8..86a8005949 100644 --- a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1/serviceusage.ts @@ -654,7 +654,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -844,7 +844,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/resources.ts index c7c317aeba..e21df986ed 100644 --- a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/resources.ts @@ -1078,7 +1078,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -1202,13 +1202,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1963,9 +1963,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: Long.ZERO, defaultLimit: Long.ZERO, - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/serviceusage.ts index c7c8b2b45d..4677319257 100644 --- a/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/v-next/outputv2/google/api/serviceusage/v1beta1/serviceusage.ts @@ -2568,7 +2568,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -2712,9 +2712,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -3609,7 +3609,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -3753,9 +3753,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -5075,7 +5075,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/v-next/outputv2/google/logging/v2/log_entry.ts b/__fixtures__/v-next/outputv2/google/logging/v2/log_entry.ts index 3b800001ea..971359386c 100644 --- a/__fixtures__/v-next/outputv2/google/logging/v2/log_entry.ts +++ b/__fixtures__/v-next/outputv2/google/logging/v2/log_entry.ts @@ -631,7 +631,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -639,14 +639,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv2/google/logging/v2/logging.ts b/__fixtures__/v-next/outputv2/google/logging/v2/logging.ts index 89750ffe62..47c2a15ce7 100644 --- a/__fixtures__/v-next/outputv2/google/logging/v2/logging.ts +++ b/__fixtures__/v-next/outputv2/google/logging/v2/logging.ts @@ -1123,7 +1123,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -1392,7 +1392,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/v-next/outputv2/google/logging/v2/logging_config.ts b/__fixtures__/v-next/outputv2/google/logging/v2/logging_config.ts index 91c656a3ab..edf371ba15 100644 --- a/__fixtures__/v-next/outputv2/google/logging/v2/logging_config.ts +++ b/__fixtures__/v-next/outputv2/google/logging/v2/logging_config.ts @@ -3043,7 +3043,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -3937,7 +3937,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -4045,8 +4045,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -4614,7 +4614,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -4722,8 +4722,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -5290,7 +5290,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -5399,9 +5399,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -6051,7 +6051,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -6146,8 +6146,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -6417,8 +6417,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -6716,8 +6716,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -7074,7 +7074,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/v-next/outputv2/google/logging/v2/logging_metrics.ts b/__fixtures__/v-next/outputv2/google/logging/v2/logging_metrics.ts index 0ef0037007..aab59d8cb8 100644 --- a/__fixtures__/v-next/outputv2/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/v-next/outputv2/google/logging/v2/logging_metrics.ts @@ -699,10 +699,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -1257,7 +1257,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -1352,7 +1352,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/v-next/outputv2/google/protobuf/api.ts b/__fixtures__/v-next/outputv2/google/protobuf/api.ts index accf1c6284..473c83cb32 100644 --- a/__fixtures__/v-next/outputv2/google/protobuf/api.ts +++ b/__fixtures__/v-next/outputv2/google/protobuf/api.ts @@ -465,7 +465,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/v-next/outputv2/google/protobuf/compiler/plugin.ts b/__fixtures__/v-next/outputv2/google/protobuf/compiler/plugin.ts index ddc77e47f4..90863bfc7e 100644 --- a/__fixtures__/v-next/outputv2/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/v-next/outputv2/google/protobuf/compiler/plugin.ts @@ -417,7 +417,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/v-next/outputv2/google/protobuf/descriptor.ts b/__fixtures__/v-next/outputv2/google/protobuf/descriptor.ts index 95793b0e95..3c691713fe 100644 --- a/__fixtures__/v-next/outputv2/google/protobuf/descriptor.ts +++ b/__fixtures__/v-next/outputv2/google/protobuf/descriptor.ts @@ -2301,8 +2301,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -2636,7 +2636,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -2934,7 +2934,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -3238,7 +3238,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -3437,7 +3437,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -3533,7 +3533,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -3801,7 +3801,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -3910,7 +3910,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -4032,7 +4032,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/v-next/outputv2/google/protobuf/struct.ts b/__fixtures__/v-next/outputv2/google/protobuf/struct.ts index 11c0f17d98..fd63f943b2 100644 --- a/__fixtures__/v-next/outputv2/google/protobuf/struct.ts +++ b/__fixtures__/v-next/outputv2/google/protobuf/struct.ts @@ -214,7 +214,7 @@ export interface ListValueSDKType { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/v-next/outputv2/google/protobuf/type.ts b/__fixtures__/v-next/outputv2/google/protobuf/type.ts index 2f15778120..eed6aabaac 100644 --- a/__fixtures__/v-next/outputv2/google/protobuf/type.ts +++ b/__fixtures__/v-next/outputv2/google/protobuf/type.ts @@ -503,7 +503,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -908,7 +908,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -1188,7 +1188,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/v-next/outputv2/google/rpc/context/attribute_context.ts b/__fixtures__/v-next/outputv2/google/rpc/context/attribute_context.ts index ea02079166..63c9d2f6e2 100644 --- a/__fixtures__/v-next/outputv2/google/rpc/context/attribute_context.ts +++ b/__fixtures__/v-next/outputv2/google/rpc/context/attribute_context.ts @@ -1007,13 +1007,13 @@ export interface AttributeContext_ResourceSDKType { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -1592,7 +1592,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -1849,7 +1849,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: Long.ZERO, protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/genesis.ts index 3529611667..9f2780d794 100644 --- a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/genesis.ts @@ -32,7 +32,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/query.ts b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/query.ts index 3744ff8c95..6023cd5813 100644 --- a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/query.ts @@ -258,7 +258,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -346,7 +346,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -435,7 +435,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -618,7 +618,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/tx.ts b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/tx.ts index abe4657666..31e2605ca7 100644 --- a/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/v-next/outputv2/ibc/applications/transfer/v1/tx.ts @@ -100,7 +100,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/channel.ts b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/channel.ts index a085842c50..290b0681d0 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/channel.ts @@ -434,7 +434,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -590,7 +590,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -880,7 +880,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/query.ts b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/query.ts index 198d48e45e..53daf8f8dd 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/query.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/query.ts @@ -1131,9 +1131,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -1247,7 +1247,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -1336,8 +1336,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -1464,7 +1464,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -1566,8 +1566,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -1795,9 +1795,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -2044,7 +2044,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -2289,7 +2289,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -2405,7 +2405,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -2520,8 +2520,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -2765,7 +2765,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -2997,7 +2997,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -3113,7 +3113,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -3263,8 +3263,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -3528,7 +3528,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -3788,7 +3788,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -4014,7 +4014,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: Long.UZERO, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/tx.ts b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/tx.ts index 8871fea62c..e5ee8e8406 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/channel/v1/tx.ts @@ -546,7 +546,7 @@ export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -733,10 +733,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -978,7 +978,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1218,7 +1218,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1618,7 +1618,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1829,9 +1829,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -2029,9 +2029,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -2243,10 +2243,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -2471,10 +2471,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/client/v1/client.ts b/__fixtures__/v-next/outputv2/ibc/core/client/v1/client.ts index 538cda75b5..8173967e52 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/client/v1/client.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/client/v1/client.ts @@ -409,7 +409,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -757,7 +757,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/client/v1/genesis.ts b/__fixtures__/v-next/outputv2/ibc/core/client/v1/genesis.ts index f1b367fe42..a461a7af39 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/client/v1/genesis.ts @@ -120,7 +120,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: Long.UZERO }; diff --git a/__fixtures__/v-next/outputv2/ibc/core/client/v1/query.ts b/__fixtures__/v-next/outputv2/ibc/core/client/v1/query.ts index 2d4e53090a..39228b1e01 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/client/v1/query.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/client/v1/query.ts @@ -628,7 +628,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -742,7 +742,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -831,7 +831,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -1076,7 +1076,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -1191,7 +1191,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -1293,7 +1293,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -1652,7 +1652,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/connection.ts b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/connection.ts index 52f04b355e..799c26cd2f 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/connection.ts @@ -354,7 +354,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -511,7 +511,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -679,7 +679,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/genesis.ts b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/genesis.ts index 62464f6607..7be1ce692c 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/genesis.ts @@ -38,7 +38,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/query.ts b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/query.ts index d012578fb2..431095c51a 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/query.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/query.ts @@ -467,9 +467,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -583,7 +583,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -672,8 +672,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -889,7 +889,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -1103,9 +1103,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -1338,7 +1338,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/tx.ts b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/tx.ts index 22ae550c63..448e9fa8b6 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/connection/v1/tx.ts @@ -312,8 +312,8 @@ export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: Long.UZERO, signer: "" }; @@ -528,14 +528,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO, counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -851,13 +851,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -1135,7 +1135,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/port/v1/query.ts b/__fixtures__/v-next/outputv2/ibc/core/port/v1/query.ts index 7620e0a023..1ed43be13c 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/port/v1/query.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/port/v1/query.ts @@ -76,7 +76,7 @@ function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { portId: "", connectionId: "", ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), proposedVersion: "" }; } diff --git a/__fixtures__/v-next/outputv2/ibc/core/types/v1/genesis.ts b/__fixtures__/v-next/outputv2/ibc/core/types/v1/genesis.ts index b2ce52771f..67db90586c 100644 --- a/__fixtures__/v-next/outputv2/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/v-next/outputv2/ibc/core/types/v1/genesis.ts @@ -44,9 +44,9 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/v-next/outputv2/ibc/lightclients/localhost/v1/localhost.ts index 3612d82455..fa971f7975 100644 --- a/__fixtures__/v-next/outputv2/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/v-next/outputv2/ibc/lightclients/localhost/v1/localhost.ts @@ -41,7 +41,7 @@ export interface ClientStateSDKType { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v1/solomachine.ts index 83ad8ae47b..fd3a32fb06 100644 --- a/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v1/solomachine.ts @@ -651,7 +651,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, frozenSequence: Long.UZERO, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -1041,8 +1041,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1852,7 +1852,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1954,7 +1954,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v2/solomachine.ts b/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v2/solomachine.ts index f60ae79626..1077e490fb 100644 --- a/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/__fixtures__/v-next/outputv2/ibc/lightclients/solomachine/v2/solomachine.ts @@ -651,7 +651,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, isFrozen: false, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -1041,8 +1041,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1852,7 +1852,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1954,7 +1954,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv2/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/v-next/outputv2/ibc/lightclients/tendermint/v1/tendermint.ts index 7ea68df4c1..c658a35dda 100644 --- a/__fixtures__/v-next/outputv2/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/v-next/outputv2/ibc/lightclients/tendermint/v1/tendermint.ts @@ -293,12 +293,12 @@ export interface FractionSDKType { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -545,7 +545,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -661,8 +661,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -776,10 +776,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/genesis.ts index 20011ff019..f20bf1285b 100644 --- a/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/genesis.ts @@ -39,7 +39,7 @@ export interface GenesisStateSDKType { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/query.ts index 4670ffec65..a51c55cbbb 100644 --- a/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/claim/v1beta1/query.ts @@ -423,7 +423,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -599,7 +599,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/balancerPool.ts index 83f1cd7347..8e1f8306d6 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -641,7 +641,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/tx/tx.ts index 6406d654f4..db71440e11 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -54,7 +54,7 @@ export interface MsgCreateBalancerPoolResponseSDKType { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 9bbd1f56ec..84e644ceb7 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -215,7 +215,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/tx.ts index e660a95a8a..c85fa95a9f 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/pool-models/stableswap/tx.ts @@ -107,7 +107,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponseSDKType {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/genesis.ts index 1b878f4e6d..5100896210 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/genesis.ts @@ -164,7 +164,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/query.ts index 6d1fa67f13..f1c238766b 100644 --- a/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/gamm/v1beta1/query.ts @@ -825,7 +825,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -914,7 +914,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -2677,7 +2677,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -2804,7 +2804,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/ibc-rate-limit/v1beta1/query.ts index 61c019ae12..a3a968f760 100644 --- a/__fixtures__/v-next/outputv2/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -110,7 +110,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/incentives/gauge.ts b/__fixtures__/v-next/outputv2/osmosis/incentives/gauge.ts index 7c33692ef7..1bf5f3e57d 100644 --- a/__fixtures__/v-next/outputv2/osmosis/incentives/gauge.ts +++ b/__fixtures__/v-next/outputv2/osmosis/incentives/gauge.ts @@ -133,7 +133,7 @@ function createBaseGauge(): Gauge { return { id: Long.UZERO, isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO, diff --git a/__fixtures__/v-next/outputv2/osmosis/incentives/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/incentives/genesis.ts index e903640276..24f8dac884 100644 --- a/__fixtures__/v-next/outputv2/osmosis/incentives/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/incentives/genesis.ts @@ -64,7 +64,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: Long.UZERO diff --git a/__fixtures__/v-next/outputv2/osmosis/incentives/query.ts b/__fixtures__/v-next/outputv2/osmosis/incentives/query.ts index 36ea9e45b8..b8b53c20ae 100644 --- a/__fixtures__/v-next/outputv2/osmosis/incentives/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/incentives/query.ts @@ -648,7 +648,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -736,7 +736,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -825,7 +825,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -938,7 +938,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -1027,7 +1027,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -1141,7 +1141,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -1243,7 +1243,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -1356,7 +1356,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -1445,7 +1445,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -1559,7 +1559,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -1661,7 +1661,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/incentives/tx.ts b/__fixtures__/v-next/outputv2/osmosis/incentives/tx.ts index fabcfc132e..d91f84c9e3 100644 --- a/__fixtures__/v-next/outputv2/osmosis/incentives/tx.ts +++ b/__fixtures__/v-next/outputv2/osmosis/incentives/tx.ts @@ -133,7 +133,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO diff --git a/__fixtures__/v-next/outputv2/osmosis/lockup/query.ts b/__fixtures__/v-next/outputv2/osmosis/lockup/query.ts index 3790782e3e..6198181d12 100644 --- a/__fixtures__/v-next/outputv2/osmosis/lockup/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/lockup/query.ts @@ -2605,7 +2605,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -3773,7 +3773,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/genesis.ts index 78b6766f18..5ea07c3c5c 100644 --- a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/genesis.ts @@ -42,8 +42,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/mint.ts b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/mint.ts index c82aca71fe..72f065b176 100644 --- a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/mint.ts @@ -551,7 +551,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: Long.ZERO, reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: Long.ZERO }; diff --git a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/query.ts index 5b370f83df..ffd1fa181b 100644 --- a/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/mint/v1beta1/query.ts @@ -164,7 +164,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/genesis.ts index 8c62cba5cf..8f7595b04f 100644 --- a/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/genesis.ts @@ -36,7 +36,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/query.ts index 1e812d4b0b..acb062684d 100644 --- a/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/pool-incentives/v1beta1/query.ts @@ -600,7 +600,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -758,7 +758,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/v-next/outputv2/osmosis/sumtree/v1beta1/tree.ts index fca18fed3d..6a59048b1a 100644 --- a/__fixtures__/v-next/outputv2/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/v-next/outputv2/osmosis/sumtree/v1beta1/tree.ts @@ -259,7 +259,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/v-next/outputv2/osmosis/superfluid/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/superfluid/genesis.ts index 4c98382e71..33f9b7ed1a 100644 --- a/__fixtures__/v-next/outputv2/osmosis/superfluid/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/superfluid/genesis.ts @@ -61,7 +61,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/v-next/outputv2/osmosis/superfluid/query.ts b/__fixtures__/v-next/outputv2/osmosis/superfluid/query.ts index 83a8d54939..717b1510cf 100644 --- a/__fixtures__/v-next/outputv2/osmosis/superfluid/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/superfluid/query.ts @@ -655,7 +655,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1177,7 +1177,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -1395,7 +1395,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -1484,7 +1484,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -1685,7 +1685,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/genesis.ts index bfc15ca1a5..01477a3954 100644 --- a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/genesis.ts @@ -65,7 +65,7 @@ export interface GenesisDenomSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -180,7 +180,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/query.ts index 2a843b8030..e88026b280 100644 --- a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/query.ts @@ -227,7 +227,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -403,7 +403,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/tx.ts index 4c391f333f..26d5682c3e 100644 --- a/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv2/osmosis/tokenfactory/v1beta1/tx.ts @@ -1009,7 +1009,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/genesis.ts index 8d11d59ece..7e8907127d 100644 --- a/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/genesis.ts @@ -158,7 +158,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/query.ts b/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/query.ts index 538a7a4d90..5371c3f697 100644 --- a/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv2/osmosis/twap/v1beta1/query.ts @@ -642,7 +642,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputv2/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/v-next/outputv2/osmosis/txfees/v1beta1/gov.ts index 99bc47f586..3a7efca854 100644 --- a/__fixtures__/v-next/outputv2/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv2/osmosis/txfees/v1beta1/gov.ts @@ -50,7 +50,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/v-next/outputv2/tendermint/abci/types.ts b/__fixtures__/v-next/outputv2/tendermint/abci/types.ts index dd3bcd4003..6ef2801481 100644 --- a/__fixtures__/v-next/outputv2/tendermint/abci/types.ts +++ b/__fixtures__/v-next/outputv2/tendermint/abci/types.ts @@ -2015,7 +2015,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: Long.ZERO @@ -2300,8 +2300,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -2817,7 +2817,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -3892,7 +3892,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -4019,7 +4019,7 @@ function createBaseResponseQuery(): ResponseQuery { index: Long.ZERO, key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: Long.ZERO, codespace: "" }; @@ -4682,7 +4682,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -5306,10 +5306,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -5850,7 +5850,7 @@ function createBaseTxResult(): TxResult { height: Long.ZERO, index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -6160,7 +6160,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -6256,7 +6256,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: Long.ZERO, time: undefined, totalVotingPower: Long.ZERO diff --git a/__fixtures__/v-next/outputv2/tendermint/crypto/proof.ts b/__fixtures__/v-next/outputv2/tendermint/crypto/proof.ts index a5c6fe1b94..139357353e 100644 --- a/__fixtures__/v-next/outputv2/tendermint/crypto/proof.ts +++ b/__fixtures__/v-next/outputv2/tendermint/crypto/proof.ts @@ -270,7 +270,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/v-next/outputv2/tendermint/p2p/types.ts b/__fixtures__/v-next/outputv2/tendermint/p2p/types.ts index 988f6c98dc..4ac1ff78ba 100644 --- a/__fixtures__/v-next/outputv2/tendermint/p2p/types.ts +++ b/__fixtures__/v-next/outputv2/tendermint/p2p/types.ts @@ -243,14 +243,14 @@ export const ProtocolVersion = { }; function createBaseNodeInfo(): NodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), nodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: NodeInfoOther.fromPartial({}) }; } export const NodeInfo = { diff --git a/__fixtures__/v-next/outputv2/tendermint/types/block.ts b/__fixtures__/v-next/outputv2/tendermint/types/block.ts index 274d850cb3..7074e6ef8e 100644 --- a/__fixtures__/v-next/outputv2/tendermint/types/block.ts +++ b/__fixtures__/v-next/outputv2/tendermint/types/block.ts @@ -31,10 +31,10 @@ export interface BlockSDKType { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/v-next/outputv2/tendermint/types/evidence.ts b/__fixtures__/v-next/outputv2/tendermint/types/evidence.ts index 2109e5599e..455a93fd16 100644 --- a/__fixtures__/v-next/outputv2/tendermint/types/evidence.ts +++ b/__fixtures__/v-next/outputv2/tendermint/types/evidence.ts @@ -202,8 +202,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: Long.ZERO, validatorPower: Long.ZERO, timestamp: undefined @@ -339,7 +339,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: Long.ZERO, byzantineValidators: [], totalVotingPower: Long.ZERO, diff --git a/__fixtures__/v-next/outputv2/tendermint/types/params.ts b/__fixtures__/v-next/outputv2/tendermint/types/params.ts index 8551a6e1e9..571e393afd 100644 --- a/__fixtures__/v-next/outputv2/tendermint/types/params.ts +++ b/__fixtures__/v-next/outputv2/tendermint/types/params.ts @@ -242,10 +242,10 @@ export interface HashedParamsSDKType { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/v-next/outputv2/tendermint/types/types.ts b/__fixtures__/v-next/outputv2/tendermint/types/types.ts index d1ca135a9c..0bffa7b8e1 100644 --- a/__fixtures__/v-next/outputv2/tendermint/types/types.ts +++ b/__fixtures__/v-next/outputv2/tendermint/types/types.ts @@ -609,7 +609,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -717,7 +717,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -811,11 +811,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: Long.ZERO, time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -1170,7 +1170,7 @@ function createBaseVote(): Vote { type: 0, height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -1348,7 +1348,7 @@ function createBaseCommit(): Commit { return { height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -1608,7 +1608,7 @@ function createBaseProposal(): Proposal { height: Long.ZERO, round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -1769,8 +1769,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1864,8 +1864,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1959,9 +1959,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: Long.ZERO, - header: undefined, + header: Header.fromPartial({}), numTxs: Long.ZERO }; } @@ -2084,7 +2084,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/v-next/outputv2/tendermint/types/validator.ts b/__fixtures__/v-next/outputv2/tendermint/types/validator.ts index 20f5f968f6..0d75dff3c2 100644 --- a/__fixtures__/v-next/outputv2/tendermint/types/validator.ts +++ b/__fixtures__/v-next/outputv2/tendermint/types/validator.ts @@ -74,7 +74,7 @@ export interface SimpleValidatorSDKType { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/akash/audit/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/audit/v1beta2/query.ts index dd6a679ea4..5f82c5de84 100644 --- a/__fixtures__/v-next/outputv3/akash/audit/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/audit/v1beta2/query.ts @@ -141,7 +141,7 @@ export interface QueryAuditorAttributesRequestSDKType { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -342,7 +342,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -424,7 +424,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -614,7 +614,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/v-next/outputv3/akash/base/v1beta1/attribute.ts b/__fixtures__/v-next/outputv3/akash/base/v1beta1/attribute.ts index 83e13aed74..2ff3c4ea21 100644 --- a/__fixtures__/v-next/outputv3/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/v-next/outputv3/akash/base/v1beta1/attribute.ts @@ -309,7 +309,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv3/akash/base/v1beta1/resource.ts b/__fixtures__/v-next/outputv3/akash/base/v1beta1/resource.ts index c91d3649e9..c68fceab7f 100644 --- a/__fixtures__/v-next/outputv3/akash/base/v1beta1/resource.ts +++ b/__fixtures__/v-next/outputv3/akash/base/v1beta1/resource.ts @@ -113,7 +113,7 @@ export interface ResourceUnitsSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -220,7 +220,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -327,7 +327,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv3/akash/base/v1beta2/attribute.ts b/__fixtures__/v-next/outputv3/akash/base/v1beta2/attribute.ts index 2f3b2a7824..f5127a9c0d 100644 --- a/__fixtures__/v-next/outputv3/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/v-next/outputv3/akash/base/v1beta2/attribute.ts @@ -309,7 +309,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv3/akash/base/v1beta2/resource.ts b/__fixtures__/v-next/outputv3/akash/base/v1beta2/resource.ts index 6cbbf03e82..e0ac48ffb9 100644 --- a/__fixtures__/v-next/outputv3/akash/base/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv3/akash/base/v1beta2/resource.ts @@ -77,7 +77,7 @@ export interface StorageSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -184,7 +184,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -292,7 +292,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/cert.ts b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/cert.ts index 46276b42e3..af60f313ea 100644 --- a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/cert.ts @@ -679,7 +679,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/genesis.ts b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/genesis.ts index 1e1eb1f43c..515dbb2602 100644 --- a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/genesis.ts @@ -48,7 +48,7 @@ export interface GenesisStateSDKType { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/query.ts index 5635d4d3fc..6d56c89569 100644 --- a/__fixtures__/v-next/outputv3/akash/cert/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/cert/v1beta2/query.ts @@ -74,7 +74,7 @@ export interface QueryCertificatesResponseSDKType { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -169,8 +169,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -265,7 +265,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/deployment.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/deployment.ts index defd56a349..90dc9a6d05 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/deployment.ts @@ -281,7 +281,7 @@ export interface DeploymentFiltersSDKType { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -479,7 +479,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -637,7 +637,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -821,7 +821,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -1060,7 +1060,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/genesis.ts index 1503e80c91..28043ebe7d 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/genesis.ts @@ -52,7 +52,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -160,7 +160,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/group.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/group.ts index ed0130d399..80a8a220cf 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/group.ts @@ -271,7 +271,7 @@ export interface ResourceSDKType { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -415,7 +415,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -559,7 +559,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -813,7 +813,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -933,9 +933,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } @@ -1056,7 +1056,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/query.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/query.ts index 6ace5f28cf..7ab38d348b 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta1/query.ts @@ -139,8 +139,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -235,7 +235,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -341,7 +341,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -422,9 +422,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -543,7 +543,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -624,7 +624,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deployment.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deployment.ts index b0c63fc9e3..e386e5e40c 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deployment.ts @@ -218,7 +218,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: Long.ZERO diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deploymentmsg.ts index 9ae959f105..1002156df6 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/deploymentmsg.ts @@ -167,7 +167,7 @@ export interface MsgCloseDeploymentResponseAminoMsg { export interface MsgCloseDeploymentResponseSDKType {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -379,7 +379,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -551,7 +551,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -709,7 +709,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/genesis.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/genesis.ts index c03b540593..8c24622d5a 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/genesis.ts @@ -52,7 +52,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -160,7 +160,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/group.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/group.ts index fd2ef5efa8..406938fafa 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/group.ts @@ -90,9 +90,9 @@ export interface GroupSDKType { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupmsg.ts index e88bc6e204..dc6e5a1cba 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupmsg.ts @@ -106,7 +106,7 @@ export interface MsgStartGroupResponseAminoMsg { export interface MsgStartGroupResponseSDKType {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -250,7 +250,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -394,7 +394,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupspec.ts index c092ea512c..87b9b6bb60 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/groupspec.ts @@ -32,7 +32,7 @@ export interface GroupSpecSDKType { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/query.ts index efefbb07e8..e33853c2a8 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/query.ts @@ -140,8 +140,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -236,7 +236,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -342,7 +342,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -423,9 +423,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -544,7 +544,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -625,7 +625,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/resource.ts b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/resource.ts index ee1c7db5c3..04dcc1d9d2 100644 --- a/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv3/akash/deployment/v1beta2/resource.ts @@ -31,9 +31,9 @@ export interface ResourceSDKType { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/query.ts b/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/query.ts index 1e70fb7feb..6bea7f65be 100644 --- a/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/query.ts @@ -122,7 +122,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -256,7 +256,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -367,7 +367,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -514,7 +514,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/types.ts b/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/types.ts index ebabe83ce3..4634afcef6 100644 --- a/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/v-next/outputv3/akash/escrow/v1beta1/types.ts @@ -305,7 +305,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -456,7 +456,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/query.ts index b09e76c7d3..f855ea7962 100644 --- a/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/query.ts @@ -122,7 +122,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -256,7 +256,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -367,7 +367,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -514,7 +514,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/types.ts b/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/types.ts index 54a44d18a5..e615cbc1a8 100644 --- a/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/v-next/outputv3/akash/escrow/v1beta2/types.ts @@ -329,14 +329,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: Long.ZERO, depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -508,12 +508,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/v-next/outputv3/akash/inflation/v1beta2/genesis.ts b/__fixtures__/v-next/outputv3/akash/inflation/v1beta2/genesis.ts index 198d85c340..ee80733d91 100644 --- a/__fixtures__/v-next/outputv3/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv3/akash/inflation/v1beta2/genesis.ts @@ -24,7 +24,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/akash/market/v1beta2/bid.ts b/__fixtures__/v-next/outputv3/akash/market/v1beta2/bid.ts index e2df01f22b..32ff34d6fb 100644 --- a/__fixtures__/v-next/outputv3/akash/market/v1beta2/bid.ts +++ b/__fixtures__/v-next/outputv3/akash/market/v1beta2/bid.ts @@ -243,9 +243,9 @@ export interface BidFiltersSDKType { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -429,7 +429,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -710,9 +710,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/akash/market/v1beta2/genesis.ts b/__fixtures__/v-next/outputv3/akash/market/v1beta2/genesis.ts index 8f5aacb5ce..7532cfbf1f 100644 --- a/__fixtures__/v-next/outputv3/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv3/akash/market/v1beta2/genesis.ts @@ -34,7 +34,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/akash/market/v1beta2/lease.ts b/__fixtures__/v-next/outputv3/akash/market/v1beta2/lease.ts index 6785449e7a..b88d837bca 100644 --- a/__fixtures__/v-next/outputv3/akash/market/v1beta2/lease.ts +++ b/__fixtures__/v-next/outputv3/akash/market/v1beta2/lease.ts @@ -392,9 +392,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: Long.ZERO, closedOn: Long.ZERO }; @@ -680,7 +680,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -824,7 +824,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -968,7 +968,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/v-next/outputv3/akash/market/v1beta2/order.ts b/__fixtures__/v-next/outputv3/akash/market/v1beta2/order.ts index e04e31a4e6..d8a8acde6a 100644 --- a/__fixtures__/v-next/outputv3/akash/market/v1beta2/order.ts +++ b/__fixtures__/v-next/outputv3/akash/market/v1beta2/order.ts @@ -266,9 +266,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/akash/market/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/market/v1beta2/query.ts index 85ef0e6f96..bc016a2f7c 100644 --- a/__fixtures__/v-next/outputv3/akash/market/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/market/v1beta2/query.ts @@ -272,8 +272,8 @@ export interface QueryLeaseResponseSDKType { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -368,7 +368,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -474,7 +474,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -555,7 +555,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -636,8 +636,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -732,7 +732,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -838,7 +838,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -919,8 +919,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -1014,8 +1014,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -1110,7 +1110,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -1216,7 +1216,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -1297,8 +1297,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/v-next/outputv3/akash/provider/v1beta1/provider.ts b/__fixtures__/v-next/outputv3/akash/provider/v1beta1/provider.ts index da29d302cb..60bfc16331 100644 --- a/__fixtures__/v-next/outputv3/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/v-next/outputv3/akash/provider/v1beta1/provider.ts @@ -274,7 +274,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -472,7 +472,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -814,7 +814,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv3/akash/provider/v1beta2/provider.ts b/__fixtures__/v-next/outputv3/akash/provider/v1beta2/provider.ts index f143e32df9..9f6be2bcae 100644 --- a/__fixtures__/v-next/outputv3/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/v-next/outputv3/akash/provider/v1beta2/provider.ts @@ -274,7 +274,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -472,7 +472,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -814,7 +814,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv3/akash/provider/v1beta2/query.ts b/__fixtures__/v-next/outputv3/akash/provider/v1beta2/query.ts index 9864d3ef59..4e391a0ae2 100644 --- a/__fixtures__/v-next/outputv3/akash/provider/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv3/akash/provider/v1beta2/query.ts @@ -88,7 +88,7 @@ export interface QueryProviderResponseSDKType { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -170,7 +170,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -357,7 +357,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/v-next/outputv3/confio/proofs.ts b/__fixtures__/v-next/outputv3/confio/proofs.ts index c7f14b3c84..b15b2bf2a1 100644 --- a/__fixtures__/v-next/outputv3/confio/proofs.ts +++ b/__fixtures__/v-next/outputv3/confio/proofs.ts @@ -758,7 +758,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -892,8 +892,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -1369,8 +1369,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -2068,7 +2068,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -2211,8 +2211,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/v-next/outputv3/cosmos/app/v1alpha1/query.ts b/__fixtures__/v-next/outputv3/cosmos/app/v1alpha1/query.ts index 50e8dae424..f9eb8bdfe4 100644 --- a/__fixtures__/v-next/outputv3/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/app/v1alpha1/query.ts @@ -110,7 +110,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/auth.ts b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/auth.ts index 5bbe3374ad..de45cb6ac7 100644 --- a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/auth.ts @@ -233,7 +233,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/genesis.ts index 6642fc0058..40665fb95d 100644 --- a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/query.ts index 6dbd445835..a25e38877f 100644 --- a/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/auth/v1beta1/query.ts @@ -316,7 +316,7 @@ export interface AddressStringToBytesResponseSDKType { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -405,7 +405,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -676,7 +676,7 @@ export const QueryModuleAccountsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/query.ts index fbaf4105b4..e2b7aae27e 100644 --- a/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/query.ts @@ -172,7 +172,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -300,7 +300,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -414,7 +414,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -516,7 +516,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -630,7 +630,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -732,7 +732,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/tx.ts b/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/tx.ts index 4687b9575c..62617b432f 100644 --- a/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv3/cosmos/authz/v1beta1/tx.ts @@ -178,7 +178,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/genesis.ts index 6713381d68..382f9b49f8 100644 --- a/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/genesis.ts @@ -84,7 +84,7 @@ export interface BalanceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/query.ts index da1736a2a3..fa060abf5d 100644 --- a/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/bank/v1beta1/query.ts @@ -756,7 +756,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -858,7 +858,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -972,7 +972,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -1074,7 +1074,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -1187,7 +1187,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -1276,7 +1276,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -1635,7 +1635,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1723,7 +1723,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -1812,7 +1812,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -2013,7 +2013,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { @@ -2102,7 +2102,7 @@ export const QueryDenomMetadataResponse = { function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomOwnersRequest = { @@ -2306,7 +2306,7 @@ export const DenomOwner = { function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { return { denomOwners: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomOwnersResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/v-next/outputv3/cosmos/base/abci/v1beta1/abci.ts index 32a0fac54f..4f3ca05b37 100644 --- a/__fixtures__/v-next/outputv3/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/v-next/outputv3/cosmos/base/abci/v1beta1/abci.ts @@ -1354,8 +1354,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/base/reflection/v2alpha1/reflection.ts b/__fixtures__/v-next/outputv3/cosmos/base/reflection/v2alpha1/reflection.ts index 896b9e84e5..b0db5361f4 100644 --- a/__fixtures__/v-next/outputv3/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/__fixtures__/v-next/outputv3/cosmos/base/reflection/v2alpha1/reflection.ts @@ -703,12 +703,12 @@ export interface QueryMethodDescriptorSDKType { } function createBaseAppDescriptor(): AppDescriptor { return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined + authn: AuthnDescriptor.fromPartial({}), + chain: ChainDescriptor.fromPartial({}), + codec: CodecDescriptor.fromPartial({}), + configuration: ConfigurationDescriptor.fromPartial({}), + queryServices: QueryServicesDescriptor.fromPartial({}), + tx: TxDescriptor.fromPartial({}) }; } export const AppDescriptor = { @@ -1981,7 +1981,7 @@ export const GetAuthnDescriptorRequest = { }; function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { return { - authn: undefined + authn: AuthnDescriptor.fromPartial({}) }; } export const GetAuthnDescriptorResponse = { @@ -2139,7 +2139,7 @@ export const GetChainDescriptorRequest = { }; function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { return { - chain: undefined + chain: ChainDescriptor.fromPartial({}) }; } export const GetChainDescriptorResponse = { @@ -2297,7 +2297,7 @@ export const GetCodecDescriptorRequest = { }; function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { return { - codec: undefined + codec: CodecDescriptor.fromPartial({}) }; } export const GetCodecDescriptorResponse = { @@ -2455,7 +2455,7 @@ export const GetConfigurationDescriptorRequest = { }; function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { return { - config: undefined + config: ConfigurationDescriptor.fromPartial({}) }; } export const GetConfigurationDescriptorResponse = { @@ -2613,7 +2613,7 @@ export const GetQueryServicesDescriptorRequest = { }; function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { return { - queries: undefined + queries: QueryServicesDescriptor.fromPartial({}) }; } export const GetQueryServicesDescriptorResponse = { @@ -2771,7 +2771,7 @@ export const GetTxDescriptorRequest = { }; function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { return { - tx: undefined + tx: TxDescriptor.fromPartial({}) }; } export const GetTxDescriptorResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/v-next/outputv3/cosmos/base/snapshots/v1beta1/snapshot.ts index a163377ee3..d9d9afaa84 100644 --- a/__fixtures__/v-next/outputv3/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/v-next/outputv3/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -235,7 +235,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/v-next/outputv3/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/v-next/outputv3/cosmos/base/store/v1beta1/commit_info.ts index 981d6a0bd4..f9660425e2 100644 --- a/__fixtures__/v-next/outputv3/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/v-next/outputv3/cosmos/base/store/v1beta1/commit_info.ts @@ -214,7 +214,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/v-next/outputv3/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/base/tendermint/v1beta1/query.ts index 4dc76a09ef..ca35e128d0 100644 --- a/__fixtures__/v-next/outputv3/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/base/tendermint/v1beta1/query.ts @@ -367,7 +367,7 @@ export interface ModuleSDKType { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -470,7 +470,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -596,7 +596,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -686,7 +686,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: Long.ZERO, validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -1030,8 +1030,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -1202,8 +1202,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -1532,8 +1532,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - nodeInfo: undefined, - applicationVersion: undefined + nodeInfo: NodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/capability/v1beta1/genesis.ts index 8cfa3d6094..df40fd678c 100644 --- a/__fixtures__/v-next/outputv3/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/capability/v1beta1/genesis.ts @@ -65,7 +65,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: Long.UZERO, - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/v-next/outputv3/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/v-next/outputv3/cosmos/crypto/keyring/v1/record.ts index 2a3440cca2..448d56f3ce 100644 --- a/__fixtures__/v-next/outputv3/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/v-next/outputv3/cosmos/crypto/keyring/v1/record.ts @@ -392,7 +392,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/genesis.ts index 3d1979c067..794294949c 100644 --- a/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/genesis.ts @@ -528,7 +528,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -631,7 +631,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: Long.UZERO, - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -746,7 +746,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -849,7 +849,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -966,7 +966,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: Long.UZERO, period: Long.UZERO, - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -1093,8 +1093,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/query.ts index fb2ab43560..ecc48ebb31 100644 --- a/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/distribution/v1beta1/query.ts @@ -628,7 +628,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -804,7 +804,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -980,7 +980,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -1071,7 +1071,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: Long.UZERO, endingHeight: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -1199,7 +1199,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/evidence/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/evidence/v1beta1/query.ts index 34f961d22d..cc2b054c0f 100644 --- a/__fixtures__/v-next/outputv3/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/evidence/v1beta1/query.ts @@ -292,7 +292,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -381,7 +381,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/feegrant.ts index 02eca0a412..3262f44fbe 100644 --- a/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/feegrant.ts @@ -301,7 +301,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/query.ts index b08d90b4fa..c7c3a64bb5 100644 --- a/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/feegrant/v1beta1/query.ts @@ -260,7 +260,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -349,7 +349,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -451,7 +451,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -565,7 +565,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -667,7 +667,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1/genesis.ts index 44a10acac3..af8d47c657 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1/genesis.ts @@ -60,9 +60,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1/gov.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1/gov.ts index 259b1d1f97..e43e3910ad 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1/gov.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1/gov.ts @@ -659,7 +659,7 @@ function createBaseProposal(): Proposal { id: Long.UZERO, messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1/query.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1/query.ts index ad97c8aad1..c55906edae 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1/query.ts @@ -514,7 +514,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -605,7 +605,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -733,7 +733,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -948,7 +948,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -1037,7 +1037,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -1139,7 +1139,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -1340,9 +1340,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1558,7 +1558,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1647,7 +1647,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1749,7 +1749,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1950,7 +1950,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/genesis.ts index 6b38f03a60..04d3976432 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/genesis.ts @@ -60,9 +60,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/gov.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/gov.ts index e2ceca6de3..4027852152 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/gov.ts @@ -821,7 +821,7 @@ function createBaseProposal(): Proposal { proposalId: Long.UZERO, content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/query.ts index b092627388..7da6739d2c 100644 --- a/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/gov/v1beta1/query.ts @@ -514,7 +514,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -605,7 +605,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -733,7 +733,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -948,7 +948,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -1037,7 +1037,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -1139,7 +1139,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -1340,9 +1340,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1558,7 +1558,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1647,7 +1647,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1749,7 +1749,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1950,7 +1950,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/group/v1/query.ts b/__fixtures__/v-next/outputv3/cosmos/group/v1/query.ts index 628c786957..1a801275eb 100644 --- a/__fixtures__/v-next/outputv3/cosmos/group/v1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/group/v1/query.ts @@ -750,7 +750,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -926,7 +926,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -1015,7 +1015,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -1117,7 +1117,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -1231,7 +1231,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -1333,7 +1333,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -1447,7 +1447,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -1549,7 +1549,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -1663,7 +1663,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -1765,7 +1765,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -1966,7 +1966,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -2055,7 +2055,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -2157,7 +2157,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -2372,7 +2372,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -2461,7 +2461,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -2563,7 +2563,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -2677,7 +2677,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -2779,7 +2779,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -2893,7 +2893,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -2995,7 +2995,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -3196,7 +3196,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/group/v1/types.ts b/__fixtures__/v-next/outputv3/cosmos/group/v1/types.ts index 9f64b10d95..b8aef7c2bd 100644 --- a/__fixtures__/v-next/outputv3/cosmos/group/v1/types.ts +++ b/__fixtures__/v-next/outputv3/cosmos/group/v1/types.ts @@ -990,7 +990,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -1092,7 +1092,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -1454,7 +1454,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: Long.UZERO, - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -1736,7 +1736,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: Long.UZERO, status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/genesis.ts index 27e6b0de3d..c6a0c8c851 100644 --- a/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/genesis.ts @@ -31,8 +31,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/query.ts index 2f5ef923c4..ca41af502d 100644 --- a/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/mint/v1beta1/query.ts @@ -209,7 +209,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/nft/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/nft/v1beta1/query.ts index 6bbc99111c..38803dc454 100644 --- a/__fixtures__/v-next/outputv3/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/nft/v1beta1/query.ts @@ -866,7 +866,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -981,7 +981,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -1196,7 +1196,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -1372,7 +1372,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -1460,7 +1460,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -1549,7 +1549,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/orm/v1/orm.ts b/__fixtures__/v-next/outputv3/cosmos/orm/v1/orm.ts index 02bf00135f..725700a480 100644 --- a/__fixtures__/v-next/outputv3/cosmos/orm/v1/orm.ts +++ b/__fixtures__/v-next/outputv3/cosmos/orm/v1/orm.ts @@ -230,7 +230,7 @@ export interface SingletonDescriptorSDKType { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/v-next/outputv3/cosmos/params/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/params/v1beta1/query.ts index b5e4c217bf..69e7614870 100644 --- a/__fixtures__/v-next/outputv3/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/params/v1beta1/query.ts @@ -239,7 +239,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/genesis.ts index 8f38302c49..5f0d99ab7a 100644 --- a/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/genesis.ts @@ -138,7 +138,7 @@ export interface MissedBlockSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -279,7 +279,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/query.ts index 8949e0fc17..a9f1247315 100644 --- a/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/slashing/v1beta1/query.ts @@ -234,7 +234,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -410,7 +410,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -498,7 +498,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -587,7 +587,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/genesis.ts index 08cbc7d696..eac9df2fe8 100644 --- a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/genesis.ts @@ -98,7 +98,7 @@ export interface LastValidatorPowerSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/query.ts index 57474eb744..9ae2d1a4dd 100644 --- a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/query.ts @@ -855,7 +855,7 @@ export interface QueryParamsResponseSDKType { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -957,7 +957,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -1158,7 +1158,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -1247,7 +1247,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -1349,7 +1349,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -1463,7 +1463,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -1565,7 +1565,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -1780,7 +1780,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -1970,7 +1970,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -2059,7 +2059,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -2161,7 +2161,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -2275,7 +2275,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -2377,7 +2377,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -2493,7 +2493,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -2621,7 +2621,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -2735,7 +2735,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -2837,7 +2837,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -3052,7 +3052,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -3228,7 +3228,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -3386,7 +3386,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -3544,7 +3544,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/staking.ts b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/staking.ts index 1761edc759..0d3cbdffc9 100644 --- a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/staking.ts @@ -831,7 +831,7 @@ export interface PoolSDKType { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -1061,7 +1061,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -1313,10 +1313,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: Long.ZERO, unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -2863,7 +2863,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -2965,7 +2965,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -3067,7 +3067,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/tx.ts b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/tx.ts index 977ab47e20..fbe445e174 100644 --- a/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv3/cosmos/staking/v1beta1/tx.ts @@ -281,8 +281,8 @@ export interface MsgUndelegateResponseSDKType { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -529,7 +529,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/v-next/outputv3/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/v-next/outputv3/cosmos/tx/signing/v1beta1/signing.ts index 17dc083ba1..2555b49512 100644 --- a/__fixtures__/v-next/outputv3/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/v-next/outputv3/cosmos/tx/signing/v1beta1/signing.ts @@ -347,7 +347,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: Long.UZERO }; } @@ -666,7 +666,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/service.ts b/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/service.ts index 9b46ed72d8..d83be4ea3f 100644 --- a/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/service.ts @@ -488,7 +488,7 @@ export interface GetBlockWithTxsResponseSDKType { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -617,7 +617,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -857,7 +857,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -945,7 +945,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -1047,8 +1047,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -1237,8 +1237,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -1340,7 +1340,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: Long.ZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -1442,9 +1442,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/tx.ts b/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/tx.ts index 593de69667..706ef4c2d1 100644 --- a/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv3/cosmos/tx/v1beta1/tx.ts @@ -760,8 +760,8 @@ export interface AuxSignerDataSDKType { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -1151,7 +1151,7 @@ function createBaseSignDocDirectAux(): SignDocDirectAux { chainId: "", accountNumber: Long.UZERO, sequence: Long.UZERO, - tip: undefined + tip: Tip.fromPartial({}) }; } export const SignDocDirectAux = { @@ -1485,8 +1485,8 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined, - tip: undefined + fee: Fee.fromPartial({}), + tip: Tip.fromPartial({}) }; } export const AuthInfo = { @@ -1613,7 +1613,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: Long.UZERO }; } @@ -1918,7 +1918,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } @@ -2289,7 +2289,7 @@ export const Tip = { function createBaseAuxSignerData(): AuxSignerData { return { address: "", - signDoc: undefined, + signDoc: SignDocDirectAux.fromPartial({}), mode: 0, sig: new Uint8Array() }; diff --git a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/query.ts index cb93501643..c93d99e069 100644 --- a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/query.ts @@ -404,7 +404,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/tx.ts index 66837232c9..8dceeff46f 100644 --- a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/tx.ts @@ -130,7 +130,7 @@ export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/upgrade.ts index d61d508dc4..da8eac8345 100644 --- a/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/v-next/outputv3/cosmos/upgrade/v1beta1/upgrade.ts @@ -367,7 +367,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/v-next/outputv3/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/v-next/outputv3/cosmos/vesting/v1beta1/vesting.ts index ee1c8d6d9e..a53a752463 100644 --- a/__fixtures__/v-next/outputv3/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/v-next/outputv3/cosmos/vesting/v1beta1/vesting.ts @@ -206,7 +206,7 @@ export interface PermanentLockedAccountSDKType { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -386,7 +386,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO }; } @@ -488,7 +488,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -690,7 +690,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: Long.ZERO, vestingPeriods: [] }; @@ -818,7 +818,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/genesis.ts index e04774c1cb..2e27d2c83e 100644 --- a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/genesis.ts @@ -152,7 +152,7 @@ export interface SequenceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -461,7 +461,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: Long.UZERO, - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -591,7 +591,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/proposal.ts index 57e9ce667d..f12274ef8b 100644 --- a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/proposal.ts @@ -413,7 +413,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { diff --git a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/query.ts b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/query.ts index 69168dbc70..fc17f50d59 100644 --- a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/query.ts @@ -691,7 +691,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -793,7 +793,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -895,7 +895,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -1009,7 +1009,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: Long.UZERO, - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -1111,7 +1111,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -1225,7 +1225,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -1327,7 +1327,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -2024,7 +2024,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -2126,7 +2126,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -2215,7 +2215,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -2328,7 +2328,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -2417,7 +2417,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/tx.ts b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/tx.ts index 0b3f89cb46..8ed3eaa889 100644 --- a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/tx.ts @@ -362,7 +362,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/types.ts b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/types.ts index 1fd4a33550..9c2b3648a2 100644 --- a/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/v-next/outputv3/cosmwasm/wasm/v1/types.ts @@ -567,7 +567,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0, maxWasmCodeSize: Long.UZERO }; @@ -685,7 +685,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -803,7 +803,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -973,7 +973,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: Long.UZERO, - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/v-next/outputv3/evmos/claims/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/claims/v1/genesis.ts index e5d351ac46..34fc266db9 100644 --- a/__fixtures__/v-next/outputv3/evmos/claims/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/claims/v1/genesis.ts @@ -91,7 +91,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/v-next/outputv3/evmos/claims/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/claims/v1/query.ts index 2cd34bf3d1..75b7b55b33 100644 --- a/__fixtures__/v-next/outputv3/evmos/claims/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/claims/v1/query.ts @@ -450,7 +450,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -531,7 +531,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -613,7 +613,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/epochs/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/epochs/v1/query.ts index 4ca738badc..c6b1eb6c1d 100644 --- a/__fixtures__/v-next/outputv3/evmos/epochs/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/epochs/v1/query.ts @@ -76,7 +76,7 @@ export interface QueryCurrentEpochResponseSDKType { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -158,7 +158,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/erc20/v1/erc20.ts b/__fixtures__/v-next/outputv3/evmos/erc20/v1/erc20.ts index ea325cbdd3..acc78ca745 100644 --- a/__fixtures__/v-next/outputv3/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/v-next/outputv3/evmos/erc20/v1/erc20.ts @@ -346,7 +346,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/v-next/outputv3/evmos/erc20/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/erc20/v1/genesis.ts index fb1c3368b7..c9b66b2efc 100644 --- a/__fixtures__/v-next/outputv3/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/erc20/v1/genesis.ts @@ -66,7 +66,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/v-next/outputv3/evmos/erc20/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/erc20/v1/query.ts index 9fc58464f9..49c47834d1 100644 --- a/__fixtures__/v-next/outputv3/evmos/erc20/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/erc20/v1/query.ts @@ -171,7 +171,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -253,7 +253,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -440,7 +440,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -584,7 +584,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/fees/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/fees/v1/genesis.ts index bcc19208f3..708736e7ce 100644 --- a/__fixtures__/v-next/outputv3/evmos/fees/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/fees/v1/genesis.ts @@ -91,7 +91,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/v-next/outputv3/evmos/fees/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/fees/v1/query.ts index af0b32c3d0..3e672d32ea 100644 --- a/__fixtures__/v-next/outputv3/evmos/fees/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/fees/v1/query.ts @@ -244,7 +244,7 @@ export interface QueryDevFeeInfosPerDeployerResponseSDKType { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -326,7 +326,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -513,7 +513,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -657,7 +657,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -739,7 +739,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -834,7 +834,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/incentives/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/incentives/v1/genesis.ts index de72aff0ed..0c336b95d4 100644 --- a/__fixtures__/v-next/outputv3/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/incentives/v1/genesis.ts @@ -73,7 +73,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/v-next/outputv3/evmos/incentives/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/incentives/v1/query.ts index 0bea305862..b71b0f11ad 100644 --- a/__fixtures__/v-next/outputv3/evmos/incentives/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/incentives/v1/query.ts @@ -425,7 +425,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -507,7 +507,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -694,7 +694,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -776,7 +776,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -871,7 +871,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -1153,7 +1153,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -1235,7 +1235,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -1422,7 +1422,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -1566,7 +1566,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/inflation/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/inflation/v1/genesis.ts index b5cfa2e0a1..7e3023b384 100644 --- a/__fixtures__/v-next/outputv3/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/inflation/v1/genesis.ts @@ -83,7 +83,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: Long.UZERO, epochIdentifier: "", epochsPerPeriod: Long.ZERO, @@ -221,8 +221,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/v-next/outputv3/evmos/inflation/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/inflation/v1/query.ts index fd73abdf2f..a66dc8e0b6 100644 --- a/__fixtures__/v-next/outputv3/evmos/inflation/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/inflation/v1/query.ts @@ -500,7 +500,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -788,7 +788,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -1076,7 +1076,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/recovery/v1/genesis.ts b/__fixtures__/v-next/outputv3/evmos/recovery/v1/genesis.ts index 2a5ba7f86b..6142fa2ffd 100644 --- a/__fixtures__/v-next/outputv3/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/evmos/recovery/v1/genesis.ts @@ -53,7 +53,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/evmos/recovery/v1/query.ts b/__fixtures__/v-next/outputv3/evmos/recovery/v1/query.ts index 580a86aefb..ac74ff73fb 100644 --- a/__fixtures__/v-next/outputv3/evmos/recovery/v1/query.ts +++ b/__fixtures__/v-next/outputv3/evmos/recovery/v1/query.ts @@ -103,7 +103,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/evmos/vesting/v1/vesting.ts b/__fixtures__/v-next/outputv3/evmos/vesting/v1/vesting.ts index 994472aca2..a95f38a78b 100644 --- a/__fixtures__/v-next/outputv3/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/v-next/outputv3/evmos/vesting/v1/vesting.ts @@ -68,7 +68,7 @@ export interface ClawbackVestingAccountSDKType { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/v-next/outputv3/google/api/auth.ts b/__fixtures__/v-next/outputv3/google/api/auth.ts index 78ecd283fe..472a2ce8f1 100644 --- a/__fixtures__/v-next/outputv3/google/api/auth.ts +++ b/__fixtures__/v-next/outputv3/google/api/auth.ts @@ -713,7 +713,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/v-next/outputv3/google/api/distribution.ts b/__fixtures__/v-next/outputv3/google/api/distribution.ts index b091588b1c..cf5a86720d 100644 --- a/__fixtures__/v-next/outputv3/google/api/distribution.ts +++ b/__fixtures__/v-next/outputv3/google/api/distribution.ts @@ -552,8 +552,8 @@ function createBaseDistribution(): Distribution { count: Long.ZERO, mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/v-next/outputv3/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/v-next/outputv3/google/api/expr/conformance/v1alpha1/conformance_service.ts index 71889e47b9..a3fd97c1a9 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -482,7 +482,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -589,7 +589,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -724,7 +724,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -832,7 +832,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -1085,7 +1085,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -1193,7 +1193,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/checked.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/checked.ts index aa4e38c2ba..98cc087d66 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/checked.ts @@ -901,7 +901,7 @@ export interface ReferenceSDKType { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: Long.ZERO, - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -989,7 +989,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: Long.ZERO, - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -1078,9 +1078,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -1548,7 +1548,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -1629,8 +1629,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -1724,7 +1724,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -2047,8 +2047,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -2252,7 +2252,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -2426,7 +2426,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/syntax.ts index 763feb49b8..a7457c5272 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/syntax.ts @@ -899,8 +899,8 @@ export interface SourcePositionSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -1254,7 +1254,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -1363,7 +1363,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1687,7 +1687,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: Long.ZERO, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1808,12 +1808,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -2254,7 +2254,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: Long.ZERO, - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/value.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/value.ts index 7e434ca60a..9ef3070262 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1alpha1/value.ts @@ -761,8 +761,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/decl.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/decl.ts index 43710525d9..e86ad432a9 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/decl.ts @@ -416,8 +416,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -512,7 +512,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/eval.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/eval.ts index 71d65cad66..b720211e28 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/eval.ts @@ -406,7 +406,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/expr.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/expr.ts index 13cd098836..9e5f791b68 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/expr.ts @@ -672,8 +672,8 @@ export interface LiteralSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -1041,7 +1041,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -1150,7 +1150,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1474,7 +1474,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1595,12 +1595,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/value.ts b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/value.ts index eddb7f14bb..884cd815b3 100644 --- a/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/v-next/outputv3/google/api/expr/v1beta1/value.ts @@ -761,8 +761,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv3/google/api/metric.ts b/__fixtures__/v-next/outputv3/google/api/metric.ts index c953a4feeb..c631875a6d 100644 --- a/__fixtures__/v-next/outputv3/google/api/metric.ts +++ b/__fixtures__/v-next/outputv3/google/api/metric.ts @@ -632,7 +632,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/v-next/outputv3/google/api/monitored_resource.ts b/__fixtures__/v-next/outputv3/google/api/monitored_resource.ts index 20b5568b76..f5934dd801 100644 --- a/__fixtures__/v-next/outputv3/google/api/monitored_resource.ts +++ b/__fixtures__/v-next/outputv3/google/api/monitored_resource.ts @@ -811,7 +811,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/v-next/outputv3/google/api/service.ts b/__fixtures__/v-next/outputv3/google/api/service.ts index f9f362c41c..0831a26c01 100644 --- a/__fixtures__/v-next/outputv3/google/api/service.ts +++ b/__fixtures__/v-next/outputv3/google/api/service.ts @@ -334,24 +334,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/check_error.ts index bc59c746d0..fb36d804cb 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/check_error.ts @@ -264,7 +264,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/log_entry.ts index ac51503409..a3f5abca92 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/log_entry.ts @@ -401,15 +401,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/quota_controller.ts index e5c0f0f6fe..d206ca043d 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/quota_controller.ts @@ -499,7 +499,7 @@ export interface QuotaErrorSDKType { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -1051,7 +1051,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/service_controller.ts index 1c38e842ac..2876925def 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v1/service_controller.ts @@ -477,7 +477,7 @@ export interface ReportResponse_ReportErrorSDKType { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -589,7 +589,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -735,7 +735,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -1193,7 +1193,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v2/service_controller.ts index 546fef9cfe..382b909788 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicecontrol/v2/service_controller.ts @@ -291,7 +291,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -663,7 +663,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/v-next/outputv3/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/v-next/outputv3/google/api/servicemanagement/v1/servicemanager.ts index 676628e967..3e7c33a525 100644 --- a/__fixtures__/v-next/outputv3/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/v-next/outputv3/google/api/servicemanagement/v1/servicemanager.ts @@ -1063,7 +1063,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -1306,7 +1306,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -1713,7 +1713,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -1808,7 +1808,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -1916,7 +1916,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -1998,7 +1998,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/resources.ts b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/resources.ts index b060232465..f5aae209cd 100644 --- a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/resources.ts @@ -264,7 +264,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -388,13 +388,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/serviceusage.ts index 5f655260b8..86a8005949 100644 --- a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1/serviceusage.ts @@ -654,7 +654,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -844,7 +844,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/resources.ts index c7c317aeba..e21df986ed 100644 --- a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/resources.ts @@ -1078,7 +1078,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -1202,13 +1202,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1963,9 +1963,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: Long.ZERO, defaultLimit: Long.ZERO, - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/serviceusage.ts index 258c301a25..b5517b0c99 100644 --- a/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/v-next/outputv3/google/api/serviceusage/v1beta1/serviceusage.ts @@ -2568,7 +2568,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -2712,9 +2712,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -3609,7 +3609,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -3753,9 +3753,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -5075,7 +5075,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/v-next/outputv3/google/logging/v2/log_entry.ts b/__fixtures__/v-next/outputv3/google/logging/v2/log_entry.ts index 7c13bed961..5575c05051 100644 --- a/__fixtures__/v-next/outputv3/google/logging/v2/log_entry.ts +++ b/__fixtures__/v-next/outputv3/google/logging/v2/log_entry.ts @@ -631,7 +631,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -639,14 +639,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv3/google/logging/v2/logging.ts b/__fixtures__/v-next/outputv3/google/logging/v2/logging.ts index 89750ffe62..47c2a15ce7 100644 --- a/__fixtures__/v-next/outputv3/google/logging/v2/logging.ts +++ b/__fixtures__/v-next/outputv3/google/logging/v2/logging.ts @@ -1123,7 +1123,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -1392,7 +1392,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/v-next/outputv3/google/logging/v2/logging_config.ts b/__fixtures__/v-next/outputv3/google/logging/v2/logging_config.ts index 621264434b..a646418cc1 100644 --- a/__fixtures__/v-next/outputv3/google/logging/v2/logging_config.ts +++ b/__fixtures__/v-next/outputv3/google/logging/v2/logging_config.ts @@ -3043,7 +3043,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -3937,7 +3937,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -4045,8 +4045,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -4614,7 +4614,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -4722,8 +4722,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -5290,7 +5290,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -5399,9 +5399,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -6051,7 +6051,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -6146,8 +6146,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -6417,8 +6417,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -6716,8 +6716,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -7074,7 +7074,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/v-next/outputv3/google/logging/v2/logging_metrics.ts b/__fixtures__/v-next/outputv3/google/logging/v2/logging_metrics.ts index d2623587f0..51429e660e 100644 --- a/__fixtures__/v-next/outputv3/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/v-next/outputv3/google/logging/v2/logging_metrics.ts @@ -699,10 +699,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -1257,7 +1257,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -1352,7 +1352,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/v-next/outputv3/google/protobuf/api.ts b/__fixtures__/v-next/outputv3/google/protobuf/api.ts index 9b5f2591e2..5dc4667c10 100644 --- a/__fixtures__/v-next/outputv3/google/protobuf/api.ts +++ b/__fixtures__/v-next/outputv3/google/protobuf/api.ts @@ -465,7 +465,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/v-next/outputv3/google/protobuf/compiler/plugin.ts b/__fixtures__/v-next/outputv3/google/protobuf/compiler/plugin.ts index ddc77e47f4..90863bfc7e 100644 --- a/__fixtures__/v-next/outputv3/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/v-next/outputv3/google/protobuf/compiler/plugin.ts @@ -417,7 +417,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/v-next/outputv3/google/protobuf/descriptor.ts b/__fixtures__/v-next/outputv3/google/protobuf/descriptor.ts index 95793b0e95..3c691713fe 100644 --- a/__fixtures__/v-next/outputv3/google/protobuf/descriptor.ts +++ b/__fixtures__/v-next/outputv3/google/protobuf/descriptor.ts @@ -2301,8 +2301,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -2636,7 +2636,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -2934,7 +2934,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -3238,7 +3238,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -3437,7 +3437,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -3533,7 +3533,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -3801,7 +3801,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -3910,7 +3910,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -4032,7 +4032,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/v-next/outputv3/google/protobuf/struct.ts b/__fixtures__/v-next/outputv3/google/protobuf/struct.ts index 11c0f17d98..fd63f943b2 100644 --- a/__fixtures__/v-next/outputv3/google/protobuf/struct.ts +++ b/__fixtures__/v-next/outputv3/google/protobuf/struct.ts @@ -214,7 +214,7 @@ export interface ListValueSDKType { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/v-next/outputv3/google/protobuf/type.ts b/__fixtures__/v-next/outputv3/google/protobuf/type.ts index 2c852b184b..9cd5993783 100644 --- a/__fixtures__/v-next/outputv3/google/protobuf/type.ts +++ b/__fixtures__/v-next/outputv3/google/protobuf/type.ts @@ -503,7 +503,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -908,7 +908,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -1188,7 +1188,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/v-next/outputv3/google/rpc/context/attribute_context.ts b/__fixtures__/v-next/outputv3/google/rpc/context/attribute_context.ts index 2365ca2407..0859506a27 100644 --- a/__fixtures__/v-next/outputv3/google/rpc/context/attribute_context.ts +++ b/__fixtures__/v-next/outputv3/google/rpc/context/attribute_context.ts @@ -1007,13 +1007,13 @@ export interface AttributeContext_ResourceSDKType { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -1592,7 +1592,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -1849,7 +1849,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: Long.ZERO, protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/genesis.ts index 3529611667..9f2780d794 100644 --- a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/genesis.ts @@ -32,7 +32,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/query.ts b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/query.ts index 3744ff8c95..6023cd5813 100644 --- a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/query.ts @@ -258,7 +258,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -346,7 +346,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -435,7 +435,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -618,7 +618,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/tx.ts b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/tx.ts index abe4657666..31e2605ca7 100644 --- a/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/v-next/outputv3/ibc/applications/transfer/v1/tx.ts @@ -100,7 +100,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/channel.ts b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/channel.ts index a085842c50..290b0681d0 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/channel.ts @@ -434,7 +434,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -590,7 +590,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -880,7 +880,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: Long.UZERO }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/query.ts b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/query.ts index d643478a46..b775e0c853 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/query.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/query.ts @@ -1131,9 +1131,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -1247,7 +1247,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -1336,8 +1336,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -1464,7 +1464,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -1566,8 +1566,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -1795,9 +1795,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -2044,7 +2044,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -2289,7 +2289,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -2405,7 +2405,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -2520,8 +2520,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -2765,7 +2765,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -2997,7 +2997,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -3113,7 +3113,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -3263,8 +3263,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -3528,7 +3528,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -3788,7 +3788,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -4014,7 +4014,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: Long.UZERO, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/tx.ts b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/tx.ts index 8871fea62c..e5ee8e8406 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/channel/v1/tx.ts @@ -546,7 +546,7 @@ export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -733,10 +733,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -978,7 +978,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1218,7 +1218,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1618,7 +1618,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1829,9 +1829,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -2029,9 +2029,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -2243,10 +2243,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: Long.UZERO, signer: "" }; @@ -2471,10 +2471,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/client/v1/client.ts b/__fixtures__/v-next/outputv3/ibc/core/client/v1/client.ts index d3768b639a..191f2b0702 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/client/v1/client.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/client/v1/client.ts @@ -409,7 +409,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -757,7 +757,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/client/v1/genesis.ts b/__fixtures__/v-next/outputv3/ibc/core/client/v1/genesis.ts index f1b367fe42..a461a7af39 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/client/v1/genesis.ts @@ -120,7 +120,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: Long.UZERO }; diff --git a/__fixtures__/v-next/outputv3/ibc/core/client/v1/query.ts b/__fixtures__/v-next/outputv3/ibc/core/client/v1/query.ts index 9aee278e8b..5af155ade4 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/client/v1/query.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/client/v1/query.ts @@ -628,7 +628,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -742,7 +742,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -831,7 +831,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -1076,7 +1076,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -1191,7 +1191,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -1293,7 +1293,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -1652,7 +1652,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/connection.ts b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/connection.ts index 52f04b355e..799c26cd2f 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/connection.ts @@ -354,7 +354,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -511,7 +511,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO }; } @@ -679,7 +679,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/genesis.ts b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/genesis.ts index 62464f6607..7be1ce692c 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/genesis.ts @@ -38,7 +38,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/query.ts b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/query.ts index c88487784a..5796fd3113 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/query.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/query.ts @@ -467,9 +467,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -583,7 +583,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -672,8 +672,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -889,7 +889,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -1103,9 +1103,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -1338,7 +1338,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/tx.ts b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/tx.ts index 00ba4254d1..52b99b2e71 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/connection/v1/tx.ts @@ -312,8 +312,8 @@ export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: Long.UZERO, signer: "" }; @@ -528,14 +528,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: Long.UZERO, counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -851,13 +851,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -1135,7 +1135,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/port/v1/query.ts b/__fixtures__/v-next/outputv3/ibc/core/port/v1/query.ts index 4e4760465b..b62ae50e2d 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/port/v1/query.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/port/v1/query.ts @@ -76,7 +76,7 @@ function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { portId: "", connectionId: "", ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), proposedVersion: "" }; } diff --git a/__fixtures__/v-next/outputv3/ibc/core/types/v1/genesis.ts b/__fixtures__/v-next/outputv3/ibc/core/types/v1/genesis.ts index b2ce52771f..67db90586c 100644 --- a/__fixtures__/v-next/outputv3/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/v-next/outputv3/ibc/core/types/v1/genesis.ts @@ -44,9 +44,9 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/v-next/outputv3/ibc/lightclients/localhost/v1/localhost.ts index 3612d82455..fa971f7975 100644 --- a/__fixtures__/v-next/outputv3/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/v-next/outputv3/ibc/lightclients/localhost/v1/localhost.ts @@ -41,7 +41,7 @@ export interface ClientStateSDKType { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v1/solomachine.ts index a8ed3f8759..64d7da471f 100644 --- a/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v1/solomachine.ts @@ -651,7 +651,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, frozenSequence: Long.UZERO, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -1041,8 +1041,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1852,7 +1852,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1954,7 +1954,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v2/solomachine.ts b/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v2/solomachine.ts index cb06d5c7e0..61aaa00601 100644 --- a/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/__fixtures__/v-next/outputv3/ibc/lightclients/solomachine/v2/solomachine.ts @@ -651,7 +651,7 @@ function createBaseClientState(): ClientState { return { sequence: Long.UZERO, isFrozen: false, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -1041,8 +1041,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: Long.UZERO, - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1852,7 +1852,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1954,7 +1954,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv3/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/v-next/outputv3/ibc/lightclients/tendermint/v1/tendermint.ts index 3eb56539bb..6d3c9d3af9 100644 --- a/__fixtures__/v-next/outputv3/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/v-next/outputv3/ibc/lightclients/tendermint/v1/tendermint.ts @@ -293,12 +293,12 @@ export interface FractionSDKType { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -545,7 +545,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -661,8 +661,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -776,10 +776,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/genesis.ts index 20011ff019..f20bf1285b 100644 --- a/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/genesis.ts @@ -39,7 +39,7 @@ export interface GenesisStateSDKType { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/query.ts index 7976c305f4..ce9baa6cf4 100644 --- a/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/claim/v1beta1/query.ts @@ -423,7 +423,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -599,7 +599,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/balancerPool.ts index 37ec0b64ce..50fc6a6bdd 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -641,7 +641,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/tx/tx.ts index 6406d654f4..db71440e11 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -54,7 +54,7 @@ export interface MsgCreateBalancerPoolResponseSDKType { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 9bbd1f56ec..84e644ceb7 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -215,7 +215,7 @@ function createBasePool(): Pool { return { address: "", id: Long.UZERO, - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/tx.ts index e660a95a8a..c85fa95a9f 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/pool-models/stableswap/tx.ts @@ -107,7 +107,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponseSDKType {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/genesis.ts index 1b878f4e6d..5100896210 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/genesis.ts @@ -164,7 +164,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: Long.UZERO, - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/query.ts index 6d1fa67f13..f1c238766b 100644 --- a/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/gamm/v1beta1/query.ts @@ -825,7 +825,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -914,7 +914,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -2677,7 +2677,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -2804,7 +2804,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/ibc-rate-limit/v1beta1/query.ts index 61c019ae12..a3a968f760 100644 --- a/__fixtures__/v-next/outputv3/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -110,7 +110,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/incentives/gauge.ts b/__fixtures__/v-next/outputv3/osmosis/incentives/gauge.ts index 1c1339ebfc..2f1990aafe 100644 --- a/__fixtures__/v-next/outputv3/osmosis/incentives/gauge.ts +++ b/__fixtures__/v-next/outputv3/osmosis/incentives/gauge.ts @@ -133,7 +133,7 @@ function createBaseGauge(): Gauge { return { id: Long.UZERO, isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO, diff --git a/__fixtures__/v-next/outputv3/osmosis/incentives/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/incentives/genesis.ts index e903640276..24f8dac884 100644 --- a/__fixtures__/v-next/outputv3/osmosis/incentives/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/incentives/genesis.ts @@ -64,7 +64,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: Long.UZERO diff --git a/__fixtures__/v-next/outputv3/osmosis/incentives/query.ts b/__fixtures__/v-next/outputv3/osmosis/incentives/query.ts index 36ea9e45b8..b8b53c20ae 100644 --- a/__fixtures__/v-next/outputv3/osmosis/incentives/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/incentives/query.ts @@ -648,7 +648,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -736,7 +736,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -825,7 +825,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -938,7 +938,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -1027,7 +1027,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -1141,7 +1141,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -1243,7 +1243,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -1356,7 +1356,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -1445,7 +1445,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -1559,7 +1559,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -1661,7 +1661,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/incentives/tx.ts b/__fixtures__/v-next/outputv3/osmosis/incentives/tx.ts index 17ea57cb1a..db97d3df74 100644 --- a/__fixtures__/v-next/outputv3/osmosis/incentives/tx.ts +++ b/__fixtures__/v-next/outputv3/osmosis/incentives/tx.ts @@ -133,7 +133,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: Long.UZERO diff --git a/__fixtures__/v-next/outputv3/osmosis/lockup/query.ts b/__fixtures__/v-next/outputv3/osmosis/lockup/query.ts index 49ef25dbfe..dc2e585910 100644 --- a/__fixtures__/v-next/outputv3/osmosis/lockup/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/lockup/query.ts @@ -2605,7 +2605,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -3773,7 +3773,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/genesis.ts index 78b6766f18..5ea07c3c5c 100644 --- a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/genesis.ts @@ -42,8 +42,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/mint.ts b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/mint.ts index c82aca71fe..72f065b176 100644 --- a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/mint.ts @@ -551,7 +551,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: Long.ZERO, reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: Long.ZERO }; diff --git a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/query.ts index 5b370f83df..ffd1fa181b 100644 --- a/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/mint/v1beta1/query.ts @@ -164,7 +164,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/genesis.ts index 8c62cba5cf..8f7595b04f 100644 --- a/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/genesis.ts @@ -36,7 +36,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/query.ts index 1e812d4b0b..acb062684d 100644 --- a/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/pool-incentives/v1beta1/query.ts @@ -600,7 +600,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -758,7 +758,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/v-next/outputv3/osmosis/sumtree/v1beta1/tree.ts index fca18fed3d..6a59048b1a 100644 --- a/__fixtures__/v-next/outputv3/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/v-next/outputv3/osmosis/sumtree/v1beta1/tree.ts @@ -259,7 +259,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/v-next/outputv3/osmosis/superfluid/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/superfluid/genesis.ts index 4c98382e71..33f9b7ed1a 100644 --- a/__fixtures__/v-next/outputv3/osmosis/superfluid/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/superfluid/genesis.ts @@ -61,7 +61,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/v-next/outputv3/osmosis/superfluid/query.ts b/__fixtures__/v-next/outputv3/osmosis/superfluid/query.ts index 0ad4925d7d..d7e4383931 100644 --- a/__fixtures__/v-next/outputv3/osmosis/superfluid/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/superfluid/query.ts @@ -655,7 +655,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1177,7 +1177,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -1395,7 +1395,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -1484,7 +1484,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -1685,7 +1685,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/genesis.ts index bfc15ca1a5..01477a3954 100644 --- a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/genesis.ts @@ -65,7 +65,7 @@ export interface GenesisDenomSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -180,7 +180,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/query.ts index 2a843b8030..e88026b280 100644 --- a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/query.ts @@ -227,7 +227,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -403,7 +403,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/tx.ts index 4c391f333f..26d5682c3e 100644 --- a/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv3/osmosis/tokenfactory/v1beta1/tx.ts @@ -1009,7 +1009,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/genesis.ts index 8d11d59ece..7e8907127d 100644 --- a/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/genesis.ts @@ -158,7 +158,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/query.ts b/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/query.ts index d767a097ca..600ea215c2 100644 --- a/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv3/osmosis/twap/v1beta1/query.ts @@ -642,7 +642,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputv3/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/v-next/outputv3/osmosis/txfees/v1beta1/gov.ts index 99bc47f586..3a7efca854 100644 --- a/__fixtures__/v-next/outputv3/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv3/osmosis/txfees/v1beta1/gov.ts @@ -50,7 +50,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/v-next/outputv3/tendermint/abci/types.ts b/__fixtures__/v-next/outputv3/tendermint/abci/types.ts index ca77609429..cb92d65f6f 100644 --- a/__fixtures__/v-next/outputv3/tendermint/abci/types.ts +++ b/__fixtures__/v-next/outputv3/tendermint/abci/types.ts @@ -2015,7 +2015,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: Long.ZERO @@ -2300,8 +2300,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -2817,7 +2817,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -3892,7 +3892,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -4019,7 +4019,7 @@ function createBaseResponseQuery(): ResponseQuery { index: Long.ZERO, key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: Long.ZERO, codespace: "" }; @@ -4682,7 +4682,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -5306,10 +5306,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -5850,7 +5850,7 @@ function createBaseTxResult(): TxResult { height: Long.ZERO, index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -6160,7 +6160,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -6256,7 +6256,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: Long.ZERO, time: undefined, totalVotingPower: Long.ZERO diff --git a/__fixtures__/v-next/outputv3/tendermint/crypto/proof.ts b/__fixtures__/v-next/outputv3/tendermint/crypto/proof.ts index a5c6fe1b94..139357353e 100644 --- a/__fixtures__/v-next/outputv3/tendermint/crypto/proof.ts +++ b/__fixtures__/v-next/outputv3/tendermint/crypto/proof.ts @@ -270,7 +270,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/v-next/outputv3/tendermint/p2p/types.ts b/__fixtures__/v-next/outputv3/tendermint/p2p/types.ts index 454d780833..ed2cfd138b 100644 --- a/__fixtures__/v-next/outputv3/tendermint/p2p/types.ts +++ b/__fixtures__/v-next/outputv3/tendermint/p2p/types.ts @@ -243,14 +243,14 @@ export const ProtocolVersion = { }; function createBaseNodeInfo(): NodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), nodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: NodeInfoOther.fromPartial({}) }; } export const NodeInfo = { diff --git a/__fixtures__/v-next/outputv3/tendermint/types/block.ts b/__fixtures__/v-next/outputv3/tendermint/types/block.ts index 274d850cb3..7074e6ef8e 100644 --- a/__fixtures__/v-next/outputv3/tendermint/types/block.ts +++ b/__fixtures__/v-next/outputv3/tendermint/types/block.ts @@ -31,10 +31,10 @@ export interface BlockSDKType { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/v-next/outputv3/tendermint/types/evidence.ts b/__fixtures__/v-next/outputv3/tendermint/types/evidence.ts index 4fdb6c8a1a..c68b233a36 100644 --- a/__fixtures__/v-next/outputv3/tendermint/types/evidence.ts +++ b/__fixtures__/v-next/outputv3/tendermint/types/evidence.ts @@ -202,8 +202,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: Long.ZERO, validatorPower: Long.ZERO, timestamp: undefined @@ -339,7 +339,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: Long.ZERO, byzantineValidators: [], totalVotingPower: Long.ZERO, diff --git a/__fixtures__/v-next/outputv3/tendermint/types/params.ts b/__fixtures__/v-next/outputv3/tendermint/types/params.ts index 8551a6e1e9..571e393afd 100644 --- a/__fixtures__/v-next/outputv3/tendermint/types/params.ts +++ b/__fixtures__/v-next/outputv3/tendermint/types/params.ts @@ -242,10 +242,10 @@ export interface HashedParamsSDKType { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/v-next/outputv3/tendermint/types/types.ts b/__fixtures__/v-next/outputv3/tendermint/types/types.ts index b4dbef17df..8d9c5cd6d6 100644 --- a/__fixtures__/v-next/outputv3/tendermint/types/types.ts +++ b/__fixtures__/v-next/outputv3/tendermint/types/types.ts @@ -609,7 +609,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -717,7 +717,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -811,11 +811,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: Long.ZERO, time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -1170,7 +1170,7 @@ function createBaseVote(): Vote { type: 0, height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -1348,7 +1348,7 @@ function createBaseCommit(): Commit { return { height: Long.ZERO, round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -1608,7 +1608,7 @@ function createBaseProposal(): Proposal { height: Long.ZERO, round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -1769,8 +1769,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1864,8 +1864,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1959,9 +1959,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: Long.ZERO, - header: undefined, + header: Header.fromPartial({}), numTxs: Long.ZERO }; } @@ -2084,7 +2084,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/v-next/outputv3/tendermint/types/validator.ts b/__fixtures__/v-next/outputv3/tendermint/types/validator.ts index 20f5f968f6..0d75dff3c2 100644 --- a/__fixtures__/v-next/outputv3/tendermint/types/validator.ts +++ b/__fixtures__/v-next/outputv3/tendermint/types/validator.ts @@ -74,7 +74,7 @@ export interface SimpleValidatorSDKType { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: Long.ZERO }; } diff --git a/__fixtures__/v-next/outputv4/akash/audit/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/audit/v1beta2/query.ts index 709528361d..860108992d 100644 --- a/__fixtures__/v-next/outputv4/akash/audit/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/audit/v1beta2/query.ts @@ -64,7 +64,7 @@ export interface QueryAuditorAttributesRequestSDKType { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -217,7 +217,7 @@ export const QueryProviderRequest = { }; function createBaseQueryAllProvidersAttributesRequest(): QueryAllProvidersAttributesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllProvidersAttributesRequest = { @@ -278,7 +278,7 @@ export const QueryAllProvidersAttributesRequest = { function createBaseQueryProviderAttributesRequest(): QueryProviderAttributesRequest { return { owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProviderAttributesRequest = { @@ -424,7 +424,7 @@ export const QueryProviderAuditorRequest = { function createBaseQueryAuditorAttributesRequest(): QueryAuditorAttributesRequest { return { auditor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAuditorAttributesRequest = { diff --git a/__fixtures__/v-next/outputv4/akash/base/v1beta1/attribute.ts b/__fixtures__/v-next/outputv4/akash/base/v1beta1/attribute.ts index fc6c6ecb98..32a6b0be53 100644 --- a/__fixtures__/v-next/outputv4/akash/base/v1beta1/attribute.ts +++ b/__fixtures__/v-next/outputv4/akash/base/v1beta1/attribute.ts @@ -209,7 +209,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv4/akash/base/v1beta1/resource.ts b/__fixtures__/v-next/outputv4/akash/base/v1beta1/resource.ts index af9a03a8ab..450f56a602 100644 --- a/__fixtures__/v-next/outputv4/akash/base/v1beta1/resource.ts +++ b/__fixtures__/v-next/outputv4/akash/base/v1beta1/resource.ts @@ -56,7 +56,7 @@ export interface ResourceUnitsSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -137,7 +137,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -218,7 +218,7 @@ export const Memory = { }; function createBaseStorage(): Storage { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv4/akash/base/v1beta2/attribute.ts b/__fixtures__/v-next/outputv4/akash/base/v1beta2/attribute.ts index 4bd7ebde6e..be8e2f3fd1 100644 --- a/__fixtures__/v-next/outputv4/akash/base/v1beta2/attribute.ts +++ b/__fixtures__/v-next/outputv4/akash/base/v1beta2/attribute.ts @@ -209,7 +209,7 @@ export const SignedBy = { }; function createBasePlacementRequirements(): PlacementRequirements { return { - signedBy: undefined, + signedBy: SignedBy.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv4/akash/base/v1beta2/resource.ts b/__fixtures__/v-next/outputv4/akash/base/v1beta2/resource.ts index e3c7625563..07c58d13d8 100644 --- a/__fixtures__/v-next/outputv4/akash/base/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv4/akash/base/v1beta2/resource.ts @@ -37,7 +37,7 @@ export interface StorageSDKType { } function createBaseCPU(): CPU { return { - units: undefined, + units: ResourceValue.fromPartial({}), attributes: [] }; } @@ -118,7 +118,7 @@ export const CPU = { }; function createBaseMemory(): Memory { return { - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } @@ -200,7 +200,7 @@ export const Memory = { function createBaseStorage(): Storage { return { name: "", - quantity: undefined, + quantity: ResourceValue.fromPartial({}), attributes: [] }; } diff --git a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/cert.ts b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/cert.ts index c48457461b..478c214600 100644 --- a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/cert.ts +++ b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/cert.ts @@ -480,7 +480,7 @@ export const MsgCreateCertificateResponse = { }; function createBaseMsgRevokeCertificate(): MsgRevokeCertificate { return { - id: undefined + id: CertificateID.fromPartial({}) }; } export const MsgRevokeCertificate = { diff --git a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/genesis.ts b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/genesis.ts index 592c51b858..be50baa4cf 100644 --- a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/genesis.ts @@ -23,7 +23,7 @@ export interface GenesisStateSDKType { function createBaseGenesisCertificate(): GenesisCertificate { return { owner: "", - certificate: undefined + certificate: Certificate.fromPartial({}) }; } export const GenesisCertificate = { diff --git a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/query.ts index 7f4c802002..d492a73ed2 100644 --- a/__fixtures__/v-next/outputv4/akash/cert/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/cert/v1beta2/query.ts @@ -35,7 +35,7 @@ export interface QueryCertificatesResponseSDKType { } function createBaseCertificateResponse(): CertificateResponse { return { - certificate: undefined, + certificate: Certificate.fromPartial({}), serial: "" }; } @@ -108,8 +108,8 @@ export const CertificateResponse = { }; function createBaseQueryCertificatesRequest(): QueryCertificatesRequest { return { - filter: undefined, - pagination: undefined + filter: CertificateFilter.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryCertificatesRequest = { @@ -182,7 +182,7 @@ export const QueryCertificatesRequest = { function createBaseQueryCertificatesResponse(): QueryCertificatesResponse { return { certificates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCertificatesResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/deployment.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/deployment.ts index dcfc4c7d22..66f680215e 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/deployment.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/deployment.ts @@ -144,7 +144,7 @@ export interface DeploymentFiltersSDKType { } function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined @@ -294,7 +294,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined }; } @@ -410,7 +410,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array() }; @@ -547,7 +547,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { @@ -723,7 +723,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: BigInt(0) diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/genesis.ts index 86e2702132..01afb59edb 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -108,7 +108,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/group.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/group.ts index cf70cf4e53..b1e43e7547 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/group.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/group.ts @@ -147,7 +147,7 @@ export interface ResourceSDKType { } function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -250,7 +250,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -353,7 +353,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { @@ -543,7 +543,7 @@ export const GroupID = { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } @@ -636,9 +636,9 @@ export const GroupSpec = { }; function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } @@ -735,7 +735,7 @@ export const Group = { }; function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, price: undefined }; diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/query.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/query.ts index b16d95b751..bd58e0d162 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta1/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -138,7 +138,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -218,7 +218,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -278,9 +278,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -372,7 +372,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -432,7 +432,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deployment.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deployment.ts index 5b78511cae..8b803fa97f 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deployment.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deployment.ts @@ -153,7 +153,7 @@ export const DeploymentID = { }; function createBaseDeployment(): Deployment { return { - deploymentId: undefined, + deploymentId: DeploymentID.fromPartial({}), state: 0, version: new Uint8Array(), createdAt: BigInt(0) diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deploymentmsg.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deploymentmsg.ts index c4a47d9342..18db411c29 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deploymentmsg.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/deploymentmsg.ts @@ -70,7 +70,7 @@ export interface MsgCloseDeploymentResponse {} export interface MsgCloseDeploymentResponseSDKType {} function createBaseMsgCreateDeployment(): MsgCreateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), groups: [], version: new Uint8Array(), deposit: undefined, @@ -233,7 +233,7 @@ export const MsgCreateDeploymentResponse = { }; function createBaseMsgDepositDeployment(): MsgDepositDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), amount: undefined, depositor: "" }; @@ -362,7 +362,7 @@ export const MsgDepositDeploymentResponse = { }; function createBaseMsgUpdateDeployment(): MsgUpdateDeployment { return { - id: undefined, + id: DeploymentID.fromPartial({}), version: new Uint8Array() }; } @@ -478,7 +478,7 @@ export const MsgUpdateDeploymentResponse = { }; function createBaseMsgCloseDeployment(): MsgCloseDeployment { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const MsgCloseDeployment = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/genesis.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/genesis.ts index 5a31315fb9..1f5a305524 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/genesis.ts @@ -26,7 +26,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisDeployment(): GenesisDeployment { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [] }; } @@ -108,7 +108,7 @@ export const GenesisDeployment = { function createBaseGenesisState(): GenesisState { return { deployments: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/group.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/group.ts index fc15594cca..69ceec779f 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/group.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/group.ts @@ -74,9 +74,9 @@ export interface GroupSDKType { } function createBaseGroup(): Group { return { - groupId: undefined, + groupId: GroupID.fromPartial({}), state: 0, - groupSpec: undefined, + groupSpec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupmsg.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupmsg.ts index 6058907d38..eb076aa90e 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupmsg.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupmsg.ts @@ -40,7 +40,7 @@ export interface MsgStartGroupResponse {} export interface MsgStartGroupResponseSDKType {} function createBaseMsgCloseGroup(): MsgCloseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgCloseGroup = { @@ -143,7 +143,7 @@ export const MsgCloseGroupResponse = { }; function createBaseMsgPauseGroup(): MsgPauseGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgPauseGroup = { @@ -246,7 +246,7 @@ export const MsgPauseGroupResponse = { }; function createBaseMsgStartGroup(): MsgStartGroup { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const MsgStartGroup = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupspec.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupspec.ts index 5d0af36346..e455661c6c 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupspec.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/groupspec.ts @@ -18,7 +18,7 @@ export interface GroupSpecSDKType { function createBaseGroupSpec(): GroupSpec { return { name: "", - requirements: undefined, + requirements: PlacementRequirements.fromPartial({}), resources: [] }; } diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/query.ts index b477110bb0..10df5bf21c 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/query.ts @@ -64,8 +64,8 @@ export interface QueryGroupResponseSDKType { } function createBaseQueryDeploymentsRequest(): QueryDeploymentsRequest { return { - filters: undefined, - pagination: undefined + filters: DeploymentFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryDeploymentsRequest = { @@ -138,7 +138,7 @@ export const QueryDeploymentsRequest = { function createBaseQueryDeploymentsResponse(): QueryDeploymentsResponse { return { deployments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDeploymentsResponse = { @@ -218,7 +218,7 @@ export const QueryDeploymentsResponse = { }; function createBaseQueryDeploymentRequest(): QueryDeploymentRequest { return { - id: undefined + id: DeploymentID.fromPartial({}) }; } export const QueryDeploymentRequest = { @@ -278,9 +278,9 @@ export const QueryDeploymentRequest = { }; function createBaseQueryDeploymentResponse(): QueryDeploymentResponse { return { - deployment: undefined, + deployment: Deployment.fromPartial({}), groups: [], - escrowAccount: undefined + escrowAccount: Account.fromPartial({}) }; } export const QueryDeploymentResponse = { @@ -372,7 +372,7 @@ export const QueryDeploymentResponse = { }; function createBaseQueryGroupRequest(): QueryGroupRequest { return { - id: undefined + id: GroupID.fromPartial({}) }; } export const QueryGroupRequest = { @@ -432,7 +432,7 @@ export const QueryGroupRequest = { }; function createBaseQueryGroupResponse(): QueryGroupResponse { return { - group: undefined + group: Group.fromPartial({}) }; } export const QueryGroupResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/resource.ts b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/resource.ts index 5d5bf64ee8..d91aa8e167 100644 --- a/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/resource.ts +++ b/__fixtures__/v-next/outputv4/akash/deployment/v1beta2/resource.ts @@ -17,9 +17,9 @@ export interface ResourceSDKType { } function createBaseResource(): Resource { return { - resources: undefined, + resources: ResourceUnits.fromPartial({}), count: 0, - price: undefined + price: DecCoin.fromPartial({}) }; } export const Resource = { diff --git a/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/query.ts b/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/query.ts index 0489b6d27a..eb6f8c502b 100644 --- a/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -172,7 +172,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -257,7 +257,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -378,7 +378,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/types.ts b/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/types.ts index 6c9979e69f..9c8d1eda49 100644 --- a/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/types.ts +++ b/__fixtures__/v-next/outputv4/akash/escrow/v1beta1/types.ts @@ -227,7 +227,7 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, balance: undefined, @@ -352,7 +352,7 @@ export const Account = { }; function createBasePayment(): Payment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, diff --git a/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/query.ts index 6bc1f4d513..4b45bd3cee 100644 --- a/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/query.ts @@ -63,7 +63,7 @@ function createBaseQueryAccountsRequest(): QueryAccountsRequest { xid: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -172,7 +172,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -257,7 +257,7 @@ function createBaseQueryPaymentsRequest(): QueryPaymentsRequest { id: "", owner: "", state: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPaymentsRequest = { @@ -378,7 +378,7 @@ export const QueryPaymentsRequest = { function createBaseQueryPaymentsResponse(): QueryPaymentsResponse { return { payments: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPaymentsResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/types.ts b/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/types.ts index 25a7be9005..d61ee4ef79 100644 --- a/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/types.ts +++ b/__fixtures__/v-next/outputv4/akash/escrow/v1beta2/types.ts @@ -240,14 +240,14 @@ export const AccountID = { }; function createBaseAccount(): Account { return { - id: undefined, + id: AccountID.fromPartial({}), owner: "", state: 0, - balance: undefined, - transferred: undefined, + balance: DecCoin.fromPartial({}), + transferred: DecCoin.fromPartial({}), settledAt: BigInt(0), depositor: "", - funds: undefined + funds: DecCoin.fromPartial({}) }; } export const Account = { @@ -391,12 +391,12 @@ export const Account = { }; function createBaseFractionalPayment(): FractionalPayment { return { - accountId: undefined, + accountId: AccountID.fromPartial({}), paymentId: "", owner: "", state: 0, - rate: undefined, - balance: undefined, + rate: DecCoin.fromPartial({}), + balance: DecCoin.fromPartial({}), withdrawn: undefined }; } diff --git a/__fixtures__/v-next/outputv4/akash/inflation/v1beta2/genesis.ts b/__fixtures__/v-next/outputv4/akash/inflation/v1beta2/genesis.ts index b38a913833..a2f57acf6f 100644 --- a/__fixtures__/v-next/outputv4/akash/inflation/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv4/akash/inflation/v1beta2/genesis.ts @@ -12,7 +12,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/akash/market/v1beta2/bid.ts b/__fixtures__/v-next/outputv4/akash/market/v1beta2/bid.ts index 8b3414f109..b7a85d5b5a 100644 --- a/__fixtures__/v-next/outputv4/akash/market/v1beta2/bid.ts +++ b/__fixtures__/v-next/outputv4/akash/market/v1beta2/bid.ts @@ -144,9 +144,9 @@ export interface BidFiltersSDKType { } function createBaseMsgCreateBid(): MsgCreateBid { return { - order: undefined, + order: OrderID.fromPartial({}), provider: "", - price: undefined, + price: DecCoin.fromPartial({}), deposit: undefined }; } @@ -286,7 +286,7 @@ export const MsgCreateBidResponse = { }; function createBaseMsgCloseBid(): MsgCloseBid { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCloseBid = { @@ -501,9 +501,9 @@ export const BidID = { }; function createBaseBid(): Bid { return { - bidId: undefined, + bidId: BidID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/akash/market/v1beta2/genesis.ts b/__fixtures__/v-next/outputv4/akash/market/v1beta2/genesis.ts index 4f7e9a2de1..639ddd6e9e 100644 --- a/__fixtures__/v-next/outputv4/akash/market/v1beta2/genesis.ts +++ b/__fixtures__/v-next/outputv4/akash/market/v1beta2/genesis.ts @@ -20,7 +20,7 @@ function createBaseGenesisState(): GenesisState { return { orders: [], leases: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/akash/market/v1beta2/lease.ts b/__fixtures__/v-next/outputv4/akash/market/v1beta2/lease.ts index 0d8a7a9ec4..a172482379 100644 --- a/__fixtures__/v-next/outputv4/akash/market/v1beta2/lease.ts +++ b/__fixtures__/v-next/outputv4/akash/market/v1beta2/lease.ts @@ -251,9 +251,9 @@ export const LeaseID = { }; function createBaseLease(): Lease { return { - leaseId: undefined, + leaseId: LeaseID.fromPartial({}), state: 0, - price: undefined, + price: DecCoin.fromPartial({}), createdAt: BigInt(0), closedOn: BigInt(0) }; @@ -488,7 +488,7 @@ export const LeaseFilters = { }; function createBaseMsgCreateLease(): MsgCreateLease { return { - bidId: undefined + bidId: BidID.fromPartial({}) }; } export const MsgCreateLease = { @@ -591,7 +591,7 @@ export const MsgCreateLeaseResponse = { }; function createBaseMsgWithdrawLease(): MsgWithdrawLease { return { - bidId: undefined + bidId: LeaseID.fromPartial({}) }; } export const MsgWithdrawLease = { @@ -694,7 +694,7 @@ export const MsgWithdrawLeaseResponse = { }; function createBaseMsgCloseLease(): MsgCloseLease { return { - leaseId: undefined + leaseId: LeaseID.fromPartial({}) }; } export const MsgCloseLease = { diff --git a/__fixtures__/v-next/outputv4/akash/market/v1beta2/order.ts b/__fixtures__/v-next/outputv4/akash/market/v1beta2/order.ts index df5221b967..84be24faf4 100644 --- a/__fixtures__/v-next/outputv4/akash/market/v1beta2/order.ts +++ b/__fixtures__/v-next/outputv4/akash/market/v1beta2/order.ts @@ -195,9 +195,9 @@ export const OrderID = { }; function createBaseOrder(): Order { return { - orderId: undefined, + orderId: OrderID.fromPartial({}), state: 0, - spec: undefined, + spec: GroupSpec.fromPartial({}), createdAt: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/akash/market/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/market/v1beta2/query.ts index 985d8faddb..b043c1b729 100644 --- a/__fixtures__/v-next/outputv4/akash/market/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/market/v1beta2/query.ts @@ -120,8 +120,8 @@ export interface QueryLeaseResponseSDKType { } function createBaseQueryOrdersRequest(): QueryOrdersRequest { return { - filters: undefined, - pagination: undefined + filters: OrderFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryOrdersRequest = { @@ -194,7 +194,7 @@ export const QueryOrdersRequest = { function createBaseQueryOrdersResponse(): QueryOrdersResponse { return { orders: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryOrdersResponse = { @@ -274,7 +274,7 @@ export const QueryOrdersResponse = { }; function createBaseQueryOrderRequest(): QueryOrderRequest { return { - id: undefined + id: OrderID.fromPartial({}) }; } export const QueryOrderRequest = { @@ -334,7 +334,7 @@ export const QueryOrderRequest = { }; function createBaseQueryOrderResponse(): QueryOrderResponse { return { - order: undefined + order: Order.fromPartial({}) }; } export const QueryOrderResponse = { @@ -394,8 +394,8 @@ export const QueryOrderResponse = { }; function createBaseQueryBidsRequest(): QueryBidsRequest { return { - filters: undefined, - pagination: undefined + filters: BidFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryBidsRequest = { @@ -468,7 +468,7 @@ export const QueryBidsRequest = { function createBaseQueryBidsResponse(): QueryBidsResponse { return { bids: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryBidsResponse = { @@ -548,7 +548,7 @@ export const QueryBidsResponse = { }; function createBaseQueryBidRequest(): QueryBidRequest { return { - id: undefined + id: BidID.fromPartial({}) }; } export const QueryBidRequest = { @@ -608,8 +608,8 @@ export const QueryBidRequest = { }; function createBaseQueryBidResponse(): QueryBidResponse { return { - bid: undefined, - escrowAccount: undefined + bid: Bid.fromPartial({}), + escrowAccount: Account.fromPartial({}) }; } export const QueryBidResponse = { @@ -681,8 +681,8 @@ export const QueryBidResponse = { }; function createBaseQueryLeasesRequest(): QueryLeasesRequest { return { - filters: undefined, - pagination: undefined + filters: LeaseFilters.fromPartial({}), + pagination: PageRequest.fromPartial({}) }; } export const QueryLeasesRequest = { @@ -755,7 +755,7 @@ export const QueryLeasesRequest = { function createBaseQueryLeasesResponse(): QueryLeasesResponse { return { leases: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryLeasesResponse = { @@ -835,7 +835,7 @@ export const QueryLeasesResponse = { }; function createBaseQueryLeaseRequest(): QueryLeaseRequest { return { - id: undefined + id: LeaseID.fromPartial({}) }; } export const QueryLeaseRequest = { @@ -895,8 +895,8 @@ export const QueryLeaseRequest = { }; function createBaseQueryLeaseResponse(): QueryLeaseResponse { return { - lease: undefined, - escrowPayment: undefined + lease: Lease.fromPartial({}), + escrowPayment: FractionalPayment.fromPartial({}) }; } export const QueryLeaseResponse = { diff --git a/__fixtures__/v-next/outputv4/akash/provider/v1beta1/provider.ts b/__fixtures__/v-next/outputv4/akash/provider/v1beta1/provider.ts index fed72eef88..28f717b87f 100644 --- a/__fixtures__/v-next/outputv4/akash/provider/v1beta1/provider.ts +++ b/__fixtures__/v-next/outputv4/akash/provider/v1beta1/provider.ts @@ -152,7 +152,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -302,7 +302,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -555,7 +555,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv4/akash/provider/v1beta2/provider.ts b/__fixtures__/v-next/outputv4/akash/provider/v1beta2/provider.ts index 43c2b854f3..80f38db38d 100644 --- a/__fixtures__/v-next/outputv4/akash/provider/v1beta2/provider.ts +++ b/__fixtures__/v-next/outputv4/akash/provider/v1beta2/provider.ts @@ -152,7 +152,7 @@ function createBaseMsgCreateProvider(): MsgCreateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgCreateProvider = { @@ -302,7 +302,7 @@ function createBaseMsgUpdateProvider(): MsgUpdateProvider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const MsgUpdateProvider = { @@ -555,7 +555,7 @@ function createBaseProvider(): Provider { owner: "", hostUri: "", attributes: [], - info: undefined + info: ProviderInfo.fromPartial({}) }; } export const Provider = { diff --git a/__fixtures__/v-next/outputv4/akash/provider/v1beta2/query.ts b/__fixtures__/v-next/outputv4/akash/provider/v1beta2/query.ts index f2c3997683..a4c3daf121 100644 --- a/__fixtures__/v-next/outputv4/akash/provider/v1beta2/query.ts +++ b/__fixtures__/v-next/outputv4/akash/provider/v1beta2/query.ts @@ -39,7 +39,7 @@ export interface QueryProviderResponseSDKType { } function createBaseQueryProvidersRequest(): QueryProvidersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProvidersRequest = { @@ -100,7 +100,7 @@ export const QueryProvidersRequest = { function createBaseQueryProvidersResponse(): QueryProvidersResponse { return { providers: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProvidersResponse = { @@ -240,7 +240,7 @@ export const QueryProviderRequest = { }; function createBaseQueryProviderResponse(): QueryProviderResponse { return { - provider: undefined + provider: Provider.fromPartial({}) }; } export const QueryProviderResponse = { diff --git a/__fixtures__/v-next/outputv4/confio/proofs.ts b/__fixtures__/v-next/outputv4/confio/proofs.ts index c0442ace39..3963319dae 100644 --- a/__fixtures__/v-next/outputv4/confio/proofs.ts +++ b/__fixtures__/v-next/outputv4/confio/proofs.ts @@ -478,7 +478,7 @@ function createBaseExistenceProof(): ExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -584,8 +584,8 @@ export const ExistenceProof = { function createBaseNonExistenceProof(): NonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: ExistenceProof.fromPartial({}), + right: ExistenceProof.fromPartial({}) }; } export const NonExistenceProof = { @@ -966,8 +966,8 @@ export const InnerOp = { }; function createBaseProofSpec(): ProofSpec { return { - leafSpec: undefined, - innerSpec: undefined, + leafSpec: LeafOp.fromPartial({}), + innerSpec: InnerSpec.fromPartial({}), maxDepth: 0, minDepth: 0 }; @@ -1512,7 +1512,7 @@ function createBaseCompressedExistenceProof(): CompressedExistenceProof { return { key: new Uint8Array(), value: new Uint8Array(), - leaf: undefined, + leaf: LeafOp.fromPartial({}), path: [] }; } @@ -1627,8 +1627,8 @@ export const CompressedExistenceProof = { function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { return { key: new Uint8Array(), - left: undefined, - right: undefined + left: CompressedExistenceProof.fromPartial({}), + right: CompressedExistenceProof.fromPartial({}) }; } export const CompressedNonExistenceProof = { diff --git a/__fixtures__/v-next/outputv4/cosmos/app/v1alpha1/query.ts b/__fixtures__/v-next/outputv4/cosmos/app/v1alpha1/query.ts index 52f10f14e7..688589a530 100644 --- a/__fixtures__/v-next/outputv4/cosmos/app/v1alpha1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/app/v1alpha1/query.ts @@ -60,7 +60,7 @@ export const QueryConfigRequest = { }; function createBaseQueryConfigResponse(): QueryConfigResponse { return { - config: undefined + config: Config.fromPartial({}) }; } export const QueryConfigResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/auth.ts b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/auth.ts index 359ccba509..98558614c3 100644 --- a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/auth.ts +++ b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/auth.ts @@ -153,7 +153,7 @@ export const BaseAccount = { }; function createBaseModuleAccount(): ModuleAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), name: "", permissions: [] }; diff --git a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/genesis.ts index b32b46607e..805eb4d138 100644 --- a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/genesis.ts @@ -17,7 +17,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), accounts: [] }; } diff --git a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/query.ts index 26e680dff3..a901d8550c 100644 --- a/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/auth/v1beta1/query.ts @@ -130,7 +130,7 @@ export interface AddressStringToBytesResponseSDKType { } function createBaseQueryAccountsRequest(): QueryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAccountsRequest = { @@ -191,7 +191,7 @@ export const QueryAccountsRequest = { function createBaseQueryAccountsResponse(): QueryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAccountsResponse = { @@ -374,7 +374,7 @@ export const QueryModuleAccountsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/query.ts index 5286a44b8e..ad12174462 100644 --- a/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/query.ts @@ -82,7 +82,7 @@ function createBaseQueryGrantsRequest(): QueryGrantsRequest { granter: "", grantee: "", msgTypeUrl: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGrantsRequest = { @@ -179,7 +179,7 @@ export const QueryGrantsRequest = { function createBaseQueryGrantsResponse(): QueryGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGrantsResponse = { @@ -260,7 +260,7 @@ export const QueryGrantsResponse = { function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranterGrantsRequest = { @@ -333,7 +333,7 @@ export const QueryGranterGrantsRequest = { function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranterGrantsResponse = { @@ -414,7 +414,7 @@ export const QueryGranterGrantsResponse = { function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGranteeGrantsRequest = { @@ -487,7 +487,7 @@ export const QueryGranteeGrantsRequest = { function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { return { grants: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGranteeGrantsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/tx.ts b/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/tx.ts index 28047f2b3a..e4ad89cfd4 100644 --- a/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv4/cosmos/authz/v1beta1/tx.ts @@ -82,7 +82,7 @@ function createBaseMsgGrant(): MsgGrant { return { granter: "", grantee: "", - grant: undefined + grant: Grant.fromPartial({}) }; } export const MsgGrant = { diff --git a/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/genesis.ts index d43b2a8fdb..1da9febab6 100644 --- a/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/genesis.ts @@ -44,7 +44,7 @@ export interface BalanceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), balances: [], supply: [], denomMetadata: [] diff --git a/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/query.ts index 49899e5bd6..484f897b9a 100644 --- a/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/bank/v1beta1/query.ts @@ -400,7 +400,7 @@ export const QueryBalanceResponse = { function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllBalancesRequest = { @@ -473,7 +473,7 @@ export const QueryAllBalancesRequest = { function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllBalancesResponse = { @@ -554,7 +554,7 @@ export const QueryAllBalancesResponse = { function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySpendableBalancesRequest = { @@ -627,7 +627,7 @@ export const QuerySpendableBalancesRequest = { function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { return { balances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySpendableBalancesResponse = { @@ -707,7 +707,7 @@ export const QuerySpendableBalancesResponse = { }; function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTotalSupplyRequest = { @@ -768,7 +768,7 @@ export const QueryTotalSupplyRequest = { function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { return { supply: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTotalSupplyResponse = { @@ -1011,7 +1011,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -1071,7 +1071,7 @@ export const QueryParamsResponse = { }; function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomsMetadataRequest = { @@ -1132,7 +1132,7 @@ export const QueryDenomsMetadataRequest = { function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { return { metadatas: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomsMetadataResponse = { @@ -1272,7 +1272,7 @@ export const QueryDenomMetadataRequest = { }; function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { return { - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const QueryDenomMetadataResponse = { @@ -1333,7 +1333,7 @@ export const QueryDenomMetadataResponse = { function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomOwnersRequest = { @@ -1479,7 +1479,7 @@ export const DenomOwner = { function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { return { denomOwners: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomOwnersResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/base/abci/v1beta1/abci.ts b/__fixtures__/v-next/outputv4/cosmos/base/abci/v1beta1/abci.ts index d2a2fab703..9f63c6b927 100644 --- a/__fixtures__/v-next/outputv4/cosmos/base/abci/v1beta1/abci.ts +++ b/__fixtures__/v-next/outputv4/cosmos/base/abci/v1beta1/abci.ts @@ -912,8 +912,8 @@ export const Result = { }; function createBaseSimulationResponse(): SimulationResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulationResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/base/reflection/v2alpha1/reflection.ts b/__fixtures__/v-next/outputv4/cosmos/base/reflection/v2alpha1/reflection.ts index e3d729b727..7b20d14289 100644 --- a/__fixtures__/v-next/outputv4/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/__fixtures__/v-next/outputv4/cosmos/base/reflection/v2alpha1/reflection.ts @@ -310,12 +310,12 @@ export interface QueryMethodDescriptorSDKType { } function createBaseAppDescriptor(): AppDescriptor { return { - authn: undefined, - chain: undefined, - codec: undefined, - configuration: undefined, - queryServices: undefined, - tx: undefined + authn: AuthnDescriptor.fromPartial({}), + chain: ChainDescriptor.fromPartial({}), + codec: CodecDescriptor.fromPartial({}), + configuration: ConfigurationDescriptor.fromPartial({}), + queryServices: QueryServicesDescriptor.fromPartial({}), + tx: TxDescriptor.fromPartial({}) }; } export const AppDescriptor = { @@ -1217,7 +1217,7 @@ export const GetAuthnDescriptorRequest = { }; function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { return { - authn: undefined + authn: AuthnDescriptor.fromPartial({}) }; } export const GetAuthnDescriptorResponse = { @@ -1320,7 +1320,7 @@ export const GetChainDescriptorRequest = { }; function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { return { - chain: undefined + chain: ChainDescriptor.fromPartial({}) }; } export const GetChainDescriptorResponse = { @@ -1423,7 +1423,7 @@ export const GetCodecDescriptorRequest = { }; function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { return { - codec: undefined + codec: CodecDescriptor.fromPartial({}) }; } export const GetCodecDescriptorResponse = { @@ -1526,7 +1526,7 @@ export const GetConfigurationDescriptorRequest = { }; function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { return { - config: undefined + config: ConfigurationDescriptor.fromPartial({}) }; } export const GetConfigurationDescriptorResponse = { @@ -1629,7 +1629,7 @@ export const GetQueryServicesDescriptorRequest = { }; function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { return { - queries: undefined + queries: QueryServicesDescriptor.fromPartial({}) }; } export const GetQueryServicesDescriptorResponse = { @@ -1732,7 +1732,7 @@ export const GetTxDescriptorRequest = { }; function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { return { - tx: undefined + tx: TxDescriptor.fromPartial({}) }; } export const GetTxDescriptorResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/base/snapshots/v1beta1/snapshot.ts b/__fixtures__/v-next/outputv4/cosmos/base/snapshots/v1beta1/snapshot.ts index 1b75804601..1ca438dc9a 100644 --- a/__fixtures__/v-next/outputv4/cosmos/base/snapshots/v1beta1/snapshot.ts +++ b/__fixtures__/v-next/outputv4/cosmos/base/snapshots/v1beta1/snapshot.ts @@ -110,7 +110,7 @@ function createBaseSnapshot(): Snapshot { format: 0, chunks: 0, hash: new Uint8Array(), - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const Snapshot = { diff --git a/__fixtures__/v-next/outputv4/cosmos/base/store/v1beta1/commit_info.ts b/__fixtures__/v-next/outputv4/cosmos/base/store/v1beta1/commit_info.ts index aba93df22e..69aec85f14 100644 --- a/__fixtures__/v-next/outputv4/cosmos/base/store/v1beta1/commit_info.ts +++ b/__fixtures__/v-next/outputv4/cosmos/base/store/v1beta1/commit_info.ts @@ -133,7 +133,7 @@ export const CommitInfo = { function createBaseStoreInfo(): StoreInfo { return { name: "", - commitId: undefined + commitId: CommitID.fromPartial({}) }; } export const StoreInfo = { diff --git a/__fixtures__/v-next/outputv4/cosmos/base/tendermint/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/base/tendermint/v1beta1/query.ts index 27dcf45c02..fdc3c548f1 100644 --- a/__fixtures__/v-next/outputv4/cosmos/base/tendermint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/base/tendermint/v1beta1/query.ts @@ -165,7 +165,7 @@ export interface ModuleSDKType { function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { return { height: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetValidatorSetByHeightRequest = { @@ -239,7 +239,7 @@ function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightRes return { blockHeight: BigInt(0), validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetValidatorSetByHeightResponse = { @@ -331,7 +331,7 @@ export const GetValidatorSetByHeightResponse = { }; function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetLatestValidatorSetRequest = { @@ -393,7 +393,7 @@ function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetRespons return { blockHeight: BigInt(0), validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetLatestValidatorSetResponse = { @@ -644,8 +644,8 @@ export const GetBlockByHeightRequest = { }; function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetBlockByHeightResponse = { @@ -760,8 +760,8 @@ export const GetLatestBlockRequest = { }; function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { return { - blockId: undefined, - block: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}) }; } export const GetLatestBlockResponse = { @@ -979,8 +979,8 @@ export const GetNodeInfoRequest = { }; function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { return { - nodeInfo: undefined, - applicationVersion: undefined + nodeInfo: NodeInfo.fromPartial({}), + applicationVersion: VersionInfo.fromPartial({}) }; } export const GetNodeInfoResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/capability/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/capability/v1beta1/genesis.ts index 5c28063bd1..86cef39b5a 100644 --- a/__fixtures__/v-next/outputv4/cosmos/capability/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/capability/v1beta1/genesis.ts @@ -32,7 +32,7 @@ export interface GenesisStateSDKType { function createBaseGenesisOwners(): GenesisOwners { return { index: BigInt(0), - indexOwners: undefined + indexOwners: CapabilityOwners.fromPartial({}) }; } export const GenesisOwners = { diff --git a/__fixtures__/v-next/outputv4/cosmos/crypto/keyring/v1/record.ts b/__fixtures__/v-next/outputv4/cosmos/crypto/keyring/v1/record.ts index b609c4f2b8..4cea8b2d24 100644 --- a/__fixtures__/v-next/outputv4/cosmos/crypto/keyring/v1/record.ts +++ b/__fixtures__/v-next/outputv4/cosmos/crypto/keyring/v1/record.ts @@ -259,7 +259,7 @@ export const Record_Local = { }; function createBaseRecord_Ledger(): Record_Ledger { return { - path: undefined + path: BIP44Params.fromPartial({}) }; } export const Record_Ledger = { diff --git a/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/genesis.ts index 2782d24994..6cd7b42ca9 100644 --- a/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/genesis.ts @@ -312,7 +312,7 @@ export const ValidatorOutstandingRewardsRecord = { function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { return { validatorAddress: "", - accumulated: undefined + accumulated: ValidatorAccumulatedCommission.fromPartial({}) }; } export const ValidatorAccumulatedCommissionRecord = { @@ -386,7 +386,7 @@ function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalReward return { validatorAddress: "", period: BigInt(0), - rewards: undefined + rewards: ValidatorHistoricalRewards.fromPartial({}) }; } export const ValidatorHistoricalRewardsRecord = { @@ -471,7 +471,7 @@ export const ValidatorHistoricalRewardsRecord = { function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { return { validatorAddress: "", - rewards: undefined + rewards: ValidatorCurrentRewards.fromPartial({}) }; } export const ValidatorCurrentRewardsRecord = { @@ -545,7 +545,7 @@ function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { return { delegatorAddress: "", validatorAddress: "", - startingInfo: undefined + startingInfo: DelegatorStartingInfo.fromPartial({}) }; } export const DelegatorStartingInfoRecord = { @@ -632,7 +632,7 @@ function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { validatorAddress: "", height: BigInt(0), period: BigInt(0), - validatorSlashEvent: undefined + validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) }; } export const ValidatorSlashEventRecord = { @@ -728,8 +728,8 @@ export const ValidatorSlashEventRecord = { }; function createBaseGenesisState(): GenesisState { return { - params: undefined, - feePool: undefined, + params: Params.fromPartial({}), + feePool: FeePool.fromPartial({}), delegatorWithdrawInfos: [], previousProposer: "", outstandingRewards: [], diff --git a/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/query.ts index c3159bfef8..9581bca58d 100644 --- a/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/distribution/v1beta1/query.ts @@ -314,7 +314,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -434,7 +434,7 @@ export const QueryValidatorOutstandingRewardsRequest = { }; function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { return { - rewards: undefined + rewards: ValidatorOutstandingRewards.fromPartial({}) }; } export const QueryValidatorOutstandingRewardsResponse = { @@ -554,7 +554,7 @@ export const QueryValidatorCommissionRequest = { }; function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { return { - commission: undefined + commission: ValidatorAccumulatedCommission.fromPartial({}) }; } export const QueryValidatorCommissionResponse = { @@ -617,7 +617,7 @@ function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest validatorAddress: "", startingHeight: BigInt(0), endingHeight: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorSlashesRequest = { @@ -714,7 +714,7 @@ export const QueryValidatorSlashesRequest = { function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { return { slashes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorSlashesResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/evidence/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/evidence/v1beta1/query.ts index 4a37511568..64620d51cd 100644 --- a/__fixtures__/v-next/outputv4/cosmos/evidence/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/evidence/v1beta1/query.ts @@ -176,7 +176,7 @@ export const QueryEvidenceResponse = { }; function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllEvidenceRequest = { @@ -237,7 +237,7 @@ export const QueryAllEvidenceRequest = { function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { return { evidence: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllEvidenceResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/feegrant.ts b/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/feegrant.ts index 52ba1a79f9..8cef686940 100644 --- a/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/feegrant.ts +++ b/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/feegrant.ts @@ -174,7 +174,7 @@ export const BasicAllowance = { }; function createBasePeriodicAllowance(): PeriodicAllowance { return { - basic: undefined, + basic: BasicAllowance.fromPartial({}), period: undefined, periodSpendLimit: [], periodCanSpend: [], diff --git a/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/query.ts index f6135a9f30..dd04d850b2 100644 --- a/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/feegrant/v1beta1/query.ts @@ -145,7 +145,7 @@ export const QueryAllowanceRequest = { }; function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { return { - allowance: undefined + allowance: Grant.fromPartial({}) }; } export const QueryAllowanceResponse = { @@ -206,7 +206,7 @@ export const QueryAllowanceResponse = { function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { return { grantee: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesRequest = { @@ -279,7 +279,7 @@ export const QueryAllowancesRequest = { function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesResponse = { @@ -360,7 +360,7 @@ export const QueryAllowancesResponse = { function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { return { granter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllowancesByGranterRequest = { @@ -433,7 +433,7 @@ export const QueryAllowancesByGranterRequest = { function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { return { allowances: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllowancesByGranterResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1/genesis.ts index def80aa8e2..5a8889fc67 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1/gov.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1/gov.ts index cca46b743b..b3f6175c43 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1/gov.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1/gov.ts @@ -449,7 +449,7 @@ function createBaseProposal(): Proposal { id: BigInt(0), messages: [], status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1/query.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1/query.ts index eb19d7a437..9b39caef35 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1/query.ts @@ -251,7 +251,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -314,7 +314,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -411,7 +411,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -564,7 +564,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -625,7 +625,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -698,7 +698,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -838,9 +838,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -997,7 +997,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1058,7 +1058,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1131,7 +1131,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1271,7 +1271,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/genesis.ts index cd6c7631ff..5e3160476f 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/genesis.ts @@ -35,9 +35,9 @@ function createBaseGenesisState(): GenesisState { deposits: [], votes: [], proposals: [], - depositParams: undefined, - votingParams: undefined, - tallyParams: undefined + depositParams: DepositParams.fromPartial({}), + votingParams: VotingParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/gov.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/gov.ts index edf70ef926..6a78917039 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/gov.ts @@ -551,7 +551,7 @@ function createBaseProposal(): Proposal { proposalId: BigInt(0), content: undefined, status: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), submitTime: undefined, depositEndTime: undefined, totalDeposit: [], diff --git a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/query.ts index 5ca443ca91..037b103884 100644 --- a/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/gov/v1beta1/query.ts @@ -251,7 +251,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -314,7 +314,7 @@ function createBaseQueryProposalsRequest(): QueryProposalsRequest { proposalStatus: 0, voter: "", depositor: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsRequest = { @@ -411,7 +411,7 @@ export const QueryProposalsRequest = { function createBaseQueryProposalsResponse(): QueryProposalsResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsResponse = { @@ -564,7 +564,7 @@ export const QueryVoteRequest = { }; function createBaseQueryVoteResponse(): QueryVoteResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteResponse = { @@ -625,7 +625,7 @@ export const QueryVoteResponse = { function createBaseQueryVotesRequest(): QueryVotesRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesRequest = { @@ -698,7 +698,7 @@ export const QueryVotesRequest = { function createBaseQueryVotesResponse(): QueryVotesResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesResponse = { @@ -838,9 +838,9 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - votingParams: undefined, - depositParams: undefined, - tallyParams: undefined + votingParams: VotingParams.fromPartial({}), + depositParams: DepositParams.fromPartial({}), + tallyParams: TallyParams.fromPartial({}) }; } export const QueryParamsResponse = { @@ -997,7 +997,7 @@ export const QueryDepositRequest = { }; function createBaseQueryDepositResponse(): QueryDepositResponse { return { - deposit: undefined + deposit: Deposit.fromPartial({}) }; } export const QueryDepositResponse = { @@ -1058,7 +1058,7 @@ export const QueryDepositResponse = { function createBaseQueryDepositsRequest(): QueryDepositsRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDepositsRequest = { @@ -1131,7 +1131,7 @@ export const QueryDepositsRequest = { function createBaseQueryDepositsResponse(): QueryDepositsResponse { return { deposits: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDepositsResponse = { @@ -1271,7 +1271,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/group/v1/query.ts b/__fixtures__/v-next/outputv4/cosmos/group/v1/query.ts index 71ca9ec5ce..f73b0f582e 100644 --- a/__fixtures__/v-next/outputv4/cosmos/group/v1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/group/v1/query.ts @@ -350,7 +350,7 @@ export const QueryGroupInfoRequest = { }; function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { return { - info: undefined + info: GroupInfo.fromPartial({}) }; } export const QueryGroupInfoResponse = { @@ -470,7 +470,7 @@ export const QueryGroupPolicyInfoRequest = { }; function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { return { - info: undefined + info: GroupPolicyInfo.fromPartial({}) }; } export const QueryGroupPolicyInfoResponse = { @@ -531,7 +531,7 @@ export const QueryGroupPolicyInfoResponse = { function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { return { groupId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupMembersRequest = { @@ -604,7 +604,7 @@ export const QueryGroupMembersRequest = { function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { return { members: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupMembersResponse = { @@ -685,7 +685,7 @@ export const QueryGroupMembersResponse = { function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByAdminRequest = { @@ -758,7 +758,7 @@ export const QueryGroupsByAdminRequest = { function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByAdminResponse = { @@ -839,7 +839,7 @@ export const QueryGroupsByAdminResponse = { function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { return { groupId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByGroupRequest = { @@ -912,7 +912,7 @@ export const QueryGroupPoliciesByGroupRequest = { function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByGroupResponse = { @@ -993,7 +993,7 @@ export const QueryGroupPoliciesByGroupResponse = { function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { return { admin: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupPoliciesByAdminRequest = { @@ -1066,7 +1066,7 @@ export const QueryGroupPoliciesByAdminRequest = { function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { return { groupPolicies: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupPoliciesByAdminResponse = { @@ -1206,7 +1206,7 @@ export const QueryProposalRequest = { }; function createBaseQueryProposalResponse(): QueryProposalResponse { return { - proposal: undefined + proposal: Proposal.fromPartial({}) }; } export const QueryProposalResponse = { @@ -1267,7 +1267,7 @@ export const QueryProposalResponse = { function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryProposalsByGroupPolicyRequest = { @@ -1340,7 +1340,7 @@ export const QueryProposalsByGroupPolicyRequest = { function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { return { proposals: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryProposalsByGroupPolicyResponse = { @@ -1493,7 +1493,7 @@ export const QueryVoteByProposalVoterRequest = { }; function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { return { - vote: undefined + vote: Vote.fromPartial({}) }; } export const QueryVoteByProposalVoterResponse = { @@ -1554,7 +1554,7 @@ export const QueryVoteByProposalVoterResponse = { function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { return { proposalId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByProposalRequest = { @@ -1627,7 +1627,7 @@ export const QueryVotesByProposalRequest = { function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByProposalResponse = { @@ -1708,7 +1708,7 @@ export const QueryVotesByProposalResponse = { function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { return { voter: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryVotesByVoterRequest = { @@ -1781,7 +1781,7 @@ export const QueryVotesByVoterRequest = { function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { return { votes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryVotesByVoterResponse = { @@ -1862,7 +1862,7 @@ export const QueryVotesByVoterResponse = { function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGroupsByMemberRequest = { @@ -1935,7 +1935,7 @@ export const QueryGroupsByMemberRequest = { function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { return { groups: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGroupsByMemberResponse = { @@ -2075,7 +2075,7 @@ export const QueryTallyResultRequest = { }; function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { return { - tally: undefined + tally: TallyResult.fromPartial({}) }; } export const QueryTallyResultResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/group/v1/types.ts b/__fixtures__/v-next/outputv4/cosmos/group/v1/types.ts index 4ae66df211..271c37086b 100644 --- a/__fixtures__/v-next/outputv4/cosmos/group/v1/types.ts +++ b/__fixtures__/v-next/outputv4/cosmos/group/v1/types.ts @@ -652,7 +652,7 @@ export const Members = { function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { return { threshold: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const ThresholdDecisionPolicy = { @@ -725,7 +725,7 @@ export const ThresholdDecisionPolicy = { function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { return { percentage: "", - windows: undefined + windows: DecisionPolicyWindows.fromPartial({}) }; } export const PercentageDecisionPolicy = { @@ -996,7 +996,7 @@ export const GroupInfo = { function createBaseGroupMember(): GroupMember { return { groupId: BigInt(0), - member: undefined + member: Member.fromPartial({}) }; } export const GroupMember = { @@ -1215,7 +1215,7 @@ function createBaseProposal(): Proposal { groupPolicyVersion: BigInt(0), status: 0, result: 0, - finalTallyResult: undefined, + finalTallyResult: TallyResult.fromPartial({}), votingPeriodEnd: undefined, executorResult: 0, messages: [] diff --git a/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/genesis.ts index f2196fc115..85d8a5d696 100644 --- a/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/genesis.ts @@ -16,8 +16,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined + minter: Minter.fromPartial({}), + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/query.ts index 98eb38f4a2..8f0474b015 100644 --- a/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/mint/v1beta1/query.ts @@ -104,7 +104,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/nft/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/nft/v1beta1/query.ts index e8f0497343..655c875073 100644 --- a/__fixtures__/v-next/outputv4/cosmos/nft/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/nft/v1beta1/query.ts @@ -520,7 +520,7 @@ function createBaseQueryNFTsRequest(): QueryNFTsRequest { return { classId: "", owner: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryNFTsRequest = { @@ -605,7 +605,7 @@ export const QueryNFTsRequest = { function createBaseQueryNFTsResponse(): QueryNFTsResponse { return { nfts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryNFTsResponse = { @@ -758,7 +758,7 @@ export const QueryNFTRequest = { }; function createBaseQueryNFTResponse(): QueryNFTResponse { return { - nft: undefined + nft: NFT.fromPartial({}) }; } export const QueryNFTResponse = { @@ -878,7 +878,7 @@ export const QueryClassRequest = { }; function createBaseQueryClassResponse(): QueryClassResponse { return { - class: undefined + class: Class.fromPartial({}) }; } export const QueryClassResponse = { @@ -938,7 +938,7 @@ export const QueryClassResponse = { }; function createBaseQueryClassesRequest(): QueryClassesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClassesRequest = { @@ -999,7 +999,7 @@ export const QueryClassesRequest = { function createBaseQueryClassesResponse(): QueryClassesResponse { return { classes: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClassesResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/orm/v1/orm.ts b/__fixtures__/v-next/outputv4/cosmos/orm/v1/orm.ts index 8fe5388d3a..3f0b879b3d 100644 --- a/__fixtures__/v-next/outputv4/cosmos/orm/v1/orm.ts +++ b/__fixtures__/v-next/outputv4/cosmos/orm/v1/orm.ts @@ -111,7 +111,7 @@ export interface SingletonDescriptorSDKType { } function createBaseTableDescriptor(): TableDescriptor { return { - primaryKey: undefined, + primaryKey: PrimaryKeyDescriptor.fromPartial({}), index: [], id: 0 }; diff --git a/__fixtures__/v-next/outputv4/cosmos/params/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/params/v1beta1/query.ts index 680ec67e5f..ab17110009 100644 --- a/__fixtures__/v-next/outputv4/cosmos/params/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/params/v1beta1/query.ts @@ -138,7 +138,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - param: undefined + param: ParamChange.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/genesis.ts index dc63c95939..0483928f98 100644 --- a/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/genesis.ts @@ -67,7 +67,7 @@ export interface MissedBlockSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), signingInfos: [], missedBlocks: [] }; @@ -170,7 +170,7 @@ export const GenesisState = { function createBaseSigningInfo(): SigningInfo { return { address: "", - validatorSigningInfo: undefined + validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const SigningInfo = { diff --git a/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/query.ts index 17d5fd09ab..30aca4b9fc 100644 --- a/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/slashing/v1beta1/query.ts @@ -121,7 +121,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -241,7 +241,7 @@ export const QuerySigningInfoRequest = { }; function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { return { - valSigningInfo: undefined + valSigningInfo: ValidatorSigningInfo.fromPartial({}) }; } export const QuerySigningInfoResponse = { @@ -301,7 +301,7 @@ export const QuerySigningInfoResponse = { }; function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QuerySigningInfosRequest = { @@ -362,7 +362,7 @@ export const QuerySigningInfosRequest = { function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { return { info: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QuerySigningInfosResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/genesis.ts index a27a3ed7ac..39ba20fd7e 100644 --- a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/genesis.ts @@ -51,7 +51,7 @@ export interface LastValidatorPowerSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lastTotalPower: new Uint8Array(), lastValidatorPowers: [], validators: [], diff --git a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/query.ts index e596203965..6520a0d5c2 100644 --- a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/query.ts @@ -409,7 +409,7 @@ export interface QueryParamsResponseSDKType { function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { return { status: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorsRequest = { @@ -482,7 +482,7 @@ export const QueryValidatorsRequest = { function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorsResponse = { @@ -622,7 +622,7 @@ export const QueryValidatorRequest = { }; function createBaseQueryValidatorResponse(): QueryValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryValidatorResponse = { @@ -683,7 +683,7 @@ export const QueryValidatorResponse = { function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorDelegationsRequest = { @@ -756,7 +756,7 @@ export const QueryValidatorDelegationsRequest = { function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorDelegationsResponse = { @@ -837,7 +837,7 @@ export const QueryValidatorDelegationsResponse = { function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { return { validatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsRequest = { @@ -910,7 +910,7 @@ export const QueryValidatorUnbondingDelegationsRequest = { function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryValidatorUnbondingDelegationsResponse = { @@ -1063,7 +1063,7 @@ export const QueryDelegationRequest = { }; function createBaseQueryDelegationResponse(): QueryDelegationResponse { return { - delegationResponse: undefined + delegationResponse: DelegationResponse.fromPartial({}) }; } export const QueryDelegationResponse = { @@ -1196,7 +1196,7 @@ export const QueryUnbondingDelegationRequest = { }; function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { return { - unbond: undefined + unbond: UnbondingDelegation.fromPartial({}) }; } export const QueryUnbondingDelegationResponse = { @@ -1257,7 +1257,7 @@ export const QueryUnbondingDelegationResponse = { function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorDelegationsRequest = { @@ -1330,7 +1330,7 @@ export const QueryDelegatorDelegationsRequest = { function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { return { delegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorDelegationsResponse = { @@ -1411,7 +1411,7 @@ export const QueryDelegatorDelegationsResponse = { function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsRequest = { @@ -1484,7 +1484,7 @@ export const QueryDelegatorUnbondingDelegationsRequest = { function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { return { unbondingResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorUnbondingDelegationsResponse = { @@ -1567,7 +1567,7 @@ function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { delegatorAddr: "", srcValidatorAddr: "", dstValidatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryRedelegationsRequest = { @@ -1664,7 +1664,7 @@ export const QueryRedelegationsRequest = { function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { return { redelegationResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryRedelegationsResponse = { @@ -1745,7 +1745,7 @@ export const QueryRedelegationsResponse = { function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { return { delegatorAddr: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDelegatorValidatorsRequest = { @@ -1818,7 +1818,7 @@ export const QueryDelegatorValidatorsRequest = { function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { return { validators: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDelegatorValidatorsResponse = { @@ -1971,7 +1971,7 @@ export const QueryDelegatorValidatorRequest = { }; function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { return { - validator: undefined + validator: Validator.fromPartial({}) }; } export const QueryDelegatorValidatorResponse = { @@ -2091,7 +2091,7 @@ export const QueryHistoricalInfoRequest = { }; function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { return { - hist: undefined + hist: HistoricalInfo.fromPartial({}) }; } export const QueryHistoricalInfoResponse = { @@ -2194,7 +2194,7 @@ export const QueryPoolRequest = { }; function createBaseQueryPoolResponse(): QueryPoolResponse { return { - pool: undefined + pool: Pool.fromPartial({}) }; } export const QueryPoolResponse = { @@ -2297,7 +2297,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/staking.ts b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/staking.ts index 79467b3d01..bd24265dd6 100644 --- a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/staking.ts +++ b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/staking.ts @@ -448,7 +448,7 @@ export interface PoolSDKType { } function createBaseHistoricalInfo(): HistoricalInfo { return { - header: undefined, + header: Header.fromPartial({}), valset: [] }; } @@ -615,7 +615,7 @@ export const CommissionRates = { }; function createBaseCommission(): Commission { return { - commissionRates: undefined, + commissionRates: CommissionRates.fromPartial({}), updateTime: undefined }; } @@ -806,10 +806,10 @@ function createBaseValidator(): Validator { status: 0, tokens: "", delegatorShares: "", - description: undefined, + description: Description.fromPartial({}), unbondingHeight: BigInt(0), unbondingTime: undefined, - commission: undefined, + commission: Commission.fromPartial({}), minSelfDelegation: "" }; } @@ -1963,7 +1963,7 @@ export const Params = { }; function createBaseDelegationResponse(): DelegationResponse { return { - delegation: undefined, + delegation: Delegation.fromPartial({}), balance: undefined }; } @@ -2036,7 +2036,7 @@ export const DelegationResponse = { }; function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { return { - redelegationEntry: undefined, + redelegationEntry: RedelegationEntry.fromPartial({}), balance: "" }; } @@ -2109,7 +2109,7 @@ export const RedelegationEntryResponse = { }; function createBaseRedelegationResponse(): RedelegationResponse { return { - redelegation: undefined, + redelegation: Redelegation.fromPartial({}), entries: [] }; } diff --git a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/tx.ts b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/tx.ts index 4fc47f03ef..e4d39d427a 100644 --- a/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv4/cosmos/staking/v1beta1/tx.ts @@ -132,8 +132,8 @@ export interface MsgUndelegateResponseSDKType { } function createBaseMsgCreateValidator(): MsgCreateValidator { return { - description: undefined, - commission: undefined, + description: Description.fromPartial({}), + commission: CommissionRates.fromPartial({}), minSelfDelegation: "", delegatorAddress: "", validatorAddress: "", @@ -313,7 +313,7 @@ export const MsgCreateValidatorResponse = { }; function createBaseMsgEditValidator(): MsgEditValidator { return { - description: undefined, + description: Description.fromPartial({}), validatorAddress: "", commissionRate: "", minSelfDelegation: "" diff --git a/__fixtures__/v-next/outputv4/cosmos/tx/signing/v1beta1/signing.ts b/__fixtures__/v-next/outputv4/cosmos/tx/signing/v1beta1/signing.ts index 047ae4b714..fd7d3c1d1a 100644 --- a/__fixtures__/v-next/outputv4/cosmos/tx/signing/v1beta1/signing.ts +++ b/__fixtures__/v-next/outputv4/cosmos/tx/signing/v1beta1/signing.ts @@ -231,7 +231,7 @@ export const SignatureDescriptors = { function createBaseSignatureDescriptor(): SignatureDescriptor { return { publicKey: undefined, - data: undefined, + data: Data.fromPartial({}), sequence: BigInt(0) }; } @@ -462,7 +462,7 @@ export const SignatureDescriptor_Data_Single = { }; function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), signatures: [] }; } diff --git a/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/service.ts b/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/service.ts index 30d7e6bbef..a87dba815c 100644 --- a/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/service.ts +++ b/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/service.ts @@ -298,7 +298,7 @@ export interface GetBlockWithTxsResponseSDKType { function createBaseGetTxsEventRequest(): GetTxsEventRequest { return { events: [], - pagination: undefined, + pagination: PageRequest.fromPartial({}), orderBy: 0 }; } @@ -393,7 +393,7 @@ function createBaseGetTxsEventResponse(): GetTxsEventResponse { return { txs: [], txResponses: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GetTxsEventResponse = { @@ -566,7 +566,7 @@ export const BroadcastTxRequest = { }; function createBaseBroadcastTxResponse(): BroadcastTxResponse { return { - txResponse: undefined + txResponse: TxResponse.fromPartial({}) }; } export const BroadcastTxResponse = { @@ -626,7 +626,7 @@ export const BroadcastTxResponse = { }; function createBaseSimulateRequest(): SimulateRequest { return { - tx: undefined, + tx: Tx.fromPartial({}), txBytes: new Uint8Array() }; } @@ -699,8 +699,8 @@ export const SimulateRequest = { }; function createBaseSimulateResponse(): SimulateResponse { return { - gasInfo: undefined, - result: undefined + gasInfo: GasInfo.fromPartial({}), + result: Result.fromPartial({}) }; } export const SimulateResponse = { @@ -832,8 +832,8 @@ export const GetTxRequest = { }; function createBaseGetTxResponse(): GetTxResponse { return { - tx: undefined, - txResponse: undefined + tx: Tx.fromPartial({}), + txResponse: TxResponse.fromPartial({}) }; } export const GetTxResponse = { @@ -906,7 +906,7 @@ export const GetTxResponse = { function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { return { height: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GetBlockWithTxsRequest = { @@ -979,9 +979,9 @@ export const GetBlockWithTxsRequest = { function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { return { txs: [], - blockId: undefined, - block: undefined, - pagination: undefined + blockId: BlockID.fromPartial({}), + block: Block.fromPartial({}), + pagination: PageResponse.fromPartial({}) }; } export const GetBlockWithTxsResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/tx.ts b/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/tx.ts index 71a73e656b..de0d250b18 100644 --- a/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv4/cosmos/tx/v1beta1/tx.ts @@ -390,8 +390,8 @@ export interface AuxSignerDataSDKType { } function createBaseTx(): Tx { return { - body: undefined, - authInfo: undefined, + body: TxBody.fromPartial({}), + authInfo: AuthInfo.fromPartial({}), signatures: [] }; } @@ -682,7 +682,7 @@ function createBaseSignDocDirectAux(): SignDocDirectAux { chainId: "", accountNumber: BigInt(0), sequence: BigInt(0), - tip: undefined + tip: Tip.fromPartial({}) }; } export const SignDocDirectAux = { @@ -939,8 +939,8 @@ export const TxBody = { function createBaseAuthInfo(): AuthInfo { return { signerInfos: [], - fee: undefined, - tip: undefined + fee: Fee.fromPartial({}), + tip: Tip.fromPartial({}) }; } export const AuthInfo = { @@ -1033,7 +1033,7 @@ export const AuthInfo = { function createBaseSignerInfo(): SignerInfo { return { publicKey: undefined, - modeInfo: undefined, + modeInfo: ModeInfo.fromPartial({}), sequence: BigInt(0) }; } @@ -1251,7 +1251,7 @@ export const ModeInfo_Single = { }; function createBaseModeInfo_Multi(): ModeInfo_Multi { return { - bitarray: undefined, + bitarray: CompactBitArray.fromPartial({}), modeInfos: [] }; } @@ -1521,7 +1521,7 @@ export const Tip = { function createBaseAuxSignerData(): AuxSignerData { return { address: "", - signDoc: undefined, + signDoc: SignDocDirectAux.fromPartial({}), mode: 0, sig: new Uint8Array() }; diff --git a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/query.ts b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/query.ts index 8f078ee71a..80a262c24c 100644 --- a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/query.ts @@ -209,7 +209,7 @@ export const QueryCurrentPlanRequest = { }; function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { return { - plan: undefined + plan: Plan.fromPartial({}) }; } export const QueryCurrentPlanResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/tx.ts b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/tx.ts index ac12f6c647..3ecbab754d 100644 --- a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/tx.ts @@ -66,7 +66,7 @@ export interface MsgCancelUpgradeResponseSDKType {} function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { return { authority: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const MsgSoftwareUpgrade = { diff --git a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/upgrade.ts b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/upgrade.ts index 743de54093..b4013826f3 100644 --- a/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/upgrade.ts +++ b/__fixtures__/v-next/outputv4/cosmos/upgrade/v1beta1/upgrade.ts @@ -232,7 +232,7 @@ function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { return { title: "", description: "", - plan: undefined + plan: Plan.fromPartial({}) }; } export const SoftwareUpgradeProposal = { diff --git a/__fixtures__/v-next/outputv4/cosmos/vesting/v1beta1/vesting.ts b/__fixtures__/v-next/outputv4/cosmos/vesting/v1beta1/vesting.ts index 9d1d5f0b41..5bbef3dc17 100644 --- a/__fixtures__/v-next/outputv4/cosmos/vesting/v1beta1/vesting.ts +++ b/__fixtures__/v-next/outputv4/cosmos/vesting/v1beta1/vesting.ts @@ -107,7 +107,7 @@ export interface PermanentLockedAccountSDKType { } function createBaseBaseVestingAccount(): BaseVestingAccount { return { - baseAccount: undefined, + baseAccount: BaseAccount.fromPartial({}), originalVesting: [], delegatedFree: [], delegatedVesting: [], @@ -243,7 +243,7 @@ export const BaseVestingAccount = { }; function createBaseContinuousVestingAccount(): ContinuousVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: BigInt(0) }; } @@ -316,7 +316,7 @@ export const ContinuousVestingAccount = { }; function createBaseDelayedVestingAccount(): DelayedVestingAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const DelayedVestingAccount = { @@ -457,7 +457,7 @@ export const Period = { }; function createBasePeriodicVestingAccount(): PeriodicVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), startTime: BigInt(0), vestingPeriods: [] }; @@ -551,7 +551,7 @@ export const PeriodicVestingAccount = { }; function createBasePermanentLockedAccount(): PermanentLockedAccount { return { - baseVestingAccount: undefined + baseVestingAccount: BaseVestingAccount.fromPartial({}) }; } export const PermanentLockedAccount = { diff --git a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/genesis.ts b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/genesis.ts index a7ae56bafd..4d0639eb11 100644 --- a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/genesis.ts @@ -76,7 +76,7 @@ export interface SequenceSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), codes: [], contracts: [], sequences: [], @@ -307,7 +307,7 @@ export const GenesisState_GenMsgs = { function createBaseCode(): Code { return { codeId: BigInt(0), - codeInfo: undefined, + codeInfo: CodeInfo.fromPartial({}), codeBytes: new Uint8Array(), pinned: false }; @@ -406,7 +406,7 @@ export const Code = { function createBaseContract(): Contract { return { contractAddress: "", - contractInfo: undefined, + contractInfo: ContractInfo.fromPartial({}), contractState: [] }; } diff --git a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/proposal.ts b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/proposal.ts index d8118d0e1e..9bccbcea79 100644 --- a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/proposal.ts +++ b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/proposal.ts @@ -216,7 +216,7 @@ function createBaseStoreCodeProposal(): StoreCodeProposal { description: "", runAs: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const StoreCodeProposal = { diff --git a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/query.ts b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/query.ts index ca97d6f0eb..72efd76441 100644 --- a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/query.ts +++ b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/query.ts @@ -354,7 +354,7 @@ export const QueryContractInfoRequest = { function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { return { address: "", - contractInfo: undefined + contractInfo: ContractInfo.fromPartial({}) }; } export const QueryContractInfoResponse = { @@ -427,7 +427,7 @@ export const QueryContractInfoResponse = { function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractHistoryRequest = { @@ -500,7 +500,7 @@ export const QueryContractHistoryRequest = { function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { return { entries: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractHistoryResponse = { @@ -581,7 +581,7 @@ export const QueryContractHistoryResponse = { function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { return { codeId: BigInt(0), - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryContractsByCodeRequest = { @@ -654,7 +654,7 @@ export const QueryContractsByCodeRequest = { function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { return { contracts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryContractsByCodeResponse = { @@ -735,7 +735,7 @@ export const QueryContractsByCodeResponse = { function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { return { address: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllContractStateRequest = { @@ -808,7 +808,7 @@ export const QueryAllContractStateRequest = { function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { return { models: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllContractStateResponse = { @@ -1300,7 +1300,7 @@ export const CodeInfoResponse = { }; function createBaseQueryCodeResponse(): QueryCodeResponse { return { - codeInfo: undefined, + codeInfo: CodeInfoResponse.fromPartial({}), data: new Uint8Array() }; } @@ -1373,7 +1373,7 @@ export const QueryCodeResponse = { }; function createBaseQueryCodesRequest(): QueryCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryCodesRequest = { @@ -1434,7 +1434,7 @@ export const QueryCodesRequest = { function createBaseQueryCodesResponse(): QueryCodesResponse { return { codeInfos: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryCodesResponse = { @@ -1514,7 +1514,7 @@ export const QueryCodesResponse = { }; function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPinnedCodesRequest = { @@ -1575,7 +1575,7 @@ export const QueryPinnedCodesRequest = { function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { return { codeIds: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPinnedCodesResponse = { diff --git a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/tx.ts b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/tx.ts index 168e1dee6a..b7cad7dd64 100644 --- a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/tx.ts +++ b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/tx.ts @@ -168,7 +168,7 @@ function createBaseMsgStoreCode(): MsgStoreCode { return { sender: "", wasmByteCode: new Uint8Array(), - instantiatePermission: undefined + instantiatePermission: AccessConfig.fromPartial({}) }; } export const MsgStoreCode = { diff --git a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/types.ts b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/types.ts index 4b09a6526e..ff8e7d6425 100644 --- a/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/types.ts +++ b/__fixtures__/v-next/outputv4/cosmwasm/wasm/v1/types.ts @@ -360,7 +360,7 @@ export const AccessConfig = { }; function createBaseParams(): Params { return { - codeUploadAccess: undefined, + codeUploadAccess: AccessConfig.fromPartial({}), instantiateDefaultPermission: 0, maxWasmCodeSize: BigInt(0) }; @@ -448,7 +448,7 @@ function createBaseCodeInfo(): CodeInfo { return { codeHash: new Uint8Array(), creator: "", - instantiateConfig: undefined + instantiateConfig: AccessConfig.fromPartial({}) }; } export const CodeInfo = { @@ -536,7 +536,7 @@ function createBaseContractInfo(): ContractInfo { creator: "", admin: "", label: "", - created: undefined, + created: AbsoluteTxPosition.fromPartial({}), ibcPortId: "", extension: undefined }; @@ -672,7 +672,7 @@ function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { return { operation: 0, codeId: BigInt(0), - updated: undefined, + updated: AbsoluteTxPosition.fromPartial({}), msg: new Uint8Array() }; } diff --git a/__fixtures__/v-next/outputv4/evmos/claims/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/claims/v1/genesis.ts index 86bf8ef474..b662dc97af 100644 --- a/__fixtures__/v-next/outputv4/evmos/claims/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/claims/v1/genesis.ts @@ -48,7 +48,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), claimsRecords: [] }; } diff --git a/__fixtures__/v-next/outputv4/evmos/claims/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/claims/v1/query.ts index 8b6f88cb81..5ba61073dd 100644 --- a/__fixtures__/v-next/outputv4/evmos/claims/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/claims/v1/query.ts @@ -265,7 +265,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -325,7 +325,7 @@ export const QueryParamsResponse = { }; function createBaseQueryClaimsRecordsRequest(): QueryClaimsRecordsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClaimsRecordsRequest = { @@ -386,7 +386,7 @@ export const QueryClaimsRecordsRequest = { function createBaseQueryClaimsRecordsResponse(): QueryClaimsRecordsResponse { return { claims: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClaimsRecordsResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/epochs/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/epochs/v1/query.ts index d231f0dca0..591fc69cd5 100644 --- a/__fixtures__/v-next/outputv4/evmos/epochs/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/epochs/v1/query.ts @@ -31,7 +31,7 @@ export interface QueryCurrentEpochResponseSDKType { } function createBaseQueryEpochsInfoRequest(): QueryEpochsInfoRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryEpochsInfoRequest = { @@ -92,7 +92,7 @@ export const QueryEpochsInfoRequest = { function createBaseQueryEpochsInfoResponse(): QueryEpochsInfoResponse { return { epochs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryEpochsInfoResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/erc20/v1/erc20.ts b/__fixtures__/v-next/outputv4/evmos/erc20/v1/erc20.ts index f078a511bc..e3360111ff 100644 --- a/__fixtures__/v-next/outputv4/evmos/erc20/v1/erc20.ts +++ b/__fixtures__/v-next/outputv4/evmos/erc20/v1/erc20.ts @@ -236,7 +236,7 @@ function createBaseRegisterCoinProposal(): RegisterCoinProposal { return { title: "", description: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const RegisterCoinProposal = { diff --git a/__fixtures__/v-next/outputv4/evmos/erc20/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/erc20/v1/genesis.ts index d9d55ad9e5..4786a93684 100644 --- a/__fixtures__/v-next/outputv4/evmos/erc20/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/erc20/v1/genesis.ts @@ -32,7 +32,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), tokenPairs: [] }; } diff --git a/__fixtures__/v-next/outputv4/evmos/erc20/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/erc20/v1/query.ts index 6be2d29760..50f43c1907 100644 --- a/__fixtures__/v-next/outputv4/evmos/erc20/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/erc20/v1/query.ts @@ -82,7 +82,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryTokenPairsRequest(): QueryTokenPairsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryTokenPairsRequest = { @@ -143,7 +143,7 @@ export const QueryTokenPairsRequest = { function createBaseQueryTokenPairsResponse(): QueryTokenPairsResponse { return { tokenPairs: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryTokenPairsResponse = { @@ -283,7 +283,7 @@ export const QueryTokenPairRequest = { }; function createBaseQueryTokenPairResponse(): QueryTokenPairResponse { return { - tokenPair: undefined + tokenPair: TokenPair.fromPartial({}) }; } export const QueryTokenPairResponse = { @@ -386,7 +386,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/fees/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/fees/v1/genesis.ts index 3ca4ebabbd..390d3e062b 100644 --- a/__fixtures__/v-next/outputv4/evmos/fees/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/fees/v1/genesis.ts @@ -47,7 +47,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), devFeeInfos: [] }; } diff --git a/__fixtures__/v-next/outputv4/evmos/fees/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/fees/v1/query.ts index 374b0739a2..59b917c6eb 100644 --- a/__fixtures__/v-next/outputv4/evmos/fees/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/fees/v1/query.ts @@ -120,7 +120,7 @@ export interface QueryDevFeeInfosPerDeployerResponseSDKType { } function createBaseQueryDevFeeInfosRequest(): QueryDevFeeInfosRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosRequest = { @@ -181,7 +181,7 @@ export const QueryDevFeeInfosRequest = { function createBaseQueryDevFeeInfosResponse(): QueryDevFeeInfosResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosResponse = { @@ -321,7 +321,7 @@ export const QueryDevFeeInfoRequest = { }; function createBaseQueryDevFeeInfoResponse(): QueryDevFeeInfoResponse { return { - fee: undefined + fee: DevFeeInfo.fromPartial({}) }; } export const QueryDevFeeInfoResponse = { @@ -424,7 +424,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -485,7 +485,7 @@ export const QueryParamsResponse = { function createBaseQueryDevFeeInfosPerDeployerRequest(): QueryDevFeeInfosPerDeployerRequest { return { deployerAddress: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerRequest = { @@ -558,7 +558,7 @@ export const QueryDevFeeInfosPerDeployerRequest = { function createBaseQueryDevFeeInfosPerDeployerResponse(): QueryDevFeeInfosPerDeployerResponse { return { fees: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDevFeeInfosPerDeployerResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/incentives/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/incentives/v1/genesis.ts index fcfd4ab027..a96096e851 100644 --- a/__fixtures__/v-next/outputv4/evmos/incentives/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/incentives/v1/genesis.ts @@ -38,7 +38,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), incentives: [], gasMeters: [] }; diff --git a/__fixtures__/v-next/outputv4/evmos/incentives/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/incentives/v1/query.ts index 33d31fbefe..9ea93caaf8 100644 --- a/__fixtures__/v-next/outputv4/evmos/incentives/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/incentives/v1/query.ts @@ -206,7 +206,7 @@ export interface QueryParamsResponseSDKType { } function createBaseQueryIncentivesRequest(): QueryIncentivesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryIncentivesRequest = { @@ -267,7 +267,7 @@ export const QueryIncentivesRequest = { function createBaseQueryIncentivesResponse(): QueryIncentivesResponse { return { incentives: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryIncentivesResponse = { @@ -407,7 +407,7 @@ export const QueryIncentiveRequest = { }; function createBaseQueryIncentiveResponse(): QueryIncentiveResponse { return { - incentive: undefined + incentive: Incentive.fromPartial({}) }; } export const QueryIncentiveResponse = { @@ -468,7 +468,7 @@ export const QueryIncentiveResponse = { function createBaseQueryGasMetersRequest(): QueryGasMetersRequest { return { contract: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryGasMetersRequest = { @@ -541,7 +541,7 @@ export const QueryGasMetersRequest = { function createBaseQueryGasMetersResponse(): QueryGasMetersResponse { return { gasMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryGasMetersResponse = { @@ -754,7 +754,7 @@ export const QueryGasMeterResponse = { }; function createBaseQueryAllocationMetersRequest(): QueryAllocationMetersRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryAllocationMetersRequest = { @@ -815,7 +815,7 @@ export const QueryAllocationMetersRequest = { function createBaseQueryAllocationMetersResponse(): QueryAllocationMetersResponse { return { allocationMeters: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryAllocationMetersResponse = { @@ -955,7 +955,7 @@ export const QueryAllocationMeterRequest = { }; function createBaseQueryAllocationMeterResponse(): QueryAllocationMeterResponse { return { - allocationMeter: undefined + allocationMeter: DecCoin.fromPartial({}) }; } export const QueryAllocationMeterResponse = { @@ -1058,7 +1058,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/inflation/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/inflation/v1/genesis.ts index 0970150a4d..5b26cafcc9 100644 --- a/__fixtures__/v-next/outputv4/evmos/inflation/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/inflation/v1/genesis.ts @@ -43,7 +43,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), period: BigInt(0), epochIdentifier: "", epochsPerPeriod: BigInt(0), @@ -156,8 +156,8 @@ export const GenesisState = { function createBaseParams(): Params { return { mintDenom: "", - exponentialCalculation: undefined, - inflationDistribution: undefined, + exponentialCalculation: ExponentialCalculation.fromPartial({}), + inflationDistribution: InflationDistribution.fromPartial({}), enableInflation: false }; } diff --git a/__fixtures__/v-next/outputv4/evmos/inflation/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/inflation/v1/query.ts index 7655b78fe3..62fd80ce17 100644 --- a/__fixtures__/v-next/outputv4/evmos/inflation/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/inflation/v1/query.ts @@ -278,7 +278,7 @@ export const QueryEpochMintProvisionRequest = { }; function createBaseQueryEpochMintProvisionResponse(): QueryEpochMintProvisionResponse { return { - epochMintProvision: undefined + epochMintProvision: DecCoin.fromPartial({}) }; } export const QueryEpochMintProvisionResponse = { @@ -484,7 +484,7 @@ export const QueryCirculatingSupplyRequest = { }; function createBaseQueryCirculatingSupplyResponse(): QueryCirculatingSupplyResponse { return { - circulatingSupply: undefined + circulatingSupply: DecCoin.fromPartial({}) }; } export const QueryCirculatingSupplyResponse = { @@ -690,7 +690,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/recovery/v1/genesis.ts b/__fixtures__/v-next/outputv4/evmos/recovery/v1/genesis.ts index 74359d8939..9ac49c934c 100644 --- a/__fixtures__/v-next/outputv4/evmos/recovery/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/evmos/recovery/v1/genesis.ts @@ -25,7 +25,7 @@ export interface ParamsSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/evmos/recovery/v1/query.ts b/__fixtures__/v-next/outputv4/evmos/recovery/v1/query.ts index cbd9455627..3333102d95 100644 --- a/__fixtures__/v-next/outputv4/evmos/recovery/v1/query.ts +++ b/__fixtures__/v-next/outputv4/evmos/recovery/v1/query.ts @@ -60,7 +60,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/evmos/vesting/v1/vesting.ts b/__fixtures__/v-next/outputv4/evmos/vesting/v1/vesting.ts index 873702779e..04ed9ba69c 100644 --- a/__fixtures__/v-next/outputv4/evmos/vesting/v1/vesting.ts +++ b/__fixtures__/v-next/outputv4/evmos/vesting/v1/vesting.ts @@ -39,7 +39,7 @@ export interface ClawbackVestingAccountSDKType { } function createBaseClawbackVestingAccount(): ClawbackVestingAccount { return { - baseVestingAccount: undefined, + baseVestingAccount: BaseVestingAccount.fromPartial({}), funderAddress: "", startTime: undefined, lockupPeriods: [], diff --git a/__fixtures__/v-next/outputv4/google/api/auth.ts b/__fixtures__/v-next/outputv4/google/api/auth.ts index fdedc1619b..620565e3e9 100644 --- a/__fixtures__/v-next/outputv4/google/api/auth.ts +++ b/__fixtures__/v-next/outputv4/google/api/auth.ts @@ -410,7 +410,7 @@ export const Authentication = { function createBaseAuthenticationRule(): AuthenticationRule { return { selector: "", - oauth: undefined, + oauth: OAuthRequirements.fromPartial({}), allowWithoutCredential: false, requirements: [] }; diff --git a/__fixtures__/v-next/outputv4/google/api/distribution.ts b/__fixtures__/v-next/outputv4/google/api/distribution.ts index b571024764..8cab58975b 100644 --- a/__fixtures__/v-next/outputv4/google/api/distribution.ts +++ b/__fixtures__/v-next/outputv4/google/api/distribution.ts @@ -308,8 +308,8 @@ function createBaseDistribution(): Distribution { count: BigInt(0), mean: 0, sumOfSquaredDeviation: 0, - range: undefined, - bucketOptions: undefined, + range: Range.fromPartial({}), + bucketOptions: BucketOptions.fromPartial({}), bucketCounts: [], exemplars: [] }; diff --git a/__fixtures__/v-next/outputv4/google/api/expr/conformance/v1alpha1/conformance_service.ts b/__fixtures__/v-next/outputv4/google/api/expr/conformance/v1alpha1/conformance_service.ts index bd0b73fba2..25bdfdc506 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/conformance/v1alpha1/conformance_service.ts @@ -301,7 +301,7 @@ export const ParseRequest = { }; function createBaseParseResponse(): ParseResponse { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), issues: [] }; } @@ -382,7 +382,7 @@ export const ParseResponse = { }; function createBaseCheckRequest(): CheckRequest { return { - parsedExpr: undefined, + parsedExpr: ParsedExpr.fromPartial({}), typeEnv: [], container: "", noStdEnv: false @@ -489,7 +489,7 @@ export const CheckRequest = { }; function createBaseCheckResponse(): CheckResponse { return { - checkedExpr: undefined, + checkedExpr: CheckedExpr.fromPartial({}), issues: [] }; } @@ -571,7 +571,7 @@ export const CheckResponse = { function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { return { key: "", - value: undefined + value: ExprValue.fromPartial({}) }; } export const EvalRequest_BindingsEntry = { @@ -780,7 +780,7 @@ export const EvalRequest = { }; function createBaseEvalResponse(): EvalResponse { return { - result: undefined, + result: ExprValue.fromPartial({}), issues: [] }; } @@ -862,7 +862,7 @@ export const EvalResponse = { function createBaseIssueDetails(): IssueDetails { return { severity: 0, - position: undefined, + position: SourcePosition.fromPartial({}), id: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/checked.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/checked.ts index 8a5590bb0d..52c44d3f67 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/checked.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/checked.ts @@ -526,7 +526,7 @@ export interface ReferenceSDKType { function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { return { key: BigInt(0), - value: undefined + value: Reference.fromPartial({}) }; } export const CheckedExpr_ReferenceMapEntry = { @@ -599,7 +599,7 @@ export const CheckedExpr_ReferenceMapEntry = { function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { return { key: BigInt(0), - value: undefined + value: Type.fromPartial({}) }; } export const CheckedExpr_TypeMapEntry = { @@ -673,9 +673,9 @@ function createBaseCheckedExpr(): CheckedExpr { return { referenceMap: {}, typeMap: {}, - sourceInfo: undefined, + sourceInfo: SourceInfo.fromPartial({}), exprVersion: "", - expr: undefined + expr: Expr.fromPartial({}) }; } export const CheckedExpr = { @@ -1075,7 +1075,7 @@ export const Type = { }; function createBaseType_ListType(): Type_ListType { return { - elemType: undefined + elemType: Type.fromPartial({}) }; } export const Type_ListType = { @@ -1135,8 +1135,8 @@ export const Type_ListType = { }; function createBaseType_MapType(): Type_MapType { return { - keyType: undefined, - valueType: undefined + keyType: Type.fromPartial({}), + valueType: Type.fromPartial({}) }; } export const Type_MapType = { @@ -1208,7 +1208,7 @@ export const Type_MapType = { }; function createBaseType_FunctionType(): Type_FunctionType { return { - resultType: undefined, + resultType: Type.fromPartial({}), argTypes: [] }; } @@ -1456,8 +1456,8 @@ export const Decl = { }; function createBaseDecl_IdentDecl(): Decl_IdentDecl { return { - type: undefined, - value: undefined, + type: Type.fromPartial({}), + value: Constant.fromPartial({}), doc: "" }; } @@ -1613,7 +1613,7 @@ function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { overloadId: "", params: [], typeParams: [], - resultType: undefined, + resultType: Type.fromPartial({}), isInstanceFunction: false, doc: "" }; @@ -1753,7 +1753,7 @@ function createBaseReference(): Reference { return { name: "", overloadId: [], - value: undefined + value: Constant.fromPartial({}) }; } export const Reference = { diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/syntax.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/syntax.ts index 08d9bd3e02..f8fc129d98 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/syntax.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/syntax.ts @@ -482,8 +482,8 @@ export interface SourcePositionSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}) }; } export const ParsedExpr = { @@ -766,7 +766,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -852,7 +852,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -1098,7 +1098,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: BigInt(0), fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1195,12 +1195,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { @@ -1570,7 +1570,7 @@ export const SourceInfo_PositionsEntry = { function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { return { key: BigInt(0), - value: undefined + value: Expr.fromPartial({}) }; } export const SourceInfo_MacroCallsEntry = { diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/value.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/value.ts index 7daedd6f9e..260b20df3d 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/value.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1alpha1/value.ts @@ -541,8 +541,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/decl.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/decl.ts index a07405428d..4565734156 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/decl.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/decl.ts @@ -286,8 +286,8 @@ export const DeclType = { }; function createBaseIdentDecl(): IdentDecl { return { - type: undefined, - value: undefined + type: DeclType.fromPartial({}), + value: Expr.fromPartial({}) }; } export const IdentDecl = { @@ -360,7 +360,7 @@ export const IdentDecl = { function createBaseFunctionDecl(): FunctionDecl { return { args: [], - returnType: undefined, + returnType: DeclType.fromPartial({}), receiverFunction: false }; } diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/eval.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/eval.ts index 2f90a13766..e30f519d07 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/eval.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/eval.ts @@ -231,7 +231,7 @@ export const EvalState = { }; function createBaseEvalState_Result(): EvalState_Result { return { - expr: undefined, + expr: IdRef.fromPartial({}), value: 0 }; } diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/expr.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/expr.ts index bfc43382e0..50ecd4fddd 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/expr.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/expr.ts @@ -368,8 +368,8 @@ export interface LiteralSDKType { } function createBaseParsedExpr(): ParsedExpr { return { - expr: undefined, - sourceInfo: undefined, + expr: Expr.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), syntaxVersion: "" }; } @@ -665,7 +665,7 @@ export const Expr_Ident = { }; function createBaseExpr_Select(): Expr_Select { return { - operand: undefined, + operand: Expr.fromPartial({}), field: "", testOnly: false }; @@ -751,7 +751,7 @@ export const Expr_Select = { }; function createBaseExpr_Call(): Expr_Call { return { - target: undefined, + target: Expr.fromPartial({}), function: "", args: [] }; @@ -997,7 +997,7 @@ function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { id: 0, fieldKey: undefined, mapKey: undefined, - value: undefined + value: Expr.fromPartial({}) }; } export const Expr_CreateStruct_Entry = { @@ -1094,12 +1094,12 @@ export const Expr_CreateStruct_Entry = { function createBaseExpr_Comprehension(): Expr_Comprehension { return { iterVar: "", - iterRange: undefined, + iterRange: Expr.fromPartial({}), accuVar: "", - accuInit: undefined, - loopCondition: undefined, - loopStep: undefined, - result: undefined + accuInit: Expr.fromPartial({}), + loopCondition: Expr.fromPartial({}), + loopStep: Expr.fromPartial({}), + result: Expr.fromPartial({}) }; } export const Expr_Comprehension = { diff --git a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/value.ts b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/value.ts index 16b1897260..bb7a04d149 100644 --- a/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/value.ts +++ b/__fixtures__/v-next/outputv4/google/api/expr/v1beta1/value.ts @@ -541,8 +541,8 @@ export const MapValue = { }; function createBaseMapValue_Entry(): MapValue_Entry { return { - key: undefined, - value: undefined + key: Value.fromPartial({}), + value: Value.fromPartial({}) }; } export const MapValue_Entry = { diff --git a/__fixtures__/v-next/outputv4/google/api/metric.ts b/__fixtures__/v-next/outputv4/google/api/metric.ts index 2b3eedd415..c696302c15 100644 --- a/__fixtures__/v-next/outputv4/google/api/metric.ts +++ b/__fixtures__/v-next/outputv4/google/api/metric.ts @@ -392,7 +392,7 @@ function createBaseMetricDescriptor(): MetricDescriptor { unit: "", description: "", displayName: "", - metadata: undefined, + metadata: MetricDescriptorMetadata.fromPartial({}), launchStage: 0, monitoredResourceTypes: [] }; diff --git a/__fixtures__/v-next/outputv4/google/api/monitored_resource.ts b/__fixtures__/v-next/outputv4/google/api/monitored_resource.ts index 5ebc3e5205..a192c56627 100644 --- a/__fixtures__/v-next/outputv4/google/api/monitored_resource.ts +++ b/__fixtures__/v-next/outputv4/google/api/monitored_resource.ts @@ -571,7 +571,7 @@ export const MonitoredResourceMetadata_UserLabelsEntry = { }; function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { return { - systemLabels: undefined, + systemLabels: Struct.fromPartial({}), userLabels: {} }; } diff --git a/__fixtures__/v-next/outputv4/google/api/service.ts b/__fixtures__/v-next/outputv4/google/api/service.ts index b9326aa30b..64ab64f384 100644 --- a/__fixtures__/v-next/outputv4/google/api/service.ts +++ b/__fixtures__/v-next/outputv4/google/api/service.ts @@ -204,24 +204,24 @@ function createBaseService(): Service { apis: [], types: [], enums: [], - documentation: undefined, - backend: undefined, - http: undefined, - quota: undefined, - authentication: undefined, - context: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + backend: Backend.fromPartial({}), + http: Http.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + context: Context.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], - control: undefined, + control: Control.fromPartial({}), logs: [], metrics: [], monitoredResources: [], - billing: undefined, - logging: undefined, - monitoring: undefined, - systemParameters: undefined, - sourceInfo: undefined, - configVersion: undefined + billing: Billing.fromPartial({}), + logging: Logging.fromPartial({}), + monitoring: Monitoring.fromPartial({}), + systemParameters: SystemParameters.fromPartial({}), + sourceInfo: SourceInfo.fromPartial({}), + configVersion: UInt32Value.fromPartial({}) }; } export const Service = { diff --git a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/check_error.ts b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/check_error.ts index f40a337608..8f893fbd4a 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/check_error.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/check_error.ts @@ -230,7 +230,7 @@ function createBaseCheckError(): CheckError { code: 0, subject: "", detail: "", - status: undefined + status: Status.fromPartial({}) }; } export const CheckError = { diff --git a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/log_entry.ts b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/log_entry.ts index 8cf454dfe3..5a500cd7e8 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/log_entry.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/log_entry.ts @@ -239,15 +239,15 @@ function createBaseLogEntry(): LogEntry { name: "", timestamp: undefined, severity: 0, - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), trace: "", insertId: "", labels: {}, protoPayload: undefined, textPayload: undefined, structPayload: undefined, - operation: undefined, - sourceLocation: undefined + operation: LogEntryOperation.fromPartial({}), + sourceLocation: LogEntrySourceLocation.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/quota_controller.ts b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/quota_controller.ts index 511a7d6d28..f2b9947165 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/quota_controller.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/quota_controller.ts @@ -333,7 +333,7 @@ export interface QuotaErrorSDKType { function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { return { serviceName: "", - allocateOperation: undefined, + allocateOperation: QuotaOperation.fromPartial({}), serviceConfigId: "" }; } @@ -780,7 +780,7 @@ function createBaseQuotaError(): QuotaError { code: 0, subject: "", description: "", - status: undefined + status: Status.fromPartial({}) }; } export const QuotaError = { diff --git a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/service_controller.ts b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/service_controller.ts index 241c0c3f4a..b471cf2fe5 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/service_controller.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v1/service_controller.ts @@ -267,7 +267,7 @@ export interface ReportResponse_ReportErrorSDKType { function createBaseCheckRequest(): CheckRequest { return { serviceName: "", - operation: undefined, + operation: Operation.fromPartial({}), serviceConfigId: "" }; } @@ -356,7 +356,7 @@ function createBaseCheckResponse(): CheckResponse { checkErrors: [], serviceConfigId: "", serviceRolloutId: "", - checkInfo: undefined + checkInfo: CheckInfo.fromPartial({}) }; } export const CheckResponse = { @@ -473,7 +473,7 @@ export const CheckResponse = { function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { return { unusedArguments: [], - consumerInfo: undefined + consumerInfo: ConsumerInfo.fromPartial({}) }; } export const CheckResponse_CheckInfo = { @@ -828,7 +828,7 @@ export const ReportResponse = { function createBaseReportResponse_ReportError(): ReportResponse_ReportError { return { operationId: "", - status: undefined + status: Status.fromPartial({}) }; } export const ReportResponse_ReportError = { diff --git a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v2/service_controller.ts b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v2/service_controller.ts index 1fd486ccff..0cdd5f44b5 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicecontrol/v2/service_controller.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicecontrol/v2/service_controller.ts @@ -144,7 +144,7 @@ function createBaseCheckRequest(): CheckRequest { return { serviceName: "", serviceConfigId: "", - attributes: undefined, + attributes: AttributeContext.fromPartial({}), resources: [], flags: "" }; @@ -447,7 +447,7 @@ export const CheckResponse_HeadersEntry = { }; function createBaseCheckResponse(): CheckResponse { return { - status: undefined, + status: Status.fromPartial({}), headers: {} }; } diff --git a/__fixtures__/v-next/outputv4/google/api/servicemanagement/v1/servicemanager.ts b/__fixtures__/v-next/outputv4/google/api/servicemanagement/v1/servicemanager.ts index c76708dc66..4a103dadaf 100644 --- a/__fixtures__/v-next/outputv4/google/api/servicemanagement/v1/servicemanager.ts +++ b/__fixtures__/v-next/outputv4/google/api/servicemanagement/v1/servicemanager.ts @@ -611,7 +611,7 @@ export const GetServiceRequest = { }; function createBaseCreateServiceRequest(): CreateServiceRequest { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const CreateServiceRequest = { @@ -791,7 +791,7 @@ export const UndeleteServiceRequest = { }; function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { return { - service: undefined + service: ManagedService.fromPartial({}) }; } export const UndeleteServiceResponse = { @@ -1105,7 +1105,7 @@ export const ListServiceConfigsResponse = { function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { return { serviceName: "", - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const CreateServiceConfigRequest = { @@ -1178,7 +1178,7 @@ export const CreateServiceConfigRequest = { function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { return { serviceName: "", - configSource: undefined, + configSource: ConfigSource.fromPartial({}), validateOnly: false }; } @@ -1263,7 +1263,7 @@ export const SubmitConfigSourceRequest = { }; function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { return { - serviceConfig: undefined + serviceConfig: Service.fromPartial({}) }; } export const SubmitConfigSourceResponse = { @@ -1324,7 +1324,7 @@ export const SubmitConfigSourceResponse = { function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { return { serviceName: "", - rollout: undefined + rollout: Rollout.fromPartial({}) }; } export const CreateServiceRolloutRequest = { diff --git a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/resources.ts b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/resources.ts index ba53c25195..061d1e4c12 100644 --- a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/resources.ts +++ b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/resources.ts @@ -162,7 +162,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -262,13 +262,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { diff --git a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/serviceusage.ts b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/serviceusage.ts index 5c6cd652ab..f4bf88e677 100644 --- a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/serviceusage.ts +++ b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1/serviceusage.ts @@ -359,7 +359,7 @@ export const EnableServiceRequest = { }; function createBaseEnableServiceResponse(): EnableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const EnableServiceResponse = { @@ -505,7 +505,7 @@ export const DisableServiceRequest = { }; function createBaseDisableServiceResponse(): DisableServiceResponse { return { - service: undefined + service: Service.fromPartial({}) }; } export const DisableServiceResponse = { diff --git a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/resources.ts b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/resources.ts index 7e90453588..5719e27b9b 100644 --- a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/resources.ts +++ b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/resources.ts @@ -616,7 +616,7 @@ function createBaseService(): Service { return { name: "", parent: "", - config: undefined, + config: ServiceConfig.fromPartial({}), state: 0 }; } @@ -716,13 +716,13 @@ function createBaseServiceConfig(): ServiceConfig { name: "", title: "", apis: [], - documentation: undefined, - quota: undefined, - authentication: undefined, - usage: undefined, + documentation: Documentation.fromPartial({}), + quota: Quota.fromPartial({}), + authentication: Authentication.fromPartial({}), + usage: Usage.fromPartial({}), endpoints: [], monitoredResources: [], - monitoring: undefined + monitoring: Monitoring.fromPartial({}) }; } export const ServiceConfig = { @@ -1331,9 +1331,9 @@ function createBaseQuotaBucket(): QuotaBucket { return { effectiveLimit: BigInt(0), defaultLimit: BigInt(0), - producerOverride: undefined, - consumerOverride: undefined, - adminOverride: undefined, + producerOverride: QuotaOverride.fromPartial({}), + consumerOverride: QuotaOverride.fromPartial({}), + adminOverride: QuotaOverride.fromPartial({}), dimensions: {} }; } diff --git a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/serviceusage.ts b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/serviceusage.ts index 08b0859714..1f7f009613 100644 --- a/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/serviceusage.ts +++ b/__fixtures__/v-next/outputv4/google/api/serviceusage/v1beta1/serviceusage.ts @@ -1526,7 +1526,7 @@ export const GetConsumerQuotaLimitRequest = { function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -1642,9 +1642,9 @@ export const CreateAdminOverrideRequest = { function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -2336,7 +2336,7 @@ export const ImportAdminOverridesMetadata = { function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { return { parent: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, forceOnly: [] }; @@ -2452,9 +2452,9 @@ export const CreateConsumerOverrideRequest = { function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { return { name: "", - override: undefined, + override: QuotaOverride.fromPartial({}), force: false, - updateMask: undefined, + updateMask: FieldMask.fromPartial({}), forceOnly: [] }; } @@ -3445,7 +3445,7 @@ export const GenerateServiceIdentityRequest = { }; function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { return { - identity: undefined, + identity: ServiceIdentity.fromPartial({}), state: 0 }; } diff --git a/__fixtures__/v-next/outputv4/google/logging/v2/log_entry.ts b/__fixtures__/v-next/outputv4/google/logging/v2/log_entry.ts index a52da71b5e..6dbf0ddb14 100644 --- a/__fixtures__/v-next/outputv4/google/logging/v2/log_entry.ts +++ b/__fixtures__/v-next/outputv4/google/logging/v2/log_entry.ts @@ -357,7 +357,7 @@ export const LogEntry_LabelsEntry = { function createBaseLogEntry(): LogEntry { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), protoPayload: undefined, textPayload: undefined, jsonPayload: undefined, @@ -365,14 +365,14 @@ function createBaseLogEntry(): LogEntry { receiveTimestamp: undefined, severity: 0, insertId: "", - httpRequest: undefined, + httpRequest: HttpRequest.fromPartial({}), labels: {}, - operation: undefined, + operation: LogEntryOperation.fromPartial({}), trace: "", spanId: "", traceSampled: false, - sourceLocation: undefined, - split: undefined + sourceLocation: LogEntrySourceLocation.fromPartial({}), + split: LogSplit.fromPartial({}) }; } export const LogEntry = { diff --git a/__fixtures__/v-next/outputv4/google/logging/v2/logging.ts b/__fixtures__/v-next/outputv4/google/logging/v2/logging.ts index 7e12b0b694..4f40963774 100644 --- a/__fixtures__/v-next/outputv4/google/logging/v2/logging.ts +++ b/__fixtures__/v-next/outputv4/google/logging/v2/logging.ts @@ -619,7 +619,7 @@ export const WriteLogEntriesRequest_LabelsEntry = { function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { return { logName: "", - resource: undefined, + resource: MonitoredResource.fromPartial({}), labels: {}, entries: [], partialSuccess: false, @@ -833,7 +833,7 @@ export const WriteLogEntriesResponse = { function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { return { key: 0, - value: undefined + value: Status.fromPartial({}) }; } export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { diff --git a/__fixtures__/v-next/outputv4/google/logging/v2/logging_config.ts b/__fixtures__/v-next/outputv4/google/logging/v2/logging_config.ts index 8ebb05b46a..39f8f31f1a 100644 --- a/__fixtures__/v-next/outputv4/google/logging/v2/logging_config.ts +++ b/__fixtures__/v-next/outputv4/google/logging/v2/logging_config.ts @@ -1595,7 +1595,7 @@ function createBaseLogBucket(): LogBucket { locked: false, lifecycleState: 0, restrictedFields: [], - cmekSettings: undefined + cmekSettings: CmekSettings.fromPartial({}) }; } export const LogBucket = { @@ -2324,7 +2324,7 @@ function createBaseCreateBucketRequest(): CreateBucketRequest { return { parent: "", bucketId: "", - bucket: undefined + bucket: LogBucket.fromPartial({}) }; } export const CreateBucketRequest = { @@ -2409,8 +2409,8 @@ export const CreateBucketRequest = { function createBaseUpdateBucketRequest(): UpdateBucketRequest { return { name: "", - bucket: undefined, - updateMask: undefined + bucket: LogBucket.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateBucketRequest = { @@ -2843,7 +2843,7 @@ function createBaseCreateViewRequest(): CreateViewRequest { return { parent: "", viewId: "", - view: undefined + view: LogView.fromPartial({}) }; } export const CreateViewRequest = { @@ -2928,8 +2928,8 @@ export const CreateViewRequest = { function createBaseUpdateViewRequest(): UpdateViewRequest { return { name: "", - view: undefined, - updateMask: undefined + view: LogView.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateViewRequest = { @@ -3361,7 +3361,7 @@ export const GetSinkRequest = { function createBaseCreateSinkRequest(): CreateSinkRequest { return { parent: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false }; } @@ -3447,9 +3447,9 @@ export const CreateSinkRequest = { function createBaseUpdateSinkRequest(): UpdateSinkRequest { return { sinkName: "", - sink: undefined, + sink: LogSink.fromPartial({}), uniqueWriterIdentity: false, - updateMask: undefined + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSinkRequest = { @@ -3958,7 +3958,7 @@ export const GetExclusionRequest = { function createBaseCreateExclusionRequest(): CreateExclusionRequest { return { parent: "", - exclusion: undefined + exclusion: LogExclusion.fromPartial({}) }; } export const CreateExclusionRequest = { @@ -4031,8 +4031,8 @@ export const CreateExclusionRequest = { function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { return { name: "", - exclusion: undefined, - updateMask: undefined + exclusion: LogExclusion.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateExclusionRequest = { @@ -4237,8 +4237,8 @@ export const GetCmekSettingsRequest = { function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { return { name: "", - cmekSettings: undefined, - updateMask: undefined + cmekSettings: CmekSettings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateCmekSettingsRequest = { @@ -4469,8 +4469,8 @@ export const GetSettingsRequest = { function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { return { name: "", - settings: undefined, - updateMask: undefined + settings: Settings.fromPartial({}), + updateMask: FieldMask.fromPartial({}) }; } export const UpdateSettingsRequest = { @@ -4756,7 +4756,7 @@ function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { endTime: undefined, state: 0, cancellationRequested: false, - request: undefined, + request: CopyLogEntriesRequest.fromPartial({}), progress: 0, writerIdentity: "" }; diff --git a/__fixtures__/v-next/outputv4/google/logging/v2/logging_metrics.ts b/__fixtures__/v-next/outputv4/google/logging/v2/logging_metrics.ts index 1c4f2f5d53..684ef5e255 100644 --- a/__fixtures__/v-next/outputv4/google/logging/v2/logging_metrics.ts +++ b/__fixtures__/v-next/outputv4/google/logging/v2/logging_metrics.ts @@ -397,10 +397,10 @@ function createBaseLogMetric(): LogMetric { description: "", filter: "", disabled: false, - metricDescriptor: undefined, + metricDescriptor: MetricDescriptor.fromPartial({}), valueExtractor: "", labelExtractors: {}, - bucketOptions: undefined, + bucketOptions: BucketOptions.fromPartial({}), createTime: undefined, updateTime: undefined, version: 0 @@ -849,7 +849,7 @@ export const GetLogMetricRequest = { function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { return { parent: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const CreateLogMetricRequest = { @@ -922,7 +922,7 @@ export const CreateLogMetricRequest = { function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { return { metricName: "", - metric: undefined + metric: LogMetric.fromPartial({}) }; } export const UpdateLogMetricRequest = { diff --git a/__fixtures__/v-next/outputv4/google/protobuf/api.ts b/__fixtures__/v-next/outputv4/google/protobuf/api.ts index a076eefe32..0764f6874e 100644 --- a/__fixtures__/v-next/outputv4/google/protobuf/api.ts +++ b/__fixtures__/v-next/outputv4/google/protobuf/api.ts @@ -282,7 +282,7 @@ function createBaseApi(): Api { methods: [], options: [], version: "", - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), mixins: [], syntax: 0 }; diff --git a/__fixtures__/v-next/outputv4/google/protobuf/compiler/plugin.ts b/__fixtures__/v-next/outputv4/google/protobuf/compiler/plugin.ts index dedbae4811..fa14fa9fa2 100644 --- a/__fixtures__/v-next/outputv4/google/protobuf/compiler/plugin.ts +++ b/__fixtures__/v-next/outputv4/google/protobuf/compiler/plugin.ts @@ -246,7 +246,7 @@ function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { fileToGenerate: [], parameter: "", protoFile: [], - compilerVersion: undefined + compilerVersion: Version.fromPartial({}) }; } export const CodeGeneratorRequest = { diff --git a/__fixtures__/v-next/outputv4/google/protobuf/descriptor.ts b/__fixtures__/v-next/outputv4/google/protobuf/descriptor.ts index 4053470611..afea9e2978 100644 --- a/__fixtures__/v-next/outputv4/google/protobuf/descriptor.ts +++ b/__fixtures__/v-next/outputv4/google/protobuf/descriptor.ts @@ -1357,8 +1357,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { enumType: [], service: [], extension: [], - options: undefined, - sourceCodeInfo: undefined, + options: FileOptions.fromPartial({}), + sourceCodeInfo: SourceCodeInfo.fromPartial({}), syntax: "" }; } @@ -1632,7 +1632,7 @@ function createBaseDescriptorProto(): DescriptorProto { enumType: [], extensionRange: [], oneofDecl: [], - options: undefined, + options: MessageOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -1868,7 +1868,7 @@ function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRa return { start: 0, end: 0, - options: undefined + options: ExtensionRangeOptions.fromPartial({}) }; } export const DescriptorProto_ExtensionRange = { @@ -2102,7 +2102,7 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto { defaultValue: "", oneofIndex: 0, jsonName: "", - options: undefined + options: FieldOptions.fromPartial({}) }; } export const FieldDescriptorProto = { @@ -2271,7 +2271,7 @@ export const FieldDescriptorProto = { function createBaseOneofDescriptorProto(): OneofDescriptorProto { return { name: "", - options: undefined + options: OneofOptions.fromPartial({}) }; } export const OneofDescriptorProto = { @@ -2345,7 +2345,7 @@ function createBaseEnumDescriptorProto(): EnumDescriptorProto { return { name: "", value: [], - options: undefined, + options: EnumOptions.fromPartial({}), reservedRange: [], reservedName: [] }; @@ -2554,7 +2554,7 @@ function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { return { name: "", number: 0, - options: undefined + options: EnumValueOptions.fromPartial({}) }; } export const EnumValueDescriptorProto = { @@ -2640,7 +2640,7 @@ function createBaseServiceDescriptorProto(): ServiceDescriptorProto { return { name: "", method: [], - options: undefined + options: ServiceOptions.fromPartial({}) }; } export const ServiceDescriptorProto = { @@ -2735,7 +2735,7 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto { name: "", inputType: "", outputType: "", - options: undefined, + options: MethodOptions.fromPartial({}), clientStreaming: false, serverStreaming: false }; diff --git a/__fixtures__/v-next/outputv4/google/protobuf/struct.ts b/__fixtures__/v-next/outputv4/google/protobuf/struct.ts index 333b2cd7da..7e9d94a5a2 100644 --- a/__fixtures__/v-next/outputv4/google/protobuf/struct.ts +++ b/__fixtures__/v-next/outputv4/google/protobuf/struct.ts @@ -130,7 +130,7 @@ export interface ListValueSDKType { function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { return { key: "", - value: undefined + value: Value.fromPartial({}) }; } export const Struct_FieldsEntry = { diff --git a/__fixtures__/v-next/outputv4/google/protobuf/type.ts b/__fixtures__/v-next/outputv4/google/protobuf/type.ts index 89debbdebf..fed71f6fe9 100644 --- a/__fixtures__/v-next/outputv4/google/protobuf/type.ts +++ b/__fixtures__/v-next/outputv4/google/protobuf/type.ts @@ -374,7 +374,7 @@ function createBaseType(): Type { fields: [], oneofs: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -707,7 +707,7 @@ function createBaseEnum(): Enum { name: "", enumvalue: [], options: [], - sourceContext: undefined, + sourceContext: SourceContext.fromPartial({}), syntax: 0 }; } @@ -927,7 +927,7 @@ export const EnumValue = { function createBaseOption(): Option { return { name: "", - value: undefined + value: Any.fromPartial({}) }; } export const Option = { diff --git a/__fixtures__/v-next/outputv4/google/rpc/context/attribute_context.ts b/__fixtures__/v-next/outputv4/google/rpc/context/attribute_context.ts index 5cbb1fe974..b3c92683bc 100644 --- a/__fixtures__/v-next/outputv4/google/rpc/context/attribute_context.ts +++ b/__fixtures__/v-next/outputv4/google/rpc/context/attribute_context.ts @@ -531,13 +531,13 @@ export interface AttributeContext_ResourceSDKType { } function createBaseAttributeContext(): AttributeContext { return { - origin: undefined, - source: undefined, - destination: undefined, - request: undefined, - response: undefined, - resource: undefined, - api: undefined, + origin: Peer.fromPartial({}), + source: Peer.fromPartial({}), + destination: Peer.fromPartial({}), + request: Request.fromPartial({}), + response: Response.fromPartial({}), + resource: Resource.fromPartial({}), + api: Api.fromPartial({}), extensions: [] }; } @@ -1015,7 +1015,7 @@ function createBaseAttributeContext_Auth(): AttributeContext_Auth { principal: "", audiences: [], presenter: "", - claims: undefined, + claims: Struct.fromPartial({}), accessLevels: [] }; } @@ -1224,7 +1224,7 @@ function createBaseAttributeContext_Request(): AttributeContext_Request { size: BigInt(0), protocol: "", reason: "", - auth: undefined + auth: Auth.fromPartial({}) }; } export const AttributeContext_Request = { diff --git a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/genesis.ts b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/genesis.ts index 72a8405afe..060225197d 100644 --- a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/genesis.ts @@ -18,7 +18,7 @@ function createBaseGenesisState(): GenesisState { return { portId: "", denomTraces: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/query.ts b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/query.ts index 4f915b71b1..ae67619f81 100644 --- a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/query.ts +++ b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/query.ts @@ -141,7 +141,7 @@ export const QueryDenomTraceRequest = { }; function createBaseQueryDenomTraceResponse(): QueryDenomTraceResponse { return { - denomTrace: undefined + denomTrace: DenomTrace.fromPartial({}) }; } export const QueryDenomTraceResponse = { @@ -201,7 +201,7 @@ export const QueryDenomTraceResponse = { }; function createBaseQueryDenomTracesRequest(): QueryDenomTracesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryDenomTracesRequest = { @@ -262,7 +262,7 @@ export const QueryDenomTracesRequest = { function createBaseQueryDenomTracesResponse(): QueryDenomTracesResponse { return { denomTraces: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryDenomTracesResponse = { @@ -385,7 +385,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/tx.ts b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/tx.ts index 4e886813a9..feed4079f6 100644 --- a/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/tx.ts +++ b/__fixtures__/v-next/outputv4/ibc/applications/transfer/v1/tx.ts @@ -55,7 +55,7 @@ function createBaseMsgTransfer(): MsgTransfer { token: undefined, sender: "", receiver: "", - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/channel.ts b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/channel.ts index 9e3fad6300..d786bfd493 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/channel.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/channel.ts @@ -282,7 +282,7 @@ function createBaseChannel(): Channel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "" }; @@ -402,7 +402,7 @@ function createBaseIdentifiedChannel(): IdentifiedChannel { return { state: 0, ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), connectionHops: [], version: "", portId: "", @@ -625,7 +625,7 @@ function createBasePacket(): Packet { destinationPort: "", destinationChannel: "", data: new Uint8Array(), - timeoutHeight: undefined, + timeoutHeight: Height.fromPartial({}), timeoutTimestamp: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/query.ts b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/query.ts index 1365d1e5af..af53e14a70 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/query.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/query.ts @@ -599,9 +599,9 @@ export const QueryChannelRequest = { }; function createBaseQueryChannelResponse(): QueryChannelResponse { return { - channel: undefined, + channel: Channel.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelResponse = { @@ -685,7 +685,7 @@ export const QueryChannelResponse = { }; function createBaseQueryChannelsRequest(): QueryChannelsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryChannelsRequest = { @@ -746,8 +746,8 @@ export const QueryChannelsRequest = { function createBaseQueryChannelsResponse(): QueryChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryChannelsResponse = { @@ -840,7 +840,7 @@ export const QueryChannelsResponse = { function createBaseQueryConnectionChannelsRequest(): QueryConnectionChannelsRequest { return { connection: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionChannelsRequest = { @@ -913,8 +913,8 @@ export const QueryConnectionChannelsRequest = { function createBaseQueryConnectionChannelsResponse(): QueryConnectionChannelsResponse { return { channels: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionChannelsResponse = { @@ -1079,9 +1079,9 @@ export const QueryChannelClientStateRequest = { }; function createBaseQueryChannelClientStateResponse(): QueryChannelClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelClientStateResponse = { @@ -1267,7 +1267,7 @@ function createBaseQueryChannelConsensusStateResponse(): QueryChannelConsensusSt consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryChannelConsensusStateResponse = { @@ -1451,7 +1451,7 @@ function createBaseQueryPacketCommitmentResponse(): QueryPacketCommitmentRespons return { commitment: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketCommitmentResponse = { @@ -1537,7 +1537,7 @@ function createBaseQueryPacketCommitmentsRequest(): QueryPacketCommitmentsReques return { portId: "", channelId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPacketCommitmentsRequest = { @@ -1622,8 +1622,8 @@ export const QueryPacketCommitmentsRequest = { function createBaseQueryPacketCommitmentsResponse(): QueryPacketCommitmentsResponse { return { commitments: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketCommitmentsResponse = { @@ -1803,7 +1803,7 @@ function createBaseQueryPacketReceiptResponse(): QueryPacketReceiptResponse { return { received: false, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketReceiptResponse = { @@ -1975,7 +1975,7 @@ function createBaseQueryPacketAcknowledgementResponse(): QueryPacketAcknowledgem return { acknowledgement: new Uint8Array(), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementResponse = { @@ -2061,7 +2061,7 @@ function createBaseQueryPacketAcknowledgementsRequest(): QueryPacketAcknowledgem return { portId: "", channelId: "", - pagination: undefined, + pagination: PageRequest.fromPartial({}), packetCommitmentSequences: [] }; } @@ -2176,8 +2176,8 @@ export const QueryPacketAcknowledgementsRequest = { function createBaseQueryPacketAcknowledgementsResponse(): QueryPacketAcknowledgementsResponse { return { acknowledgements: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryPacketAcknowledgementsResponse = { @@ -2373,7 +2373,7 @@ export const QueryUnreceivedPacketsRequest = { function createBaseQueryUnreceivedPacketsResponse(): QueryUnreceivedPacketsResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedPacketsResponse = { @@ -2566,7 +2566,7 @@ export const QueryUnreceivedAcksRequest = { function createBaseQueryUnreceivedAcksResponse(): QueryUnreceivedAcksResponse { return { sequences: [], - height: undefined + height: Height.fromPartial({}) }; } export const QueryUnreceivedAcksResponse = { @@ -2730,7 +2730,7 @@ function createBaseQueryNextSequenceReceiveResponse(): QueryNextSequenceReceiveR return { nextSequenceReceive: BigInt(0), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryNextSequenceReceiveResponse = { diff --git a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/tx.ts b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/tx.ts index 60a9a8d5e9..0f993af9ad 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/channel/v1/tx.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/channel/v1/tx.ts @@ -258,7 +258,7 @@ export interface MsgAcknowledgementResponseSDKType {} function createBaseMsgChannelOpenInit(): MsgChannelOpenInit { return { portId: "", - channel: undefined, + channel: Channel.fromPartial({}), signer: "" }; } @@ -388,10 +388,10 @@ function createBaseMsgChannelOpenTry(): MsgChannelOpenTry { return { portId: "", previousChannelId: "", - channel: undefined, + channel: Channel.fromPartial({}), counterpartyVersion: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -572,7 +572,7 @@ function createBaseMsgChannelOpenAck(): MsgChannelOpenAck { counterpartyChannelId: "", counterpartyVersion: "", proofTry: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -751,7 +751,7 @@ function createBaseMsgChannelOpenConfirm(): MsgChannelOpenConfirm { portId: "", channelId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1035,7 +1035,7 @@ function createBaseMsgChannelCloseConfirm(): MsgChannelCloseConfirm { portId: "", channelId: "", proofInit: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1187,9 +1187,9 @@ export const MsgChannelCloseConfirmResponse = { }; function createBaseMsgRecvPacket(): MsgRecvPacket { return { - packet: undefined, + packet: Packet.fromPartial({}), proofCommitment: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } @@ -1329,9 +1329,9 @@ export const MsgRecvPacketResponse = { }; function createBaseMsgTimeout(): MsgTimeout { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: BigInt(0), signer: "" }; @@ -1484,10 +1484,10 @@ export const MsgTimeoutResponse = { }; function createBaseMsgTimeoutOnClose(): MsgTimeoutOnClose { return { - packet: undefined, + packet: Packet.fromPartial({}), proofUnreceived: new Uint8Array(), proofClose: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), nextSequenceRecv: BigInt(0), signer: "" }; @@ -1652,10 +1652,10 @@ export const MsgTimeoutOnCloseResponse = { }; function createBaseMsgAcknowledgement(): MsgAcknowledgement { return { - packet: undefined, + packet: Packet.fromPartial({}), acknowledgement: new Uint8Array(), proofAcked: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/client/v1/client.ts b/__fixtures__/v-next/outputv4/ibc/core/client/v1/client.ts index 853590029b..d7e01e2b1b 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/client/v1/client.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/client/v1/client.ts @@ -234,7 +234,7 @@ export const IdentifiedClientState = { }; function createBaseConsensusStateWithHeight(): ConsensusStateWithHeight { return { - height: undefined, + height: Height.fromPartial({}), consensusState: undefined }; } @@ -489,7 +489,7 @@ function createBaseUpgradeProposal(): UpgradeProposal { return { title: "", description: "", - plan: undefined, + plan: Plan.fromPartial({}), upgradedClientState: undefined }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/client/v1/genesis.ts b/__fixtures__/v-next/outputv4/ibc/core/client/v1/genesis.ts index d3dbecf2ff..d73f60a4a9 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/client/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/client/v1/genesis.ts @@ -64,7 +64,7 @@ function createBaseGenesisState(): GenesisState { clients: [], clientsConsensus: [], clientsMetadata: [], - params: undefined, + params: Params.fromPartial({}), createLocalhost: false, nextClientSequence: BigInt(0) }; diff --git a/__fixtures__/v-next/outputv4/ibc/core/client/v1/query.ts b/__fixtures__/v-next/outputv4/ibc/core/client/v1/query.ts index 17cae07110..c639c312cf 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/client/v1/query.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/client/v1/query.ts @@ -329,7 +329,7 @@ function createBaseQueryClientStateResponse(): QueryClientStateResponse { return { clientState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientStateResponse = { @@ -413,7 +413,7 @@ export const QueryClientStateResponse = { }; function createBaseQueryClientStatesRequest(): QueryClientStatesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryClientStatesRequest = { @@ -474,7 +474,7 @@ export const QueryClientStatesRequest = { function createBaseQueryClientStatesResponse(): QueryClientStatesResponse { return { clientStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryClientStatesResponse = { @@ -655,7 +655,7 @@ function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse { return { consensusState: undefined, proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConsensusStateResponse = { @@ -740,7 +740,7 @@ export const QueryConsensusStateResponse = { function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest { return { clientId: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConsensusStatesRequest = { @@ -813,7 +813,7 @@ export const QueryConsensusStatesRequest = { function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse { return { consensusStates: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryConsensusStatesResponse = { @@ -1056,7 +1056,7 @@ export const QueryClientParamsRequest = { }; function createBaseQueryClientParamsResponse(): QueryClientParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryClientParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/connection.ts b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/connection.ts index 76800fe9d8..141b94f753 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/connection.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/connection.ts @@ -205,7 +205,7 @@ function createBaseConnectionEnd(): ConnectionEnd { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0) }; } @@ -326,7 +326,7 @@ function createBaseIdentifiedConnection(): IdentifiedConnection { clientId: "", versions: [], state: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0) }; } @@ -457,7 +457,7 @@ function createBaseCounterparty(): Counterparty { return { clientId: "", connectionId: "", - prefix: undefined + prefix: MerklePrefix.fromPartial({}) }; } export const Counterparty = { diff --git a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/genesis.ts b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/genesis.ts index a8f8edc5ac..7b990126ba 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/genesis.ts @@ -22,7 +22,7 @@ function createBaseGenesisState(): GenesisState { connections: [], clientConnectionPaths: [], nextConnectionSequence: BigInt(0), - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/query.ts b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/query.ts index f24adea1a2..3ef48c8b7a 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/query.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/query.ts @@ -255,9 +255,9 @@ export const QueryConnectionRequest = { }; function createBaseQueryConnectionResponse(): QueryConnectionResponse { return { - connection: undefined, + connection: ConnectionEnd.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionResponse = { @@ -341,7 +341,7 @@ export const QueryConnectionResponse = { }; function createBaseQueryConnectionsRequest(): QueryConnectionsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryConnectionsRequest = { @@ -402,8 +402,8 @@ export const QueryConnectionsRequest = { function createBaseQueryConnectionsResponse(): QueryConnectionsResponse { return { connections: [], - pagination: undefined, - height: undefined + pagination: PageResponse.fromPartial({}), + height: Height.fromPartial({}) }; } export const QueryConnectionsResponse = { @@ -557,7 +557,7 @@ function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsRespo return { connectionPaths: [], proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryClientConnectionsResponse = { @@ -709,9 +709,9 @@ export const QueryConnectionClientStateRequest = { }; function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse { return { - identifiedClientState: undefined, + identifiedClientState: IdentifiedClientState.fromPartial({}), proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionClientStateResponse = { @@ -884,7 +884,7 @@ function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConse consensusState: undefined, clientId: "", proof: new Uint8Array(), - proofHeight: undefined + proofHeight: Height.fromPartial({}) }; } export const QueryConnectionConsensusStateResponse = { diff --git a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/tx.ts b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/tx.ts index ae3f381b13..58dee96914 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/connection/v1/tx.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/connection/v1/tx.ts @@ -162,8 +162,8 @@ export interface MsgConnectionOpenConfirmResponseSDKType {} function createBaseMsgConnectionOpenInit(): MsgConnectionOpenInit { return { clientId: "", - counterparty: undefined, - version: undefined, + counterparty: Counterparty.fromPartial({}), + version: Version.fromPartial({}), delayPeriod: BigInt(0), signer: "" }; @@ -319,14 +319,14 @@ function createBaseMsgConnectionOpenTry(): MsgConnectionOpenTry { clientId: "", previousConnectionId: "", clientState: undefined, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), delayPeriod: BigInt(0), counterpartyVersions: [], - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofInit: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -572,13 +572,13 @@ function createBaseMsgConnectionOpenAck(): MsgConnectionOpenAck { return { connectionId: "", counterpartyConnectionId: "", - version: undefined, + version: Version.fromPartial({}), clientState: undefined, - proofHeight: undefined, + proofHeight: Height.fromPartial({}), proofTry: new Uint8Array(), proofClient: new Uint8Array(), proofConsensus: new Uint8Array(), - consensusHeight: undefined, + consensusHeight: Height.fromPartial({}), signer: "" }; } @@ -792,7 +792,7 @@ function createBaseMsgConnectionOpenConfirm(): MsgConnectionOpenConfirm { return { connectionId: "", proofAck: new Uint8Array(), - proofHeight: undefined, + proofHeight: Height.fromPartial({}), signer: "" }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/port/v1/query.ts b/__fixtures__/v-next/outputv4/ibc/core/port/v1/query.ts index c2d7018b42..b835988f45 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/port/v1/query.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/port/v1/query.ts @@ -40,7 +40,7 @@ function createBaseQueryAppVersionRequest(): QueryAppVersionRequest { portId: "", connectionId: "", ordering: 0, - counterparty: undefined, + counterparty: Counterparty.fromPartial({}), proposedVersion: "" }; } diff --git a/__fixtures__/v-next/outputv4/ibc/core/types/v1/genesis.ts b/__fixtures__/v-next/outputv4/ibc/core/types/v1/genesis.ts index ba26d80ed8..47d8ca306b 100644 --- a/__fixtures__/v-next/outputv4/ibc/core/types/v1/genesis.ts +++ b/__fixtures__/v-next/outputv4/ibc/core/types/v1/genesis.ts @@ -24,9 +24,9 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - clientGenesis: undefined, - connectionGenesis: undefined, - channelGenesis: undefined + clientGenesis: GenesisState.fromPartial({}), + connectionGenesis: GenesisState.fromPartial({}), + channelGenesis: GenesisState.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/ibc/lightclients/localhost/v1/localhost.ts b/__fixtures__/v-next/outputv4/ibc/lightclients/localhost/v1/localhost.ts index 0295f55394..e66dbc9f77 100644 --- a/__fixtures__/v-next/outputv4/ibc/lightclients/localhost/v1/localhost.ts +++ b/__fixtures__/v-next/outputv4/ibc/lightclients/localhost/v1/localhost.ts @@ -23,7 +23,7 @@ export interface ClientStateSDKType { function createBaseClientState(): ClientState { return { chainId: "", - height: undefined + height: Height.fromPartial({}) }; } export const ClientState = { diff --git a/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v1/solomachine.ts b/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v1/solomachine.ts index 6992594b82..08c6572e5f 100644 --- a/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v1/solomachine.ts +++ b/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v1/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: BigInt(0), frozenSequence: BigInt(0), - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -673,8 +673,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: BigInt(0), - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1274,7 +1274,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1347,7 +1347,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v2/solomachine.ts b/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v2/solomachine.ts index be8e9ffd77..0114583a2e 100644 --- a/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v2/solomachine.ts +++ b/__fixtures__/v-next/outputv4/ibc/lightclients/solomachine/v2/solomachine.ts @@ -376,7 +376,7 @@ function createBaseClientState(): ClientState { return { sequence: BigInt(0), isFrozen: false, - consensusState: undefined, + consensusState: ConsensusState.fromPartial({}), allowUpdateAfterProposal: false }; } @@ -673,8 +673,8 @@ function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", sequence: BigInt(0), - signatureOne: undefined, - signatureTwo: undefined + signatureOne: SignatureAndData.fromPartial({}), + signatureTwo: SignatureAndData.fromPartial({}) }; } export const Misbehaviour = { @@ -1274,7 +1274,7 @@ export const ConsensusStateData = { function createBaseConnectionStateData(): ConnectionStateData { return { path: new Uint8Array(), - connection: undefined + connection: ConnectionEnd.fromPartial({}) }; } export const ConnectionStateData = { @@ -1347,7 +1347,7 @@ export const ConnectionStateData = { function createBaseChannelStateData(): ChannelStateData { return { path: new Uint8Array(), - channel: undefined + channel: Channel.fromPartial({}) }; } export const ChannelStateData = { diff --git a/__fixtures__/v-next/outputv4/ibc/lightclients/tendermint/v1/tendermint.ts b/__fixtures__/v-next/outputv4/ibc/lightclients/tendermint/v1/tendermint.ts index ea38c8cc1d..bc30a05712 100644 --- a/__fixtures__/v-next/outputv4/ibc/lightclients/tendermint/v1/tendermint.ts +++ b/__fixtures__/v-next/outputv4/ibc/lightclients/tendermint/v1/tendermint.ts @@ -162,12 +162,12 @@ export interface FractionSDKType { function createBaseClientState(): ClientState { return { chainId: "", - trustLevel: undefined, + trustLevel: Fraction.fromPartial({}), trustingPeriod: undefined, unbondingPeriod: undefined, maxClockDrift: undefined, - frozenHeight: undefined, - latestHeight: undefined, + frozenHeight: Height.fromPartial({}), + latestHeight: Height.fromPartial({}), proofSpecs: [], upgradePath: [], allowUpdateAfterExpiry: false, @@ -368,7 +368,7 @@ export const ClientState = { function createBaseConsensusState(): ConsensusState { return { timestamp: undefined, - root: undefined, + root: MerkleRoot.fromPartial({}), nextValidatorsHash: new Uint8Array() }; } @@ -454,8 +454,8 @@ export const ConsensusState = { function createBaseMisbehaviour(): Misbehaviour { return { clientId: "", - header1: undefined, - header2: undefined + header1: Header.fromPartial({}), + header2: Header.fromPartial({}) }; } export const Misbehaviour = { @@ -539,10 +539,10 @@ export const Misbehaviour = { }; function createBaseHeader(): Header { return { - signedHeader: undefined, - validatorSet: undefined, - trustedHeight: undefined, - trustedValidators: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}), + trustedHeight: Height.fromPartial({}), + trustedValidators: ValidatorSet.fromPartial({}) }; } export const Header = { diff --git a/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/genesis.ts index cd1ffb566b..44389c5fe2 100644 --- a/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/genesis.ts @@ -22,7 +22,7 @@ export interface GenesisStateSDKType { function createBaseGenesisState(): GenesisState { return { moduleAccountBalance: undefined, - params: undefined, + params: Params.fromPartial({}), claimRecords: [] }; } diff --git a/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/query.ts index a69b5e27ad..27f8c77a33 100644 --- a/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/claim/v1beta1/query.ts @@ -224,7 +224,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -344,7 +344,7 @@ export const QueryClaimRecordRequest = { }; function createBaseQueryClaimRecordResponse(): QueryClaimRecordResponse { return { - claimRecord: undefined + claimRecord: ClaimRecord.fromPartial({}) }; } export const QueryClaimRecordResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/balancerPool.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/balancerPool.ts index 3a6dba7f2a..54b79db133 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/balancerPool.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/balancerPool.ts @@ -422,7 +422,7 @@ function createBasePool(): Pool { return { address: "", id: BigInt(0), - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolAssets: [], diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/tx/tx.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/tx/tx.ts index 3caf39ad19..60d1b3f9a1 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/tx/tx.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/balancer/tx/tx.ts @@ -27,7 +27,7 @@ export interface MsgCreateBalancerPoolResponseSDKType { function createBaseMsgCreateBalancerPool(): MsgCreateBalancerPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), poolAssets: [], futurePoolGovernor: "" }; diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts index 83bb7b3d9f..3235cb5e2f 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/stableswap_pool.ts @@ -136,7 +136,7 @@ function createBasePool(): Pool { return { address: "", id: BigInt(0), - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), futurePoolGovernor: "", totalShares: undefined, poolLiquidity: [], diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/tx.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/tx.ts index 5920ee3325..4526b6f6f8 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/tx.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/pool-models/stableswap/tx.ts @@ -52,7 +52,7 @@ export interface MsgStableSwapAdjustScalingFactorsResponseSDKType {} function createBaseMsgCreateStableswapPool(): MsgCreateStableswapPool { return { sender: "", - poolParams: undefined, + poolParams: PoolParams.fromPartial({}), initialPoolLiquidity: [], scalingFactors: [], futurePoolGovernor: "", diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/genesis.ts index cadcba851c..52559c9b82 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/genesis.ts @@ -96,7 +96,7 @@ function createBaseGenesisState(): GenesisState { return { pools: [], nextPoolNumber: BigInt(0), - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/query.ts index 16840e1423..1579bd671a 100644 --- a/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/gamm/v1beta1/query.ts @@ -383,7 +383,7 @@ export const QueryPoolResponse = { }; function createBaseQueryPoolsRequest(): QueryPoolsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsRequest = { @@ -444,7 +444,7 @@ export const QueryPoolsRequest = { function createBaseQueryPoolsResponse(): QueryPoolsResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsResponse = { @@ -1668,7 +1668,7 @@ function createBaseQueryPoolsWithFilterRequest(): QueryPoolsWithFilterRequest { return { minLiquidity: [], poolType: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const QueryPoolsWithFilterRequest = { @@ -1761,7 +1761,7 @@ export const QueryPoolsWithFilterRequest = { function createBaseQueryPoolsWithFilterResponse(): QueryPoolsWithFilterResponse { return { pools: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const QueryPoolsWithFilterResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/ibc-rate-limit/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/ibc-rate-limit/v1beta1/query.ts index 1b6a305fd1..e43d80196c 100644 --- a/__fixtures__/v-next/outputv4/osmosis/ibc-rate-limit/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/ibc-rate-limit/v1beta1/query.ts @@ -60,7 +60,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/incentives/gauge.ts b/__fixtures__/v-next/outputv4/osmosis/incentives/gauge.ts index b87328a173..b39639b7da 100644 --- a/__fixtures__/v-next/outputv4/osmosis/incentives/gauge.ts +++ b/__fixtures__/v-next/outputv4/osmosis/incentives/gauge.ts @@ -72,7 +72,7 @@ function createBaseGauge(): Gauge { return { id: BigInt(0), isPerpetual: false, - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: BigInt(0), diff --git a/__fixtures__/v-next/outputv4/osmosis/incentives/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/incentives/genesis.ts index 34f8f189ed..753d76cf2d 100644 --- a/__fixtures__/v-next/outputv4/osmosis/incentives/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/incentives/genesis.ts @@ -36,7 +36,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), gauges: [], lockableDurations: [], lastGaugeId: BigInt(0) diff --git a/__fixtures__/v-next/outputv4/osmosis/incentives/query.ts b/__fixtures__/v-next/outputv4/osmosis/incentives/query.ts index e23d864ff8..2b96c2017a 100644 --- a/__fixtures__/v-next/outputv4/osmosis/incentives/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/incentives/query.ts @@ -327,7 +327,7 @@ export const GaugeByIDRequest = { }; function createBaseGaugeByIDResponse(): GaugeByIDResponse { return { - gauge: undefined + gauge: Gauge.fromPartial({}) }; } export const GaugeByIDResponse = { @@ -387,7 +387,7 @@ export const GaugeByIDResponse = { }; function createBaseGaugesRequest(): GaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const GaugesRequest = { @@ -448,7 +448,7 @@ export const GaugesRequest = { function createBaseGaugesResponse(): GaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const GaugesResponse = { @@ -528,7 +528,7 @@ export const GaugesResponse = { }; function createBaseActiveGaugesRequest(): ActiveGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesRequest = { @@ -589,7 +589,7 @@ export const ActiveGaugesRequest = { function createBaseActiveGaugesResponse(): ActiveGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesResponse = { @@ -670,7 +670,7 @@ export const ActiveGaugesResponse = { function createBaseActiveGaugesPerDenomRequest(): ActiveGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const ActiveGaugesPerDenomRequest = { @@ -743,7 +743,7 @@ export const ActiveGaugesPerDenomRequest = { function createBaseActiveGaugesPerDenomResponse(): ActiveGaugesPerDenomResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const ActiveGaugesPerDenomResponse = { @@ -823,7 +823,7 @@ export const ActiveGaugesPerDenomResponse = { }; function createBaseUpcomingGaugesRequest(): UpcomingGaugesRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesRequest = { @@ -884,7 +884,7 @@ export const UpcomingGaugesRequest = { function createBaseUpcomingGaugesResponse(): UpcomingGaugesResponse { return { data: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesResponse = { @@ -965,7 +965,7 @@ export const UpcomingGaugesResponse = { function createBaseUpcomingGaugesPerDenomRequest(): UpcomingGaugesPerDenomRequest { return { denom: "", - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const UpcomingGaugesPerDenomRequest = { @@ -1038,7 +1038,7 @@ export const UpcomingGaugesPerDenomRequest = { function createBaseUpcomingGaugesPerDenomResponse(): UpcomingGaugesPerDenomResponse { return { upcomingGauges: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const UpcomingGaugesPerDenomResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/incentives/tx.ts b/__fixtures__/v-next/outputv4/osmosis/incentives/tx.ts index 548a80d79b..7bc3784e01 100644 --- a/__fixtures__/v-next/outputv4/osmosis/incentives/tx.ts +++ b/__fixtures__/v-next/outputv4/osmosis/incentives/tx.ts @@ -63,7 +63,7 @@ function createBaseMsgCreateGauge(): MsgCreateGauge { return { isPerpetual: false, owner: "", - distributeTo: undefined, + distributeTo: QueryCondition.fromPartial({}), coins: [], startTime: undefined, numEpochsPaidOver: BigInt(0) diff --git a/__fixtures__/v-next/outputv4/osmosis/lockup/query.ts b/__fixtures__/v-next/outputv4/osmosis/lockup/query.ts index 461da86a34..46f3bdc702 100644 --- a/__fixtures__/v-next/outputv4/osmosis/lockup/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/lockup/query.ts @@ -1598,7 +1598,7 @@ export const LockedRequest = { }; function createBaseLockedResponse(): LockedResponse { return { - lock: undefined + lock: PeriodLock.fromPartial({}) }; } export const LockedResponse = { @@ -2406,7 +2406,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/genesis.ts index c7b499ea6f..567fbeb2ce 100644 --- a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/genesis.ts @@ -22,8 +22,8 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - minter: undefined, - params: undefined, + minter: Minter.fromPartial({}), + params: Params.fromPartial({}), reductionStartedEpoch: BigInt(0) }; } diff --git a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/mint.ts b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/mint.ts index f8a91647b9..185c43e492 100644 --- a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/mint.ts +++ b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/mint.ts @@ -354,7 +354,7 @@ function createBaseParams(): Params { epochIdentifier: "", reductionPeriodInEpochs: BigInt(0), reductionFactor: "", - distributionProportions: undefined, + distributionProportions: DistributionProportions.fromPartial({}), weightedDeveloperRewardsReceivers: [], mintingRewardsDistributionStartEpoch: BigInt(0) }; diff --git a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/query.ts index 15666e75cf..e6be8d3da2 100644 --- a/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/mint/v1beta1/query.ts @@ -85,7 +85,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/genesis.ts index b66128a019..b22deda731 100644 --- a/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/genesis.ts @@ -20,7 +20,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), lockableDurations: [], distrInfo: undefined, poolToGauges: undefined diff --git a/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/query.ts index 1db76d843f..037cee276c 100644 --- a/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/pool-incentives/v1beta1/query.ts @@ -335,7 +335,7 @@ export const QueryDistrInfoRequest = { }; function createBaseQueryDistrInfoResponse(): QueryDistrInfoResponse { return { - distrInfo: undefined + distrInfo: DistrInfo.fromPartial({}) }; } export const QueryDistrInfoResponse = { @@ -438,7 +438,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/sumtree/v1beta1/tree.ts b/__fixtures__/v-next/outputv4/osmosis/sumtree/v1beta1/tree.ts index 91cb2f4309..fed713b0cd 100644 --- a/__fixtures__/v-next/outputv4/osmosis/sumtree/v1beta1/tree.ts +++ b/__fixtures__/v-next/outputv4/osmosis/sumtree/v1beta1/tree.ts @@ -164,7 +164,7 @@ export const Child = { }; function createBaseLeaf(): Leaf { return { - leaf: undefined + leaf: Child.fromPartial({}) }; } export const Leaf = { diff --git a/__fixtures__/v-next/outputv4/osmosis/superfluid/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/superfluid/genesis.ts index 5d15a835c1..ccd3211728 100644 --- a/__fixtures__/v-next/outputv4/osmosis/superfluid/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/superfluid/genesis.ts @@ -33,7 +33,7 @@ export interface GenesisStateSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), superfluidAssets: [], osmoEquivalentMultipliers: [], intermediaryAccounts: [], diff --git a/__fixtures__/v-next/outputv4/osmosis/superfluid/query.ts b/__fixtures__/v-next/outputv4/osmosis/superfluid/query.ts index e3ef544d20..46b9027db1 100644 --- a/__fixtures__/v-next/outputv4/osmosis/superfluid/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/superfluid/query.ts @@ -265,7 +265,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -616,7 +616,7 @@ export const AssetMultiplierRequest = { }; function createBaseAssetMultiplierResponse(): AssetMultiplierResponse { return { - osmoEquivalentMultiplier: undefined + osmoEquivalentMultiplier: OsmoEquivalentMultiplierRecord.fromPartial({}) }; } export const AssetMultiplierResponse = { @@ -775,7 +775,7 @@ export const SuperfluidIntermediaryAccountInfo = { }; function createBaseAllIntermediaryAccountsRequest(): AllIntermediaryAccountsRequest { return { - pagination: undefined + pagination: PageRequest.fromPartial({}) }; } export const AllIntermediaryAccountsRequest = { @@ -836,7 +836,7 @@ export const AllIntermediaryAccountsRequest = { function createBaseAllIntermediaryAccountsResponse(): AllIntermediaryAccountsResponse { return { accounts: [], - pagination: undefined + pagination: PageResponse.fromPartial({}) }; } export const AllIntermediaryAccountsResponse = { @@ -976,7 +976,7 @@ export const ConnectedIntermediaryAccountRequest = { }; function createBaseConnectedIntermediaryAccountResponse(): ConnectedIntermediaryAccountResponse { return { - account: undefined + account: SuperfluidIntermediaryAccountInfo.fromPartial({}) }; } export const ConnectedIntermediaryAccountResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/genesis.ts index 48af623fe0..e087b34cda 100644 --- a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/genesis.ts @@ -34,7 +34,7 @@ export interface GenesisDenomSDKType { } function createBaseGenesisState(): GenesisState { return { - params: undefined, + params: Params.fromPartial({}), factoryDenoms: [] }; } @@ -116,7 +116,7 @@ export const GenesisState = { function createBaseGenesisDenom(): GenesisDenom { return { denom: "", - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const GenesisDenom = { diff --git a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/query.ts index 42233119b9..69a22c87e1 100644 --- a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/query.ts @@ -117,7 +117,7 @@ export const QueryParamsRequest = { }; function createBaseQueryParamsResponse(): QueryParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const QueryParamsResponse = { @@ -237,7 +237,7 @@ export const QueryDenomAuthorityMetadataRequest = { }; function createBaseQueryDenomAuthorityMetadataResponse(): QueryDenomAuthorityMetadataResponse { return { - authorityMetadata: undefined + authorityMetadata: DenomAuthorityMetadata.fromPartial({}) }; } export const QueryDenomAuthorityMetadataResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/tx.ts b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/tx.ts index ba4cafa422..a85c5d971a 100644 --- a/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/tx.ts +++ b/__fixtures__/v-next/outputv4/osmosis/tokenfactory/v1beta1/tx.ts @@ -635,7 +635,7 @@ export const MsgChangeAdminResponse = { function createBaseMsgSetDenomMetadata(): MsgSetDenomMetadata { return { sender: "", - metadata: undefined + metadata: Metadata.fromPartial({}) }; } export const MsgSetDenomMetadata = { diff --git a/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/genesis.ts b/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/genesis.ts index b9b4ccce33..c5e1571242 100644 --- a/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/genesis.ts +++ b/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/genesis.ts @@ -101,7 +101,7 @@ export const Params = { function createBaseGenesisState(): GenesisState { return { twaps: [], - params: undefined + params: Params.fromPartial({}) }; } export const GenesisState = { diff --git a/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/query.ts b/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/query.ts index 1ef113d762..6a70de76e3 100644 --- a/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/query.ts +++ b/__fixtures__/v-next/outputv4/osmosis/twap/v1beta1/query.ts @@ -426,7 +426,7 @@ export const ParamsRequest = { }; function createBaseParamsResponse(): ParamsResponse { return { - params: undefined + params: Params.fromPartial({}) }; } export const ParamsResponse = { diff --git a/__fixtures__/v-next/outputv4/osmosis/txfees/v1beta1/gov.ts b/__fixtures__/v-next/outputv4/osmosis/txfees/v1beta1/gov.ts index e6122ae305..0b95fc5019 100644 --- a/__fixtures__/v-next/outputv4/osmosis/txfees/v1beta1/gov.ts +++ b/__fixtures__/v-next/outputv4/osmosis/txfees/v1beta1/gov.ts @@ -30,7 +30,7 @@ function createBaseUpdateFeeTokenProposal(): UpdateFeeTokenProposal { return { title: "", description: "", - feetoken: undefined + feetoken: FeeToken.fromPartial({}) }; } export const UpdateFeeTokenProposal = { diff --git a/__fixtures__/v-next/outputv4/tendermint/abci/types.ts b/__fixtures__/v-next/outputv4/tendermint/abci/types.ts index 065f53f2d4..8ca768d27d 100644 --- a/__fixtures__/v-next/outputv4/tendermint/abci/types.ts +++ b/__fixtures__/v-next/outputv4/tendermint/abci/types.ts @@ -1249,7 +1249,7 @@ function createBaseRequestInitChain(): RequestInitChain { return { time: undefined, chainId: "", - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appStateBytes: new Uint8Array(), initialHeight: BigInt(0) @@ -1480,8 +1480,8 @@ export const RequestQuery = { function createBaseRequestBeginBlock(): RequestBeginBlock { return { hash: new Uint8Array(), - header: undefined, - lastCommitInfo: undefined, + header: Header.fromPartial({}), + lastCommitInfo: LastCommitInfo.fromPartial({}), byzantineValidators: [] }; } @@ -1865,7 +1865,7 @@ export const RequestListSnapshots = { }; function createBaseRequestOfferSnapshot(): RequestOfferSnapshot { return { - snapshot: undefined, + snapshot: Snapshot.fromPartial({}), appHash: new Uint8Array() }; } @@ -2726,7 +2726,7 @@ export const ResponseSetOption = { }; function createBaseResponseInitChain(): ResponseInitChain { return { - consensusParams: undefined, + consensusParams: ConsensusParams.fromPartial({}), validators: [], appHash: new Uint8Array() }; @@ -2826,7 +2826,7 @@ function createBaseResponseQuery(): ResponseQuery { index: BigInt(0), key: new Uint8Array(), value: new Uint8Array(), - proofOps: undefined, + proofOps: ProofOps.fromPartial({}), height: BigInt(0), codespace: "" }; @@ -3371,7 +3371,7 @@ export const ResponseDeliverTx = { function createBaseResponseEndBlock(): ResponseEndBlock { return { validatorUpdates: [], - consensusParamUpdates: undefined, + consensusParamUpdates: ConsensusParams.fromPartial({}), events: [] }; } @@ -3844,10 +3844,10 @@ export const ResponseApplySnapshotChunk = { }; function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { @@ -4267,7 +4267,7 @@ function createBaseTxResult(): TxResult { height: BigInt(0), index: 0, tx: new Uint8Array(), - result: undefined + result: ResponseDeliverTx.fromPartial({}) }; } export const TxResult = { @@ -4509,7 +4509,7 @@ export const ValidatorUpdate = { }; function createBaseVoteInfo(): VoteInfo { return { - validator: undefined, + validator: Validator.fromPartial({}), signedLastBlock: false }; } @@ -4583,7 +4583,7 @@ export const VoteInfo = { function createBaseEvidence(): Evidence { return { type: 0, - validator: undefined, + validator: Validator.fromPartial({}), height: BigInt(0), time: undefined, totalVotingPower: BigInt(0) diff --git a/__fixtures__/v-next/outputv4/tendermint/crypto/proof.ts b/__fixtures__/v-next/outputv4/tendermint/crypto/proof.ts index 5f98629ad4..79d25abff1 100644 --- a/__fixtures__/v-next/outputv4/tendermint/crypto/proof.ts +++ b/__fixtures__/v-next/outputv4/tendermint/crypto/proof.ts @@ -171,7 +171,7 @@ export const Proof = { function createBaseValueOp(): ValueOp { return { key: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const ValueOp = { diff --git a/__fixtures__/v-next/outputv4/tendermint/p2p/types.ts b/__fixtures__/v-next/outputv4/tendermint/p2p/types.ts index 633524ed22..580f95a81e 100644 --- a/__fixtures__/v-next/outputv4/tendermint/p2p/types.ts +++ b/__fixtures__/v-next/outputv4/tendermint/p2p/types.ts @@ -150,14 +150,14 @@ export const ProtocolVersion = { }; function createBaseNodeInfo(): NodeInfo { return { - protocolVersion: undefined, + protocolVersion: ProtocolVersion.fromPartial({}), nodeId: "", listenAddr: "", network: "", version: "", channels: new Uint8Array(), moniker: "", - other: undefined + other: NodeInfoOther.fromPartial({}) }; } export const NodeInfo = { diff --git a/__fixtures__/v-next/outputv4/tendermint/types/block.ts b/__fixtures__/v-next/outputv4/tendermint/types/block.ts index efe0e57b4c..1dfc032292 100644 --- a/__fixtures__/v-next/outputv4/tendermint/types/block.ts +++ b/__fixtures__/v-next/outputv4/tendermint/types/block.ts @@ -17,10 +17,10 @@ export interface BlockSDKType { } function createBaseBlock(): Block { return { - header: undefined, - data: undefined, - evidence: undefined, - lastCommit: undefined + header: Header.fromPartial({}), + data: Data.fromPartial({}), + evidence: EvidenceList.fromPartial({}), + lastCommit: Commit.fromPartial({}) }; } export const Block = { diff --git a/__fixtures__/v-next/outputv4/tendermint/types/evidence.ts b/__fixtures__/v-next/outputv4/tendermint/types/evidence.ts index 05d89f69a0..86dc310068 100644 --- a/__fixtures__/v-next/outputv4/tendermint/types/evidence.ts +++ b/__fixtures__/v-next/outputv4/tendermint/types/evidence.ts @@ -125,8 +125,8 @@ export const Evidence = { }; function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { return { - voteA: undefined, - voteB: undefined, + voteA: Vote.fromPartial({}), + voteB: Vote.fromPartial({}), totalVotingPower: BigInt(0), validatorPower: BigInt(0), timestamp: undefined @@ -237,7 +237,7 @@ export const DuplicateVoteEvidence = { }; function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { return { - conflictingBlock: undefined, + conflictingBlock: LightBlock.fromPartial({}), commonHeight: BigInt(0), byzantineValidators: [], totalVotingPower: BigInt(0), diff --git a/__fixtures__/v-next/outputv4/tendermint/types/params.ts b/__fixtures__/v-next/outputv4/tendermint/types/params.ts index cc48a20a57..882aa4e4ac 100644 --- a/__fixtures__/v-next/outputv4/tendermint/types/params.ts +++ b/__fixtures__/v-next/outputv4/tendermint/types/params.ts @@ -120,10 +120,10 @@ export interface HashedParamsSDKType { } function createBaseConsensusParams(): ConsensusParams { return { - block: undefined, - evidence: undefined, - validator: undefined, - version: undefined + block: BlockParams.fromPartial({}), + evidence: EvidenceParams.fromPartial({}), + validator: ValidatorParams.fromPartial({}), + version: VersionParams.fromPartial({}) }; } export const ConsensusParams = { diff --git a/__fixtures__/v-next/outputv4/tendermint/types/types.ts b/__fixtures__/v-next/outputv4/tendermint/types/types.ts index 8151f7cffc..1e8ea1d1cc 100644 --- a/__fixtures__/v-next/outputv4/tendermint/types/types.ts +++ b/__fixtures__/v-next/outputv4/tendermint/types/types.ts @@ -373,7 +373,7 @@ function createBasePart(): Part { return { index: 0, bytes: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const Part = { @@ -458,7 +458,7 @@ export const Part = { function createBaseBlockID(): BlockID { return { hash: new Uint8Array(), - partSetHeader: undefined + partSetHeader: PartSetHeader.fromPartial({}) }; } export const BlockID = { @@ -530,11 +530,11 @@ export const BlockID = { }; function createBaseHeader(): Header { return { - version: undefined, + version: Consensus.fromPartial({}), chainId: "", height: BigInt(0), time: undefined, - lastBlockId: undefined, + lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), validatorsHash: new Uint8Array(), @@ -830,7 +830,7 @@ function createBaseVote(): Vote { type: 0, height: BigInt(0), round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, validatorAddress: new Uint8Array(), validatorIndex: 0, @@ -980,7 +980,7 @@ function createBaseCommit(): Commit { return { height: BigInt(0), round: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), signatures: [] }; } @@ -1188,7 +1188,7 @@ function createBaseProposal(): Proposal { height: BigInt(0), round: 0, polRound: 0, - blockId: undefined, + blockId: BlockID.fromPartial({}), timestamp: undefined, signature: new Uint8Array() }; @@ -1322,8 +1322,8 @@ export const Proposal = { }; function createBaseSignedHeader(): SignedHeader { return { - header: undefined, - commit: undefined + header: Header.fromPartial({}), + commit: Commit.fromPartial({}) }; } export const SignedHeader = { @@ -1395,8 +1395,8 @@ export const SignedHeader = { }; function createBaseLightBlock(): LightBlock { return { - signedHeader: undefined, - validatorSet: undefined + signedHeader: SignedHeader.fromPartial({}), + validatorSet: ValidatorSet.fromPartial({}) }; } export const LightBlock = { @@ -1468,9 +1468,9 @@ export const LightBlock = { }; function createBaseBlockMeta(): BlockMeta { return { - blockId: undefined, + blockId: BlockID.fromPartial({}), blockSize: BigInt(0), - header: undefined, + header: Header.fromPartial({}), numTxs: BigInt(0) }; } @@ -1569,7 +1569,7 @@ function createBaseTxProof(): TxProof { return { rootHash: new Uint8Array(), data: new Uint8Array(), - proof: undefined + proof: Proof.fromPartial({}) }; } export const TxProof = { diff --git a/__fixtures__/v-next/outputv4/tendermint/types/validator.ts b/__fixtures__/v-next/outputv4/tendermint/types/validator.ts index c4064b46e1..5d8420846b 100644 --- a/__fixtures__/v-next/outputv4/tendermint/types/validator.ts +++ b/__fixtures__/v-next/outputv4/tendermint/types/validator.ts @@ -35,7 +35,7 @@ export interface SimpleValidatorSDKType { function createBaseValidatorSet(): ValidatorSet { return { validators: [], - proposer: undefined, + proposer: Validator.fromPartial({}), totalVotingPower: BigInt(0) }; } diff --git a/packages/ast/src/encoding/types.ts b/packages/ast/src/encoding/types.ts index 09c503c068..e76578e480 100644 --- a/packages/ast/src/encoding/types.ts +++ b/packages/ast/src/encoding/types.ts @@ -461,17 +461,22 @@ export const getDefaultTSTypeFromProtoType = ( return t.arrayExpression([]); case 'cosmos.base.v1beta1.Coin': return t.identifier('undefined'); - case 'tendermint.crypto.PublicKey': - return t.callExpression( - t.memberExpression( - t.identifier('PublicKey'), - t.identifier('fromPartial') - ), - [t.objectExpression([])] - ) - default: - // console.warn('getDefaultTSTypeFromProtoType() type not found: ' + type); - return t.identifier('undefined'); + // console.warn('getDefaultTSTypeFromProtoType() type not found, it\'ll probably still work but need review: ' + field.type); + // return t.identifier('undefined'); + if (!field.type) { + console.warn('Undefined! Can\'t get field of type:', field); + return t.identifier('undefined'); + } else { + const temp = field.type.split("."); + const fieldName = temp[temp.length -1]; + return t.callExpression( + t.memberExpression( + t.identifier(fieldName), + t.identifier('fromPartial') + ), + [t.objectExpression([])] + ) + } }; };