Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support for cscalist module #3

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/validator/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ max_subscription_clients = 100
# Maximum number of unique queries a given client can /subscribe to
# If you're using GRPC (or Local RPC client) and /broadcast_tx_commit, set to
# the estimated # maximum number of broadcast_tx_commit calls per block.
max_subscriptions_per_client = 5
max_subscriptions_per_client = 25

# Experimental parameter to specify the maximum number of events a node will
# buffer, per subscription, before returning an error and closing the
Expand Down
42 changes: 37 additions & 5 deletions config/validator/config/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,16 @@
"sequence": "0"
},
"code_hash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
},
{
"@type": "/ethermint.types.v1.EthAccount",
"base_account": {
"address": "rarimo1ghcxdrgmy8duq8cu68fgmlp2sfmfwkh2dl4chl",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
"code_hash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}
]
},
Expand Down Expand Up @@ -208,6 +218,19 @@
}
]
},
{
"address": "rarimo1ghcxdrgmy8duq8cu68fgmlp2sfmfwkh2dl4chl",
"coins": [
{
"denom": "stake",
"amount": "7000000000000"
},
{
"denom": "urmo",
"amount": "12700000000000000"
}
]
},
{
"address": "rarimo1e4fjh2ks6qanjg9trveule4tss4zn76f6vfnme",
"coins": [
Expand Down Expand Up @@ -237,6 +260,15 @@
"amount": "1000"
}
},
"cscalist": {
"params": {
"rootKey": "",
"rootUpdated": false,
"updatedAtBlock": 0,
"lastUpdateOperationIndex": ""
},
"tree": []
},
"distribution": {
"params": {
"community_tax": "0.020000000000000000",
Expand Down Expand Up @@ -412,11 +444,11 @@
},
"value": {
"denom": "urmo",
"amount": "1000000"
"amount": "3000000000"
}
}
],
"memo": "[email protected].0.147:26656",
"memo": "[email protected].88.186:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
Expand All @@ -438,14 +470,14 @@
],
"fee": {
"amount": [],
"gas_limit": "200000",
"gas_limit": "99999999",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": [
"f/62fqPWmXT6wRlNij5smOPLfnbr6qtoczyTtYxKkFxzeLcyYrPD7psbSav9+vGvKJHli2SFZs99HC3RdzyWmQ=="
"m5/KOch4kV+EfspSdF9E+n0SUUaosE1gfEhi1p1hExUYBvpPIAHnf/Qq1bdWsKw9RcbEFqNbqa9dTPRwIMbObQ=="
]
}
]
Expand All @@ -465,7 +497,7 @@
"max_deposit_period": "34560"
},
"voting_params": {
"voting_period": "34560"
"voting_period": "5"
},
"tally_params": {
"quorum": "0.334000000000000000",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"main","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"rarimo1q5wjzf8kfpxx3xze987ajjkr69rktk64a0wqqp","validator_address":"rarimovaloper1q5wjzf8kfpxx3xze987ajjkr69rktk64hw8pfa","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"POLQ/vD1X7/glG9xG2VnQcZYgMHPpML6/xhvO0H3XGE="},"value":{"denom":"urmo","amount":"1000000"}}],"memo":"[email protected]:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AmXYB81XL/1H8YTxdp4fAPigCoySfb1Y2jbtmj5SbvQ6"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["f/62fqPWmXT6wRlNij5smOPLfnbr6qtoczyTtYxKkFxzeLcyYrPD7psbSav9+vGvKJHli2SFZs99HC3RdzyWmQ=="]}
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"main","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"rarimo1q5wjzf8kfpxx3xze987ajjkr69rktk64a0wqqp","validator_address":"rarimovaloper1q5wjzf8kfpxx3xze987ajjkr69rktk64hw8pfa","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"POLQ/vD1X7/glG9xG2VnQcZYgMHPpML6/xhvO0H3XGE="},"value":{"denom":"urmo","amount":"3000000000"}}],"memo":"[email protected]:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AmXYB81XL/1H8YTxdp4fAPigCoySfb1Y2jbtmj5SbvQ6"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"99999999","payer":"","granter":""},"tip":null},"signatures":["m5/KOch4kV+EfspSdF9E+n0SUUaosE1gfEhi1p1hExUYBvpPIAHnf/Qq1bdWsKw9RcbEFqNbqa9dTPRwIMbObQ=="]}
16 changes: 8 additions & 8 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
#

validator:
image: ghcr.io/rarimo/rarimo-core:v1.1.0
image: ghcr.io/rarimo/rarimo-core:9219c4e45f502f6557ea150edf3980ba25596193
entrypoint: sh -c "rarimo-core start --home=/usr/local/bin/genesis --rpc.laddr tcp://0.0.0.0:26657 --p2p.external-address tcp://validator:26656"
volumes:
- ./config/validator/config:/usr/local/bin/genesis/config
Expand All @@ -27,7 +27,7 @@ services:
#

tss-1:
image: ghcr.io/rarimo/tss-svc:v1.0.11
image: ghcr.io/rarimo/tss-svc:v1.0.12
restart: on-failure
depends_on:
- tss-1-db
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
- tss-1-data:/pgdata

tss-2:
image: ghcr.io/rarimo/tss-svc:v1.0.11
image: ghcr.io/rarimo/tss-svc:v1.0.12
restart: on-failure
depends_on:
- tss-2-db
Expand Down Expand Up @@ -88,7 +88,7 @@ services:
- tss-2-data:/pgdata

tss-3:
image: ghcr.io/rarimo/tss-svc:v1.0.11
image: ghcr.io/rarimo/tss-svc:v1.0.12
restart: on-failure
depends_on:
- tss-3-db
Expand Down Expand Up @@ -118,7 +118,7 @@ services:
- tss-3-data:/pgdata

tss-4:
image: ghcr.io/rarimo/tss-svc:v1.0.11
image: ghcr.io/rarimo/tss-svc:v1.0.12
restart: on-failure
depends_on:
- tss-4-db
Expand Down Expand Up @@ -170,7 +170,7 @@ services:
entrypoint: /vault-init.sh

tss-stake:
image: ghcr.io/rarimo/rarimo-core:v1.1.0
image: ghcr.io/rarimo/rarimo-core:9219c4e45f502f6557ea150edf3980ba25596193
depends_on:
- validator
volumes:
Expand All @@ -179,7 +179,7 @@ services:
entrypoint: /tss-stake.sh

rarime-orgs:
image: ghcr.io/rarimo/rarime-orgs-svc:v0.7.6
image: ghcr.io/rarimo/rarime-orgs-svc:v0.7.8
restart: on-failure
depends_on:
- rarime-orgs-db
Expand All @@ -205,7 +205,7 @@ services:
- orgs-data:/pgdata

rarime-link:
image: ghcr.io/rarimo/rarime-link-svc:v0.3.0-rc7
image: ghcr.io/rarimo/rarime-link-svc:v0.3.2
restart: on-failure
depends_on:
- rarime-link-db
Expand Down