Skip to content

Commit cd43369

Browse files
author
gregnuj
committed
updated version and genesis
1 parent 8c94324 commit cd43369

File tree

3 files changed

+93
-7
lines changed

3 files changed

+93
-7
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
COMPOSE_PROJECT_NAME=localterra
2-
TERRA_VERSION=2.2.1
2+
TERRA_VERSION=2.3.2

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG TERRA_VERSION=2.2.1
1+
ARG TERRA_VERSION=2.3.2
22

33
FROM ghcr.io/terra-money/core:${TERRA_VERSION}
44

@@ -19,7 +19,6 @@ RUN set -eux &&\
1919
mkdir -p /app/conifg && \
2020
mkdir -p /app/data && \
2121
chown -R terra:terra /app && \
22-
ln -s /app /terra/.terrad && \
2322
terrad init localterra --home /app --chain-id localterra && \
2423
echo '{"height": "0","round": 0,"step": 0}' > /app/data/priv_validator_state.json && \
2524
sed -e '/^\[api\]/,/\[rosetta\]/ s|^enable *=.*|enable = true|' \
@@ -51,4 +50,7 @@ CMD terrad start \
5150
--minimum-gas-prices 0.015uluna \
5251
--moniker localterra \
5352
--p2p.upnp true \
54-
--rpc.laddr tcp://0.0.0.0:26657
53+
--rpc.laddr tcp://0.0.0.0:26657 \
54+
--api.enable true \
55+
--api.swagger true \
56+
--api.enabled-unsafe-cors true

terra/genesis.json

Lines changed: 87 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@
2222
},
2323
"app_hash": "",
2424
"app_state": {
25+
"alliance": {
26+
"params": {
27+
"reward_delay_time": "604800s",
28+
"take_rate_claim_interval": "300s",
29+
"last_take_rate_claim_time": "0001-01-01T00:00:00Z"
30+
},
31+
"assets": [],
32+
"validator_infos": [],
33+
"reward_weight_change_snaphots": [],
34+
"delegations": [],
35+
"redelegations": [],
36+
"undelegations": []
37+
},
2538
"auth": {
2639
"params": {
2740
"max_memo_characters": "256",
@@ -262,6 +275,13 @@
262275
"feegrant": {
263276
"allowances": []
264277
},
278+
"feeibc": {
279+
"identified_fees": [],
280+
"fee_enabled_channels": [],
281+
"registered_payees": [],
282+
"registered_counterparty_payees": [],
283+
"forward_relayers": []
284+
},
265285
"genutil": {
266286
"gen_txs": [
267287
{
@@ -367,7 +387,10 @@
367387
"connection_genesis": {
368388
"connections": [],
369389
"client_connection_paths": [],
370-
"next_connection_sequence": "0"
390+
"next_connection_sequence": "0",
391+
"params": {
392+
"max_expected_time_per_block": "30000000000"
393+
}
371394
},
372395
"channel_genesis": {
373396
"channels": [],
@@ -380,6 +403,54 @@
380403
"next_channel_sequence": "0"
381404
}
382405
},
406+
"ibchooks": {},
407+
"interchainaccounts": {
408+
"controller_genesis_state": {
409+
"active_channels": [],
410+
"interchain_accounts": [],
411+
"ports": [],
412+
"params": {
413+
"controller_enabled": true
414+
}
415+
},
416+
"host_genesis_state": {
417+
"active_channels": [],
418+
"interchain_accounts": [],
419+
"port": "icahost",
420+
"params": {
421+
"host_enabled": true,
422+
"allow_messages": [
423+
"/cosmos.authz.v1beta1.MsgExec",
424+
"/cosmos.authz.v1beta1.MsgGrant",
425+
"/cosmos.authz.v1beta1.MsgRevoke",
426+
"/cosmos.bank.v1beta1.MsgSend",
427+
"/cosmos.bank.v1beta1.MsgMultiSend",
428+
"/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
429+
"/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
430+
"/cosmos.distribution.v1beta1.MsgFundCommunityPool",
431+
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
432+
"/cosmos.feegrant.v1beta1.MsgGrantAllowance",
433+
"/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
434+
"/cosmos.gov.v1beta1.MsgVoteWeighted",
435+
"/cosmos.gov.v1beta1.MsgSubmitProposal",
436+
"/cosmos.gov.v1beta1.MsgDeposit",
437+
"/cosmos.gov.v1beta1.MsgVote",
438+
"/cosmos.staking.v1beta1.MsgEditValidator",
439+
"/cosmos.staking.v1beta1.MsgDelegate",
440+
"/cosmos.staking.v1beta1.MsgUndelegate",
441+
"/cosmos.staking.v1beta1.MsgBeginRedelegate",
442+
"/cosmos.staking.v1beta1.MsgCreateValidator",
443+
"/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
444+
"/ibc.applications.transfer.v1.MsgTransfer",
445+
"/cosmwasm.wasm.v1.MsgStoreCode",
446+
"/cosmwasm.wasm.v1.MsgInstantiateContract",
447+
"/cosmwasm.wasm.v1.MsgExecuteContract",
448+
"/cosmwasm.wasm.v1.MsgMigrateContract"
449+
]
450+
}
451+
}
452+
},
453+
"intertx": null,
383454
"mint": {
384455
"minter": {
385456
"inflation": "0.130000000000000000",
@@ -412,7 +483,8 @@
412483
"max_validators": 100,
413484
"max_entries": 7,
414485
"historical_entries": 10000,
415-
"bond_denom": "uluna"
486+
"bond_denom": "uluna",
487+
"min_commission_rate": "0.000000000000000000"
416488
},
417489
"last_total_power": "0",
418490
"last_validator_powers": [],
@@ -422,6 +494,17 @@
422494
"redelegations": [],
423495
"exported": false
424496
},
497+
"tokenfactory": {
498+
"params": {
499+
"denom_creation_fee": [
500+
{
501+
"denom": "uluna",
502+
"amount": "10000000"
503+
}
504+
]
505+
},
506+
"factory_denoms": []
507+
},
425508
"transfer": {
426509
"port_id": "transfer",
427510
"denom_traces": [],
@@ -436,7 +519,8 @@
436519
"params": {
437520
"code_upload_access": {
438521
"permission": "Everybody",
439-
"address": ""
522+
"address": "",
523+
"addresses": []
440524
},
441525
"instantiate_default_permission": "Everybody"
442526
},

0 commit comments

Comments
 (0)