@@ -301,6 +301,7 @@ pub struct CodeInfo {
301
301
pub struct ContractInfo {
302
302
/// CodeID is the reference to the stored Wasm code
303
303
#[ prost( uint64, tag = "1" ) ]
304
+ #[ serde( alias = "codeID" ) ]
304
305
#[ serde(
305
306
serialize_with = "crate::serde::as_str::serialize" ,
306
307
deserialize_with = "crate::serde::as_str::deserialize"
@@ -319,6 +320,7 @@ pub struct ContractInfo {
319
320
#[ prost( message, optional, tag = "5" ) ]
320
321
pub created : :: core:: option:: Option < AbsoluteTxPosition > ,
321
322
#[ prost( string, tag = "6" ) ]
323
+ #[ serde( alias = "ibc_portID" ) ]
322
324
pub ibc_port_id : :: prost:: alloc:: string:: String ,
323
325
/// Extension is an extension point to store custom metadata within the
324
326
/// persistence model.
@@ -347,6 +349,7 @@ pub struct ContractCodeHistoryEntry {
347
349
pub operation : i32 ,
348
350
/// CodeID is the reference to the stored WASM code
349
351
#[ prost( uint64, tag = "2" ) ]
352
+ #[ serde( alias = "codeID" ) ]
350
353
#[ serde(
351
354
serialize_with = "crate::serde::as_str::serialize" ,
352
355
deserialize_with = "crate::serde::as_str::deserialize"
@@ -538,6 +541,7 @@ pub struct MsgStoreCode {
538
541
pub struct MsgStoreCodeResponse {
539
542
/// CodeID is the reference to the stored WASM code
540
543
#[ prost( uint64, tag = "1" ) ]
544
+ #[ serde( alias = "codeID" ) ]
541
545
#[ serde(
542
546
serialize_with = "crate::serde::as_str::serialize" ,
543
547
deserialize_with = "crate::serde::as_str::deserialize"
@@ -570,6 +574,7 @@ pub struct MsgInstantiateContract {
570
574
pub admin : :: prost:: alloc:: string:: String ,
571
575
/// CodeID is the reference to the stored WASM code
572
576
#[ prost( uint64, tag = "3" ) ]
577
+ #[ serde( alias = "codeID" ) ]
573
578
#[ serde(
574
579
serialize_with = "crate::serde::as_str::serialize" ,
575
580
deserialize_with = "crate::serde::as_str::deserialize"
@@ -608,6 +613,7 @@ pub struct MsgInstantiateContract2 {
608
613
pub admin : :: prost:: alloc:: string:: String ,
609
614
/// CodeID is the reference to the stored WASM code
610
615
#[ prost( uint64, tag = "3" ) ]
616
+ #[ serde( alias = "codeID" ) ]
611
617
#[ serde(
612
618
serialize_with = "crate::serde::as_str::serialize" ,
613
619
deserialize_with = "crate::serde::as_str::deserialize"
@@ -739,6 +745,7 @@ pub struct MsgMigrateContract {
739
745
pub contract : :: prost:: alloc:: string:: String ,
740
746
/// CodeID references the new WASM code
741
747
#[ prost( uint64, tag = "3" ) ]
748
+ #[ serde( alias = "codeID" ) ]
742
749
#[ serde(
743
750
serialize_with = "crate::serde::as_str::serialize" ,
744
751
deserialize_with = "crate::serde::as_str::deserialize"
@@ -928,6 +935,7 @@ pub mod genesis_state {
928
935
#[ proto_message( type_url = "/cosmwasm.wasm.v1.Code" ) ]
929
936
pub struct Code {
930
937
#[ prost( uint64, tag = "1" ) ]
938
+ #[ serde( alias = "codeID" ) ]
931
939
#[ serde(
932
940
serialize_with = "crate::serde::as_str::serialize" ,
933
941
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1115,6 +1123,7 @@ pub struct InstantiateContractProposal {
1115
1123
pub admin : :: prost:: alloc:: string:: String ,
1116
1124
/// CodeID is the reference to the stored WASM code
1117
1125
#[ prost( uint64, tag = "5" ) ]
1126
+ #[ serde( alias = "codeID" ) ]
1118
1127
#[ serde(
1119
1128
serialize_with = "crate::serde::as_str::serialize" ,
1120
1129
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1157,6 +1166,7 @@ pub struct MigrateContractProposal {
1157
1166
pub contract : :: prost:: alloc:: string:: String ,
1158
1167
/// CodeID references the new WASM code
1159
1168
#[ prost( uint64, tag = "5" ) ]
1169
+ #[ serde( alias = "codeID" ) ]
1160
1170
#[ serde(
1161
1171
serialize_with = "crate::serde::as_str::serialize" ,
1162
1172
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1302,6 +1312,7 @@ pub struct PinCodesProposal {
1302
1312
pub description : :: prost:: alloc:: string:: String ,
1303
1313
/// CodeIDs references the new WASM codes
1304
1314
#[ prost( uint64, repeated, packed = "false" , tag = "3" ) ]
1315
+ #[ serde( alias = "codeIDs" ) ]
1305
1316
pub code_ids : :: prost:: alloc:: vec:: Vec < u64 > ,
1306
1317
}
1307
1318
/// UnpinCodesProposal gov proposal content type to unpin a set of code ids in
@@ -1327,6 +1338,7 @@ pub struct UnpinCodesProposal {
1327
1338
pub description : :: prost:: alloc:: string:: String ,
1328
1339
/// CodeIDs references the WASM codes
1329
1340
#[ prost( uint64, repeated, packed = "false" , tag = "3" ) ]
1341
+ #[ serde( alias = "codeIDs" ) ]
1330
1342
pub code_ids : :: prost:: alloc:: vec:: Vec < u64 > ,
1331
1343
}
1332
1344
/// AccessConfigUpdate contains the code id and the access config to be
@@ -1346,6 +1358,7 @@ pub struct UnpinCodesProposal {
1346
1358
pub struct AccessConfigUpdate {
1347
1359
/// CodeID is the reference to the stored WASM code to be updated
1348
1360
#[ prost( uint64, tag = "1" ) ]
1361
+ #[ serde( alias = "codeID" ) ]
1349
1362
#[ serde(
1350
1363
serialize_with = "crate::serde::as_str::serialize" ,
1351
1364
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1552,6 +1565,7 @@ pub struct QueryContractHistoryResponse {
1552
1565
pub struct QueryContractsByCodeRequest {
1553
1566
/// grpc-gateway_out does not support Go style CodID
1554
1567
#[ prost( uint64, tag = "1" ) ]
1568
+ #[ serde( alias = "codeID" ) ]
1555
1569
#[ serde(
1556
1570
serialize_with = "crate::serde::as_str::serialize" ,
1557
1571
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1740,6 +1754,7 @@ pub struct QuerySmartContractStateResponse {
1740
1754
pub struct QueryCodeRequest {
1741
1755
/// grpc-gateway_out does not support Go style CodID
1742
1756
#[ prost( uint64, tag = "1" ) ]
1757
+ #[ serde( alias = "codeID" ) ]
1743
1758
#[ serde(
1744
1759
serialize_with = "crate::serde::as_str::serialize" ,
1745
1760
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1762,6 +1777,7 @@ pub struct QueryCodeRequest {
1762
1777
pub struct CodeInfoResponse {
1763
1778
/// id for legacy support
1764
1779
#[ prost( uint64, tag = "1" ) ]
1780
+ #[ serde( alias = "codeID" ) ]
1765
1781
#[ serde(
1766
1782
serialize_with = "crate::serde::as_str::serialize" ,
1767
1783
deserialize_with = "crate::serde::as_str::deserialize"
@@ -1877,6 +1893,7 @@ pub struct QueryPinnedCodesRequest {
1877
1893
#[ proto_message( type_url = "/cosmwasm.wasm.v1.QueryPinnedCodesResponse" ) ]
1878
1894
pub struct QueryPinnedCodesResponse {
1879
1895
#[ prost( uint64, repeated, packed = "false" , tag = "1" ) ]
1896
+ #[ serde( alias = "codeIDs" ) ]
1880
1897
pub code_ids : :: prost:: alloc:: vec:: Vec < u64 > ,
1881
1898
/// pagination defines the pagination in the response.
1882
1899
#[ prost( message, optional, tag = "2" ) ]
0 commit comments