@dashevo/dapi-grpc 4.0.0-beta.3 → 4.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.rs CHANGED
@@ -84,7 +84,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
84
84
  // Derive features for versioned messages
85
85
  //
86
86
  // "GetConsensusParamsRequest" is excluded as this message does not support proofs
87
- const VERSIONED_REQUESTS: [&str; 58] = [
87
+ const VERSIONED_REQUESTS: [&str; 56] = [
88
88
  "GetDataContractHistoryRequest",
89
89
  "GetDataContractRequest",
90
90
  "GetDataContractsRequest",
@@ -141,19 +141,11 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
141
141
  "GetShieldedPoolStateRequest",
142
142
  "GetShieldedNotesCountRequest",
143
143
  "GetShieldedNullifiersRequest",
144
- "GetRecentNullifierChangesRequest",
145
- "GetRecentCompactedNullifierChangesRequest",
146
144
  ];
147
145
 
148
- const PROOF_ONLY_VERSIONED_REQUESTS: [&str; 2] = [
149
- "GetAddressesTrunkStateRequest",
150
- "GetNullifiersTrunkStateRequest",
151
- ];
146
+ const PROOF_ONLY_VERSIONED_REQUESTS: [&str; 1] = ["GetAddressesTrunkStateRequest"];
152
147
 
153
- const MERK_PROOF_VERSIONED_REQUESTS: [&str; 2] = [
154
- "GetAddressesBranchStateRequest",
155
- "GetNullifiersBranchStateRequest",
156
- ];
148
+ const MERK_PROOF_VERSIONED_REQUESTS: [&str; 1] = ["GetAddressesBranchStateRequest"];
157
149
 
158
150
  // The following responses are excluded as they don't support proofs:
159
151
  // - "GetConsensusParamsResponse"
@@ -163,7 +155,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
163
155
  // - "GetIdentityByNonUniquePublicKeyHashResponse"
164
156
  //
165
157
  // "GetEvonodesProposedEpochBlocksResponse" is used for 2 Requests
166
- const VERSIONED_RESPONSES: [&str; 56] = [
158
+ const VERSIONED_RESPONSES: [&str; 54] = [
167
159
  "GetDataContractHistoryResponse",
168
160
  "GetDataContractResponse",
169
161
  "GetDataContractsResponse",
@@ -218,19 +210,11 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
218
210
  "GetShieldedPoolStateResponse",
219
211
  "GetShieldedNotesCountResponse",
220
212
  "GetShieldedNullifiersResponse",
221
- "GetRecentNullifierChangesResponse",
222
- "GetRecentCompactedNullifierChangesResponse",
223
213
  ];
224
214
 
225
- const PROOF_ONLY_VERSIONED_RESPONSES: [&str; 2] = [
226
- "GetAddressesTrunkStateResponse",
227
- "GetNullifiersTrunkStateResponse",
228
- ];
215
+ const PROOF_ONLY_VERSIONED_RESPONSES: [&str; 1] = ["GetAddressesTrunkStateResponse"];
229
216
 
230
- const MERK_PROOF_VERSIONED_RESPONSES: [&str; 2] = [
231
- "GetAddressesBranchStateResponse",
232
- "GetNullifiersBranchStateResponse",
233
- ];
217
+ const MERK_PROOF_VERSIONED_RESPONSES: [&str; 1] = ["GetAddressesBranchStateResponse"];
234
218
 
235
219
  check_unique(&VERSIONED_REQUESTS).expect("VERSIONED_REQUESTS");
236
220
  check_unique(&VERSIONED_RESPONSES).expect("VERSIONED_RESPONSES");