Skip to content

Commit c41c9e7

Browse files
authored
Replaced namespace poktroll with pocket (#46)
## Summary * Replaced namespace poktroll with pocket * Updated proto files ## Issue With the [rename of poktroll for pocket in the codebase](pokt-network/poktroll#1151) of [poktroll](https://github.com/pokt-network/poktroll) we needed to do the same in pocketdex. ## Type of change Select one or more: - [ ] New feature, functionality or library - [ ] Bug fix - [x] Code health or cleanup - [ ] Documentation - [ ] Other (specify) ## Sanity Checklist - [x] I have tested my changes using the available tooling - [x] I have commented my code - [x] I have performed a self-review of my own code; both comments & source code - [ ] I create and reference any new tickets, if applicable - [ ] I have left TODOs throughout the codebase, if applicable
1 parent 1227c73 commit c41c9e7

File tree

149 files changed

+1363
-1066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+1363
-1066
lines changed

project.ts

Lines changed: 58 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const project: CosmosProject = {
6868
],
6969
// --- Application
7070
[
71-
"poktroll.application_tx",
71+
"pocket.application_tx",
7272
{
73-
file: "./proto/poktroll/application/tx.proto",
73+
file: "./proto/pocket/application/tx.proto",
7474
messages: [
7575
"MsgUpdateParam",
7676
"MsgUpdateParams",
@@ -83,9 +83,9 @@ const project: CosmosProject = {
8383
},
8484
],
8585
[
86-
"poktroll.application_events",
86+
"pocket.application_events",
8787
{
88-
file: "./proto/poktroll/application/event.proto",
88+
file: "./proto/pocket/application/event.proto",
8989
messages: [
9090
"EventRedelegation",
9191
"EventTransferBegin",
@@ -99,29 +99,29 @@ const project: CosmosProject = {
9999
},
100100
],
101101
[
102-
"poktroll.application_types",
102+
"pocket.application_types",
103103
{
104-
file: "./proto/poktroll/application/types.proto",
104+
file: "./proto/pocket/application/types.proto",
105105
messages: [
106106
"Application",
107107
"UndelegatingGatewayList",
108108
],
109109
},
110110
],
111111
[
112-
"poktroll.application_params",
112+
"pocket.application_params",
113113
{
114-
file: "./proto/poktroll/application/params.proto",
114+
file: "./proto/pocket/application/params.proto",
115115
messages: [
116116
"Params",
117117
],
118118
},
119119
],
120120
// --- Gateway
121121
[
122-
"poktroll.gateway_tx",
122+
"pocket.gateway_tx",
123123
{
124-
file: "./proto/poktroll/gateway/tx.proto",
124+
file: "./proto/pocket/gateway/tx.proto",
125125
messages: [
126126
"MsgUpdateParams",
127127
"MsgStakeGateway",
@@ -130,45 +130,40 @@ const project: CosmosProject = {
130130
},
131131
],
132132
[
133-
"poktroll.gateway_events",
133+
"pocket.gateway_events",
134134
{
135-
file: "./proto/poktroll/gateway/event.proto",
135+
file: "./proto/pocket/gateway/event.proto",
136136
messages: [
137137
"EventGatewayStaked",
138-
/*
139-
TODO(@Alann27): remove this event when we are sure beta and alpha are using
140-
EventGatewayUnbondingBegin, EventGatewayUnbondingEnd and EventGatewayUnbondingCanceled
141-
*/
142-
"EventGatewayUnstaked",
143138
"EventGatewayUnbondingBegin",
144139
"EventGatewayUnbondingEnd",
145140
"EventGatewayUnbondingCanceled",
146141
],
147142
},
148143
],
149144
[
150-
"poktroll.gateway_types",
145+
"pocket.gateway_types",
151146
{
152-
file: "./proto/poktroll/gateway/types.proto",
147+
file: "./proto/pocket/gateway/types.proto",
153148
messages: [
154149
"Gateway",
155150
],
156151
},
157152
],
158153
[
159-
"poktroll.gateway_params",
154+
"pocket.gateway_params",
160155
{
161-
file: "./proto/poktroll/gateway/params.proto",
156+
file: "./proto/pocket/gateway/params.proto",
162157
messages: [
163158
"Params",
164159
],
165160
},
166161
],
167162
// --- Proof
168163
[
169-
"poktroll.proof_tx",
164+
"pocket.proof_tx",
170165
{
171-
file: "./proto/poktroll/proof/tx.proto",
166+
file: "./proto/pocket/proof/tx.proto",
172167
messages: [
173168
"MsgUpdateParams",
174169
"MsgUpdateParam",
@@ -178,9 +173,9 @@ const project: CosmosProject = {
178173
},
179174
],
180175
[
181-
"poktroll.proof_events",
176+
"pocket.proof_events",
182177
{
183-
file: "./proto/poktroll/proof/event.proto",
178+
file: "./proto/pocket/proof/event.proto",
184179
messages: [
185180
"EventClaimCreated",
186181
"EventClaimUpdated",
@@ -190,9 +185,9 @@ const project: CosmosProject = {
190185
},
191186
],
192187
[
193-
"poktroll.proof_types",
188+
"pocket.proof_types",
194189
{
195-
file: "./proto/poktroll/proof/types.proto",
190+
file: "./proto/pocket/proof/types.proto",
196191
messages: [
197192
"Proof",
198193
"Claim",
@@ -202,19 +197,19 @@ const project: CosmosProject = {
202197
},
203198
],
204199
[
205-
"poktroll.proof_params",
200+
"pocket.proof_params",
206201
{
207-
file: "./proto/poktroll/proof/params.proto",
202+
file: "./proto/pocket/proof/params.proto",
208203
messages: [
209204
"Params",
210205
],
211206
},
212207
],
213208
// --- Service
214209
[
215-
"poktroll.service_tx",
210+
"pocket.service_tx",
216211
{
217-
file: "./proto/poktroll/service/tx.proto",
212+
file: "./proto/pocket/service/tx.proto",
218213
messages: [
219214
"MsgUpdateParams",
220215
"MsgAddService",
@@ -224,9 +219,9 @@ const project: CosmosProject = {
224219
[
225220
// TODO: We need this here?
226221
// more does not hurt at this point, but we may want to clean it up in the future if not needed
227-
"poktroll.service_relay",
222+
"pocket.service_relay",
228223
{
229-
file: "./proto/poktroll/service/relay.proto",
224+
file: "./proto/pocket/service/relay.proto",
230225
messages: [
231226
"Relay",
232227
"RelayRequestMetadata",
@@ -237,67 +232,67 @@ const project: CosmosProject = {
237232
},
238233
],
239234
[
240-
"poktroll.service_params",
235+
"pocket.service_params",
241236
{
242-
file: "./proto/poktroll/service/params.proto",
237+
file: "./proto/pocket/service/params.proto",
243238
messages: [
244239
"Params",
245240
],
246241
},
247242
],
248243
// --- Session
249244
[
250-
"poktroll.session_tx",
245+
"pocket.session_tx",
251246
{
252-
file: "./proto/poktroll/session/tx.proto",
247+
file: "./proto/pocket/session/tx.proto",
253248
messages: [
254249
"MsgUpdateParams",
255250
],
256251
},
257252
],
258253
[
259-
"poktroll.session_types",
254+
"pocket.session_types",
260255
{
261-
file: "./proto/poktroll/session/types.proto",
256+
file: "./proto/pocket/session/types.proto",
262257
messages: [
263258
"SessionHeader",
264259
"Session",
265260
],
266261
},
267262
],
268263
[
269-
"poktroll.session_params",
264+
"pocket.session_params",
270265
{
271-
file: "./proto/poktroll/session/params.proto",
266+
file: "./proto/pocket/session/params.proto",
272267
messages: [
273268
"Params",
274269
],
275270
},
276271
],
277272
// --- Shared
278273
[
279-
"poktroll.shared_tx",
274+
"pocket.shared_tx",
280275
{
281-
file: "./proto/poktroll/shared/tx.proto",
276+
file: "./proto/pocket/shared/tx.proto",
282277
messages: [
283278
"MsgUpdateParams",
284279
"MsgUpdateParam",
285280
],
286281
},
287282
],
288283
[
289-
"poktroll.shared_supplier",
284+
"pocket.shared_supplier",
290285
{
291-
file: "./proto/poktroll/shared/supplier.proto",
286+
file: "./proto/pocket/shared/supplier.proto",
292287
messages: [
293288
"Supplier",
294289
],
295290
},
296291
],
297292
[
298-
"poktroll.shared_service",
293+
"pocket.shared_service",
299294
{
300-
file: "./proto/poktroll/shared/service.proto",
295+
file: "./proto/pocket/shared/service.proto",
301296
messages: [
302297
"Service",
303298
"ApplicationServiceConfig",
@@ -309,19 +304,19 @@ const project: CosmosProject = {
309304
},
310305
],
311306
[
312-
"poktroll.shared_params",
307+
"pocket.shared_params",
313308
{
314-
file: "./proto/poktroll/shared/params.proto",
309+
file: "./proto/pocket/shared/params.proto",
315310
messages: [
316311
"Params",
317312
],
318313
},
319314
],
320315
// --- Supplier
321316
[
322-
"poktroll.supplier_tx",
317+
"pocket.supplier_tx",
323318
{
324-
file: "./proto/poktroll/supplier/tx.proto",
319+
file: "./proto/pocket/supplier/tx.proto",
325320
messages: [
326321
"MsgUpdateParams",
327322
"MsgStakeSupplier",
@@ -330,9 +325,9 @@ const project: CosmosProject = {
330325
},
331326
],
332327
[
333-
"poktroll.supplier_events",
328+
"pocket.supplier_events",
334329
{
335-
file: "./proto/poktroll/supplier/event.proto",
330+
file: "./proto/pocket/supplier/event.proto",
336331
messages: [
337332
"EventSupplierStaked",
338333
"EventSupplierUnbondingBegin",
@@ -341,29 +336,29 @@ const project: CosmosProject = {
341336
},
342337
],
343338
[
344-
"poktroll.supplier_params",
339+
"pocket.supplier_params",
345340
{
346-
file: "./proto/poktroll/supplier/params.proto",
341+
file: "./proto/pocket/supplier/params.proto",
347342
messages: [
348343
"Params",
349344
],
350345
},
351346
],
352347
// --- Tokenomics
353348
[
354-
"poktroll.tokenomics_tx",
349+
"pocket.tokenomics_tx",
355350
{
356-
file: "./proto/poktroll/tokenomics/tx.proto",
351+
file: "./proto/pocket/tokenomics/tx.proto",
357352
messages: [
358353
"MsgUpdateParams",
359354
"MsgUpdateParam",
360355
],
361356
},
362357
],
363358
[
364-
"poktroll.tokenomics_events",
359+
"pocket.tokenomics_events",
365360
{
366-
file: "./proto/poktroll/tokenomics/event.proto",
361+
file: "./proto/pocket/tokenomics/event.proto",
367362
messages: [
368363
"EventClaimExpired",
369364
"EventClaimSettled",
@@ -374,18 +369,18 @@ const project: CosmosProject = {
374369
},
375370
],
376371
[
377-
"poktroll.tokenomics_params",
372+
"pocket.tokenomics_params",
378373
{
379-
file: "./proto/poktroll/tokenomics/params.proto",
374+
file: "./proto/pocket/tokenomics/params.proto",
380375
messages: [
381376
"Params",
382377
],
383378
},
384379
],
385380
[
386-
"poktroll.tokenomics_relay_mining_difficulty",
381+
"pocket.tokenomics_relay_mining_difficulty",
387382
{
388-
file: "./proto/poktroll/service/relay_mining_difficulty.proto",
383+
file: "./proto/pocket/service/relay_mining_difficulty.proto",
389384
messages: [
390385
"RelayMiningDifficulty",
391386
],

0 commit comments

Comments
 (0)