Skip to content

Commit

Permalink
Regenerated and added protoc-gen-grpc-gateway-ts to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
codebycarson committed Oct 1, 2024
1 parent 66c76ca commit a265914
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 103 deletions.
1 change: 1 addition & 0 deletions packages/cosmos/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules
scripts/
gen/
public/
bin/

.gitkeep
jest.config.ts
Expand Down
Binary file added packages/cosmos/bin/protoc-gen-grpc-gateway-ts
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/cosmos/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: v2
managed:
enabled: true
plugins:
- local: protoc-gen-grpc-gateway-ts
- local: ./bin/protoc-gen-grpc-gateway-ts
out: ./gen/grpc-gateway
opt:
- use_proto_names=true
Expand Down
92 changes: 46 additions & 46 deletions packages/cosmos/generated/encoding/amino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,114 +113,114 @@ import { aminoConverters as tokenfactory_tx_amino } from "./tokenfactory/tx";

export const aminoConverters: AminoConverters = {
...confio_proofs_amino,
...eth_tx_amino,
...epoch_epoch_amino,
...epoch_genesis_amino,
...epoch_params_amino,
...epoch_epoch_amino,
...epoch_query_amino,
...eth_tx_amino,
...evm_config_amino,
...evm_genesis_amino,
...evm_query_amino,
...evm_tx_amino,
...evm_params_amino,
...evm_types_amino,
...evm_receipt_amino,
...evm_types_amino,
...evm_query_amino,
...oracle_genesis_amino,
...evm_tx_amino,
...oracle_oracle_amino,
...tokenfactory_genesis_amino,
...oracle_query_amino,
...tokenfactory_genesis_amino,
...tokenfactory_params_amino,
...tokenfactory_tx_amino,
...cosmos_accesscontrol_accesscontrol_amino,
...cosmos_accesscontrol_x_genesis_amino,
...cosmos_accesscontrol_x_query_amino,
...google_api_http_amino,
...google_api_httpbody_amino,
...google_protobuf_any_amino,
...google_protobuf_duration_amino,
...google_api_http_amino,
...google_protobuf_descriptor_amino,
...google_protobuf_timestamp_amino,
...mint_v1beta1_genesis_amino,
...google_protobuf_descriptor_amino,
...mint_v1beta1_gov_amino,
...mint_v1beta1_mint_amino,
...mint_v1beta1_query_amino,
...tendermint_crypto_keys_amino,
...tendermint_abci_types_amino,
...tendermint_crypto_proof_amino,
...tendermint_p2p_types_amino,
...tendermint_abci_types_amino,
...tendermint_version_types_amino,
...tendermint_types_block_amino,
...tendermint_types_evidence_amino,
...tendermint_types_params_amino,
...tendermint_version_types_amino,
...tendermint_types_validator_amino,
...tendermint_types_types_amino,
...cosmos_auth_v1beta1_genesis_amino,
...cosmos_auth_v1beta1_query_amino,
...cosmos_authz_v1beta1_authz_amino,
...cosmos_auth_v1beta1_auth_amino,
...cosmos_authz_v1beta1_event_amino,
...tendermint_types_types_amino,
...tendermint_types_validator_amino,
...cosmos_authz_v1beta1_genesis_amino,
...cosmos_authz_v1beta1_query_amino,
...cosmos_authz_v1beta1_event_amino,
...cosmos_authz_v1beta1_tx_amino,
...cosmos_base_v1beta1_coin_amino,
...cosmos_authz_v1beta1_query_amino,
...cosmos_bank_v1beta1_genesis_amino,
...cosmos_bank_v1beta1_authz_amino,
...cosmos_bank_v1beta1_bank_amino,
...cosmos_bank_v1beta1_genesis_amino,
...cosmos_bank_v1beta1_query_amino,
...cosmos_bank_v1beta1_tx_amino,
...cosmos_crisis_v1beta1_genesis_amino,
...cosmos_crisis_v1beta1_tx_amino,
...cosmos_crypto_ed25519_keys_amino,
...cosmos_auth_v1beta1_auth_amino,
...cosmos_auth_v1beta1_genesis_amino,
...cosmos_auth_v1beta1_query_amino,
...cosmos_capability_v1beta1_capability_amino,
...cosmos_capability_v1beta1_genesis_amino,
...cosmos_crypto_secp256k1_keys_amino,
...cosmos_crypto_secp256r1_keys_amino,
...cosmos_crypto_multisig_keys_amino,
...cosmos_crypto_sr25519_keys_amino,
...cosmos_base_v1beta1_coin_amino,
...cosmos_crisis_v1beta1_genesis_amino,
...cosmos_crisis_v1beta1_tx_amino,
...cosmos_distribution_v1beta1_distribution_amino,
...cosmos_distribution_v1beta1_genesis_amino,
...cosmos_feegrant_v1beta1_genesis_amino,
...cosmos_distribution_v1beta1_query_amino,
...cosmos_crypto_ed25519_keys_amino,
...cosmos_crypto_multisig_keys_amino,
...cosmos_crypto_secp256r1_keys_amino,
...cosmos_crypto_secp256k1_keys_amino,
...cosmos_crypto_sr25519_keys_amino,
...cosmos_evidence_v1beta1_evidence_amino,
...cosmos_feegrant_v1beta1_query_amino,
...cosmos_feegrant_v1beta1_feegrant_amino,
...cosmos_evidence_v1beta1_genesis_amino,
...cosmos_feegrant_v1beta1_tx_amino,
...cosmos_evidence_v1beta1_query_amino,
...cosmos_evidence_v1beta1_tx_amino,
...cosmos_gov_v1beta1_genesis_amino,
...cosmos_gov_v1beta1_query_amino,
...cosmos_genutil_v1beta1_genesis_amino,
...cosmos_gov_v1beta1_tx_amino,
...cosmos_feegrant_v1beta1_query_amino,
...cosmos_gov_v1beta1_gov_amino,
...cosmos_feegrant_v1beta1_feegrant_amino,
...cosmos_feegrant_v1beta1_genesis_amino,
...cosmos_feegrant_v1beta1_tx_amino,
...cosmos_mint_v1beta1_genesis_amino,
...cosmos_mint_v1beta1_mint_amino,
...cosmos_mint_v1beta1_query_amino,
...cosmos_gov_v1beta1_genesis_amino,
...cosmos_gov_v1beta1_gov_amino,
...cosmos_gov_v1beta1_tx_amino,
...cosmos_params_types_types_amino,
...cosmos_params_v1beta1_params_amino,
...cosmos_params_v1beta1_query_amino,
...cosmos_slashing_v1beta1_genesis_amino,
...cosmos_gov_v1beta1_query_amino,
...cosmos_slashing_v1beta1_query_amino,
...cosmos_staking_v1beta1_genesis_amino,
...cosmos_slashing_v1beta1_slashing_amino,
...cosmos_slashing_v1beta1_tx_amino,
...cosmos_params_v1beta1_params_amino,
...cosmos_staking_v1beta1_authz_amino,
...cosmos_staking_v1beta1_query_amino,
...cosmos_staking_v1beta1_genesis_amino,
...cosmos_staking_v1beta1_tx_amino,
...cosmos_staking_v1beta1_staking_amino,
...cosmos_genutil_v1beta1_genesis_amino,
...cosmos_vesting_v1beta1_vesting_amino,
...cosmos_tx_v1beta1_service_amino,
...cosmos_slashing_v1beta1_query_amino,
...cosmos_slashing_v1beta1_genesis_amino,
...cosmos_staking_v1beta1_query_amino,
...cosmos_slashing_v1beta1_slashing_amino,
...cosmos_slashing_v1beta1_tx_amino,
...cosmos_tx_v1beta1_tx_amino,
...cosmos_tx_v1beta1_service_amino,
...cosmos_upgrade_v1beta1_upgrade_amino,
...cosmos_vesting_v1beta1_vesting_amino,
...tendermint_libs_bits_types_amino,
...cosmos_base_abci_v1beta1_abci_amino,
...cosmos_base_kv_v1beta1_kv_amino,
...cosmos_base_abci_v1beta1_abci_amino,
...cosmos_base_snapshots_v1beta1_snapshot_amino,
...cosmos_base_reflection_v2alpha1_reflection_amino,
...cosmos_base_query_v1beta1_pagination_amino,
...cosmos_base_store_v1beta1_commit_info_amino,
...cosmos_base_tendermint_v1beta1_query_amino,
...cosmos_base_store_v1beta1_listening_amino,
...cosmos_base_reflection_v2alpha1_reflection_amino,
...cosmos_crypto_multisig_v1beta1_multisig_amino,
...cosmos_tx_signing_v1beta1_signing_amino,
};
16 changes: 16 additions & 0 deletions packages/cosmos/generated/encoding/evm/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export const Params: MessageFns<Params, "seiprotocol.seichain.evm.Params"> = {
if (message.max_dynamic_base_fee_downward_adjustment !== "") {
writer.uint32(90).string(message.max_dynamic_base_fee_downward_adjustment);
}
if (message.target_gas_used_per_block !== 0) {
writer.uint32(96).uint64(message.target_gas_used_per_block);
}
return writer;
},

