Skip to content

Commit bab1a75

Browse files
committed
add staking_cache.jsonnet
1 parent 848f12c commit bab1a75

File tree

3 files changed

+247
-423
lines changed

3 files changed

+247
-423
lines changed
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
{
2+
'cronos_777-1': {
3+
'start-flags': '--trace',
4+
cmd: 'cronosd',
5+
6+
local _1mil_tcro = '1000000000000000000000000basetcro',
7+
local _10quintillion_stake = '10000000000000000000stake',
8+
local _1quintillion_stake = '1000000000000000000stake',
9+
local _1mil_qatest = '1000000qatest',
10+
11+
validators: [
12+
{
13+
coins: std.join(',', [_1mil_tcro, _10quintillion_stake]),
14+
staked: _1quintillion_stake,
15+
mnemonic: 'elbow flight coast travel move behind sister tell avocado road wait above',
16+
gas_prices: '100000000000000000basetcro',
17+
base_port: 26650,
18+
'app-config': {
19+
staking: {
20+
'cache-size': -1, // disabled
21+
},
22+
},
23+
},
24+
{
25+
coins: std.join(',', [_1mil_tcro, _10quintillion_stake]),
26+
staked: _1quintillion_stake,
27+
mnemonic: 'nasty large defy garage violin casual alarm blue marble industry infant inside',
28+
gas_prices: '100000000000000000basetcro',
29+
base_port: 26660,
30+
'app-config': {
31+
staking: {
32+
'cache-size': 0, // unlimited
33+
},
34+
},
35+
},
36+
{
37+
coins: std.join(',', [_1mil_tcro, _10quintillion_stake]),
38+
staked: _1quintillion_stake,
39+
mnemonic: 'lobster culture confirm twist oak sock lucky core kiss echo term faint robot purity fluid mix rescue music drive spot term pistol feed abuse',
40+
gas_prices: '100000000000000000basetcro',
41+
base_port: 26670,
42+
'app-config': {
43+
staking: {
44+
'cache-size': 1, // size limit 1
45+
},
46+
},
47+
},
48+
{
49+
coins: std.join(',', [_1mil_tcro, _10quintillion_stake]),
50+
staked: _1quintillion_stake,
51+
mnemonic: 'wonder grocery sing soccer two portion shift science gain tuition mean garbage feed execute brush civil buddy filter mandate aunt rocket quarter aim first',
52+
gas_prices: '100000000000000000basetcro',
53+
base_port: 26680,
54+
'app-config': {
55+
staking: {
56+
'cache-size': 2, // size limit 2
57+
},
58+
},
59+
},
60+
{
61+
coins: std.join(',', [_1mil_tcro, _10quintillion_stake]),
62+
staked: _1quintillion_stake,
63+
mnemonic: 'super develop desert oak load field ring jazz tray spray found novel',
64+
gas_prices: '100000000000000000basetcro',
65+
base_port: 26690,
66+
'app-config': {
67+
staking: {
68+
'cache-size': 3, // size limit 3
69+
},
70+
},
71+
},
72+
],
73+
accounts: [
74+
{
75+
name: 'rich',
76+
coins: std.join(',', [_1mil_tcro, _1mil_qatest, _10quintillion_stake]),
77+
mnemonic: 'loyal legend allow glow wheel heavy pretty example tell peasant myself garlic battle bachelor buddy stand true grit manual letter wire alone polar glove',
78+
},
79+
{
80+
name: 'alice',
81+
coins: std.join(',', [_1mil_tcro, _1mil_qatest, _10quintillion_stake]),
82+
mnemonic: 'style recipe economy valve curtain raw scare unable chair silly impact thrive moment copy able voyage slush diary adjust boss smile finger volume reward',
83+
},
84+
{
85+
name: 'bob',
86+
coins: std.join(',', [_1mil_tcro, _1mil_qatest, _10quintillion_stake]),
87+
mnemonic: 'frost worth crisp gasp this waste harbor able ethics raise december tent kid brief banner frame absent fragile police garage remind stomach side midnight',
88+
},
89+
{
90+
name: 'charlie',
91+
coins: std.join(',', [_1mil_tcro, _1mil_qatest, _10quintillion_stake]),
92+
mnemonic: 'worth lounge teach critic forward disease shy genuine rain gorilla end depth sort clutch museum festival stay joke custom anchor seven outside equip crawl',
93+
},
94+
],
95+
96+
config: {
97+
'unsafe-ignore-block-list-failure': true,
98+
consensus: {
99+
timeout_commit: '3s',
100+
create_empty_blocks_interval: '3s',
101+
},
102+
},
103+
104+
'app-config': {
105+
'minimum-gas-prices': '5000000000000basetcro',
106+
'app-db-backend': 'goleveldb',
107+
pruning: 'nothing',
108+
rosetta: {
109+
'denom-to-suggest': 'basetcro',
110+
},
111+
evm: {
112+
'max-tx-gas-wanted': 0,
113+
},
114+
'json-rpc': {
115+
address: '0.0.0.0:{EVMRPC_PORT}',
116+
'ws-address': '0.0.0.0:{EVMRPC_PORT_WS}',
117+
api: 'eth,net,web3,debug,cronos',
118+
'block-range-cap': 30,
119+
'evm-timeout': '10s',
120+
},
121+
'blocked-addresses': [],
122+
mempool: {
123+
'max-txs': 0,
124+
},
125+
},
126+
genesis: {
127+
consensus: {
128+
params: {
129+
block: {
130+
max_bytes: '1048576',
131+
max_gas: '81500000',
132+
},
133+
evidence: {
134+
max_age_num_blocks: '403200',
135+
max_age_duration: '2419200000000000',
136+
max_bytes: '150000',
137+
},
138+
},
139+
},
140+
app_state: {
141+
bank: {
142+
send_enabled: [
143+
{
144+
denom: 'stake',
145+
enabled: true,
146+
},
147+
{
148+
denom: 'basetcro',
149+
enabled: false,
150+
},
151+
],
152+
},
153+
cronos: {
154+
params: {
155+
cronos_admin: 'crc12luku6uxehhak02py4rcz65zu0swh7wjsrw0pp',
156+
ibc_cro_denom: 'ibc/6B5A664BF0AF4F71B2F0BAA33141E2F1321242FBD5D19762F541EC971ACB0865',
157+
},
158+
},
159+
distribution: {
160+
params: {
161+
community_tax: '0',
162+
base_proposer_reward: '0',
163+
bonus_proposer_reward: '0',
164+
},
165+
},
166+
evm: {
167+
params: {
168+
evm_denom: 'basetcro',
169+
},
170+
},
171+
gov: {
172+
params: {
173+
min_deposit: [
174+
{
175+
denom: 'basetcro',
176+
amount: '5',
177+
},
178+
],
179+
max_deposit_period: '30s',
180+
voting_period: '30s',
181+
expedited_voting_period: '15s',
182+
expedited_min_deposit: [
183+
{
184+
denom: 'basetcro',
185+
amount: '25',
186+
},
187+
],
188+
},
189+
},
190+
ibc: {
191+
client_genesis: {
192+
params: {
193+
allowed_clients: [
194+
'06-solomachine',
195+
'07-tendermint',
196+
'09-localhost',
197+
],
198+
},
199+
},
200+
},
201+
mint: {
202+
minter: {
203+
inflation: '0.000000000000000000',
204+
annual_provisions: '0.000000000000000000',
205+
},
206+
params: {
207+
inflation_rate_change: '0',
208+
inflation_max: '0',
209+
inflation_min: '0',
210+
goal_bonded: '1',
211+
},
212+
},
213+
slashing: {
214+
params: {
215+
downtime_jail_duration: '60s',
216+
min_signed_per_window: '0.5',
217+
signed_blocks_window: '10',
218+
slash_fraction_double_sign: '0',
219+
slash_fraction_downtime: '0',
220+
},
221+
},
222+
staking: {
223+
params: {
224+
unbonding_time: '120s',
225+
max_validators: '50',
226+
},
227+
},
228+
feemarket: {
229+
// from https://rest-t3.cronos.org/ethermint/feemarket/v1/params
230+
params: {
231+
no_base_fee: false,
232+
base_fee_change_denominator: 100,
233+
elasticity_multiplier: 4,
234+
// enabled at genesis, different from testnet
235+
enable_height: '0',
236+
// initial base fee at genesis, testnet shows the current base fee, hence different
237+
base_fee: '1000000000',
238+
min_gas_price: '1000000000',
239+
min_gas_multiplier: '0.500000000000000000',
240+
},
241+
},
242+
},
243+
},
244+
},
245+
}
246+

0 commit comments

Comments
 (0)