Skip to content

Commit 9004909

Browse files
committed
add push prefix and denom
1 parent f336899 commit 9004909

File tree

14 files changed

+47
-56
lines changed

14 files changed

+47
-56
lines changed

api/push/push/genesis.pulsar.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/module/module.pulsar.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/params.pulsar.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/query.pulsar.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/query_grpc.pb.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/tx.pulsar.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/push/push/tx_grpc.pb.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ import (
8282
)
8383

8484
const (
85-
AccountAddressPrefix = "cosmos"
85+
AccountAddressPrefix = "push"
8686
Name = "push"
8787
)
8888

config.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
version: 1
22
validation: sovereign
3+
genesis:
4+
app_state:
5+
staking:
6+
params:
7+
bond_denom: "push" # Removed "token", replaced "stake" with "push"
38
build:
49
binary: "pushchaind"
510
accounts:
611
- name: alice
712
coins:
8-
- 20000token
9-
- 200000000stake
13+
- 200000000push # Removed "token", replaced "stake" with "push"
1014
- name: bob
1115
coins:
12-
- 10000token
13-
- 100000000stake
16+
- 100000000push # Removed "token", replaced "stake" with "push"
1417
client:
1518
openapi:
1619
path: docs/static/openapi.yml
1720
faucet:
1821
name: bob
1922
coins:
20-
- 5token
21-
- 100000stake
23+
- 500000push # Simplified to only "push"
2224
validators:
2325
- name: alice
24-
bonded: 100000000stake
26+
bonded: 100000000push # Replaced "stake" with "push"
2527
app:
26-
minimum-gas-prices: "0.00025stake" # for temporary testing
28+
minimum-gas-prices: "0.00025push" # Gas price now uses "push"
2729
- name: validator1
28-
bonded: 100000000stake
30+
bonded: 100000000push
2931
- name: validator2
30-
bonded: 200000000stake
32+
bonded: 200000000push
3133
- name: validator3
32-
bonded: 300000000stake
34+
bonded: 300000000push

docs/static/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"id":"push","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain push REST API","title":"HTTP API Console","contact":{"name":"push"},"version":"version not set"},"paths":{"/push.push.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"PushMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/push.push.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/push.push.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/push/push/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"PushQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/push.push.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"push.push.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the module parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/push.push.Params"}}},"push.push.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"push.push.Params":{"description":"Params defines the parameters for the module.","type":"object"},"push.push.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/push.push.Params"}}}},"tags":[{"name":"Query"},{"name":"Msg"}]}
1+
{"id":"push","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain push REST API","title":"HTTP API Console","contact":{"name":"push"},"version":"version not set"},"paths":{"/push.push.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\r\nparameters. The authority defaults to the x/gov module account.","operationId":"PushMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/push.push.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/push.push.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"push.push.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the module parameters to update.\r\n\r\nNOTE: All parameters must be supplied.","$ref":"#/definitions/push.push.Params"}}},"push.push.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\r\nMsgUpdateParams message.","type":"object"},"push.push.Params":{"description":"Params defines the parameters for the module.","type":"object"}},"tags":[{"name":"Msg"}]}

0 commit comments

Comments
 (0)