Expand Down Expand Up @@ -93,6 +96,13 @@ export const Params: MessageFns<Params, "seiprotocol.seichain.evm.Params"> = {

message.max_dynamic_base_fee_downward_adjustment = reader.string();
continue;
case 12:
if (tag !== 96) {
break;
}

message.target_gas_used_per_block = longToNumber(reader.uint64());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
break;
Expand All @@ -117,6 +127,7 @@ export const Params: MessageFns<Params, "seiprotocol.seichain.evm.Params"> = {
max_dynamic_base_fee_downward_adjustment: isSet(object.max_dynamic_base_fee_downward_adjustment)
? globalThis.String(object.max_dynamic_base_fee_downward_adjustment)
: "",
target_gas_used_per_block: isSet(object.target_gas_used_per_block) ? globalThis.Number(object.target_gas_used_per_block) : 0,
};
},

Expand All @@ -143,6 +154,9 @@ export const Params: MessageFns<Params, "seiprotocol.seichain.evm.Params"> = {
if (message.max_dynamic_base_fee_downward_adjustment !== "") {
obj.max_dynamic_base_fee_downward_adjustment = message.max_dynamic_base_fee_downward_adjustment;
}
if (message.target_gas_used_per_block !== 0) {
obj.target_gas_used_per_block = Math.round(message.target_gas_used_per_block);
}
return obj;
},

Expand All @@ -158,6 +172,7 @@ export const Params: MessageFns<Params, "seiprotocol.seichain.evm.Params"> = {
message.deliver_tx_hook_wasm_gas_limit = object.deliver_tx_hook_wasm_gas_limit ?? 0;
message.max_dynamic_base_fee_upward_adjustment = object.max_dynamic_base_fee_upward_adjustment ?? "";
message.max_dynamic_base_fee_downward_adjustment = object.max_dynamic_base_fee_downward_adjustment ?? "";
message.target_gas_used_per_block = object.target_gas_used_per_block ?? 0;
return message;
},
};
Expand Down Expand Up @@ -275,6 +290,7 @@ function createBaseParams(): Params {
deliver_tx_hook_wasm_gas_limit: 0,
max_dynamic_base_fee_upward_adjustment: "",
max_dynamic_base_fee_downward_adjustment: "",
target_gas_used_per_block: 0,
};
}

Expand Down
Loading

0 comments on commit a265914

Please sign in to comment.