diff --git a/Dockerfile b/Dockerfile index 4fd80c4..763ac38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,6 @@ COPY . . RUN go build -o validate-gentx . -CMD ["./validate-gentx"] +# CMD ["./validate-gentx"] +ENTRYPOINT ["tail", "-f", "/dev/null"] +# CMD ["sh", "-c", "./validate-gentx && tail -f /dev/null"] diff --git a/main.go b/main.go index 907573b..a791ab2 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "encoding/json" + "fmt" "io" "log" "math/big" @@ -18,23 +19,23 @@ var ( /* Change as needed */ /* =================================================== */ CHAIN_ID = "seda-1-testnet" - WORKING_DIR = "./testnet/" + CHAIN_ID - BINARY_URL = "https://github.com/sedaprotocol/seda-chain/releases/download/v0.0.5/seda-chaind-amd64" - BINARY = "seda-chaind" + WORKING_DIR = "./testnet" + BINARY_URL = "https://github.com/sedaprotocol/seda-chain/releases/download/v0.0.6/sedad-amd64" + BINARY = "sedad" /* =================================================== */ /* The followings should rarely change */ /* =================================================== */ GENTX_DIR = WORKING_DIR + "/gentx" BINARY_PATH = "./" + BINARY - SEDA_HOME = os.Getenv("HOME") + "/.seda-chain" + SEDA_HOME = os.Getenv("HOME") + "/.sedad" PREFIX = "seda" DENOM = "aseda" TEST_KEY_NAME = "test-key" - GENESIS_ALLOCATION = "1000000000000000000000000000000000000" + DENOM - DEFAULT_BOND = "300000000000000000000000000000000000" + DENOM - MAXBOND = "600000000000000000000000000000000000" + GENESIS_ALLOCATION = "1000000000000000000000000" + DENOM + DEFAULT_BOND = "1000000000000000000000000" + DENOM + MAXBOND = "600000000000000000000000000000000000" // TO-DO what number to use here? ) func main() { @@ -125,6 +126,15 @@ func validateGentx() { log.Fatal("Error reading gentx files: ", err) } + gentxDir := filepath.Join(SEDA_HOME, "config/gentx") + if _, err := os.Stat(gentxDir); os.IsNotExist(err) { + err := os.Mkdir(gentxDir, 0755) + if err != nil { + fmt.Println("Error creating directory:", err) + return + } + } + for i, file := range gentxFiles { // add keys keyName := TEST_KEY_NAME + "-" + strconv.Itoa(i) @@ -181,12 +191,21 @@ func validateGentx() { log.Fatalf("Error adding genesis account: %s", err) } - // create gentx - _, err = exec.Command(BINARY_PATH, "gentx", keyName, DEFAULT_BOND).Output() + // // create gentx + // _, err = exec.Command(BINARY_PATH, "gentx", keyName, DEFAULT_BOND).Output() + // if err != nil { + // log.Fatal("Error creating gentx: ", err) + // } + + // copy the gentx file to the node directory + data, err := os.ReadFile(file) if err != nil { - log.Fatal("Error creating gentx: ", err) + log.Fatalf("Failed to read file: %v", err) + } + err = os.WriteFile(filepath.Join(gentxDir, filepath.Base(file)), data, 0644) + if err != nil { + log.Fatalf("Failed to write file: %v", err) } - } log.Println("Validating finished...") diff --git a/testnet/pre-genesis.json b/testnet/pre-genesis.json new file mode 100644 index 0000000..f05e045 --- /dev/null +++ b/testnet/pre-genesis.json @@ -0,0 +1,989 @@ +{ + "app_name": "sedad", + "app_version": "v0.0.6", + "genesis_time": "2024-02-22T14:00:00Z", + "chain_id": "seda-1-testnet", + "initial_height": 1, + "app_hash": null, + "app_state": { + "07-tendermint": null, + "auth": { + "params": { + "max_memo_characters": "256", + "tx_sig_limit": "7", + "tx_size_cost_per_byte": "10", + "sig_verify_cost_ed25519": "590", + "sig_verify_cost_secp256k1": "1000" + }, + "accounts": [ + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1me08j60dfmxwcftpp6jq9cgeapws3e6268a8ng", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda12rype4zl8wxcgqwl237fll6hvufkgcj8kwnuah", + "pub_key": null, + "account_number": "1", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1ta6c4qe3v4qahln8uudwhxyl6dh9xjnjr7l7rd", + "pub_key": null, + "account_number": "2", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1e32g7uv8pw7jrxdhtz7adxfws0vw6u9gzcxccq", + "pub_key": null, + "account_number": "3", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1cz4xdt254kpl09sf3y7qh2djaf6c9zqgyfnfp9", + "pub_key": null, + "account_number": "4", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1jd2q0mz0vzs75tp7lyuzf9064zccddgs8utjr5", + "pub_key": null, + "account_number": "5", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1xd04svzj6zj93g4eknhp6aq2yyptagcc2zeetj", + "pub_key": null, + "account_number": "6", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1ucv5709wlf9jn84ynyjzyzeavwvurmdyxat26l", + "pub_key": null, + "account_number": "7", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1vqtlfawm5gwft9npqsq8tfxaquknq7nsuyjlqr", + "pub_key": null, + "account_number": "8", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1w6ukplu02meff4qgc7wmf9dxaqs88yhhwmj04f", + "pub_key": null, + "account_number": "9", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "1000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "seda1fsw93wnvav0uvnzv3alk9zvkpp3jnn3pcj8l05", + "pub_key": null, + "account_number": "10", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "pub_key": null, + "account_number": "11", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "seda1d35zcl9hrj4v2azpmx3ypq2zst2n46yvwhd09t", + "pub_key": null, + "account_number": "12", + "sequence": "0" + }, + { + "@type": "/sedachain.vesting.v1.ClawbackContinuousVestingAccount", + "vesting_account": { + "base_vesting_account": { + "base_account": { + "address": "seda1dnqw67cytgxfauyfzrs90qp6pc27a7l4e66h7z", + "pub_key": null, + "account_number": "13", + "sequence": "0" + }, + "original_vesting": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ], + "delegated_free": [], + "delegated_vesting": [], + "end_time": "1716386400" + }, + "start_time": "1708610400" + }, + "funder_address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + } + ] + }, + "authz": { + "authorization": [] + }, + "bank": { + "params": { + "send_enabled": [], + "default_send_enabled": true + }, + "balances": [ + { + "address": "seda1xd04svzj6zj93g4eknhp6aq2yyptagcc2zeetj", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1fsw93wnvav0uvnzv3alk9zvkpp3jnn3pcj8l05", + "coins": [ + { + "denom": "aseda", + "amount": "270000000000000000000000000" + } + ] + }, + { + "address": "seda12rype4zl8wxcgqwl237fll6hvufkgcj8kwnuah", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1ta6c4qe3v4qahln8uudwhxyl6dh9xjnjr7l7rd", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1vqtlfawm5gwft9npqsq8tfxaquknq7nsuyjlqr", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1d35zcl9hrj4v2azpmx3ypq2zst2n46yvwhd09t", + "coins": [ + { + "denom": "aseda", + "amount": "3000000000000000000000000" + } + ] + }, + { + "address": "seda1dnqw67cytgxfauyfzrs90qp6pc27a7l4e66h7z", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1w6ukplu02meff4qgc7wmf9dxaqs88yhhwmj04f", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1jd2q0mz0vzs75tp7lyuzf9064zccddgs8utjr5", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1cz4xdt254kpl09sf3y7qh2djaf6c9zqgyfnfp9", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1e32g7uv8pw7jrxdhtz7adxfws0vw6u9gzcxccq", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1me08j60dfmxwcftpp6jq9cgeapws3e6268a8ng", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1ucv5709wlf9jn84ynyjzyzeavwvurmdyxat26l", + "coins": [ + { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + ] + }, + { + "address": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "coins": [ + { + "denom": "aseda", + "amount": "700000000000000000000000000" + } + ] + } + ], + "supply": [], + "denom_metadata": [ + { + "description": "The token asset for SEDA Chain", + "denom_units": [ + { + "denom": "aseda", + "exponent": 0, + "aliases": [ + "attoseda" + ] + }, + { + "denom": "seda", + "exponent": 18, + "aliases": [] + } + ], + "base": "aseda", + "display": "seda", + "name": "seda", + "symbol": "SEDA", + "uri": "", + "uri_hash": "" + } + ], + "send_enabled": [] + }, + "capability": { + "index": "1", + "owners": [] + }, + "circuit": { + "account_permissions": [], + "disabled_type_urls": [] + }, + "consensus": null, + "crisis": { + "constant_fee": { + "denom": "aseda", + "amount": "1000000000000" + } + }, + "distribution": { + "params": { + "community_tax": "0.000000000000000000", + "base_proposer_reward": "0.010000000000000000", + "bonus_proposer_reward": "0.040000000000000000", + "withdraw_addr_enabled": true + }, + "fee_pool": { + "community_pool": [] + }, + "delegator_withdraw_infos": [], + "previous_proposer": "", + "outstanding_rewards": [], + "validator_accumulated_commissions": [], + "validator_historical_rewards": [], + "validator_current_rewards": [], + "delegator_starting_infos": [], + "validator_slash_events": [] + }, + "evidence": { + "evidence": [] + }, + "feegrant": { + "allowances": [] + }, + "feeibc": { + "identified_fees": [], + "fee_enabled_channels": [], + "registered_payees": [], + "registered_counterparty_payees": [], + "forward_relayers": [] + }, + "genutil": { + "gen_txs": [ + { + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "SEDA-node1", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "", + "validator_address": "sedavaloper1dnqw67cytgxfauyfzrs90qp6pc27a7l4jvzv9m", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "qSHREQm4sMU0pUoWBsYR2O6eKHw0CGJ6xf35Ng7QQ4s=" + }, + "value": { + "denom": "aseda", + "amount": "2000000000000000000000000" + } + } + ], + "memo": "9b6de59e38faa31ac0f2ae2469954be562fc167f@13.41.125.154:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "AoVov2EBlkLfBVZHrxHSPOdIV6d/Wwh0CLxquPXgU0pc" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + }, + "tip": null + }, + "signatures": [ + "1RcqU+HK/luQK35miWwaMdLPKNOCXrQBXjLqgfJdp5YkzOW5XthsO3St8fTozJZuAJmfhpUMvsPI+6QdDVnjpQ==" + ] + }, + { + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "SEDA-node0", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "", + "validator_address": "sedavaloper1d35zcl9hrj4v2azpmx3ypq2zst2n46yv9p457j", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "kf1g5flyoVkq2ORdGx0/Nry/vTnmIKE71fHFclZyKg8=" + }, + "value": { + "denom": "aseda", + "amount": "3000000000000000000000000" + } + } + ], + "memo": "cb75c263cff51a14a4f10694046bb81414d10064@18.171.36.35:26656", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.crypto.secp256k1.PubKey", + "key": "AlgHPoFZmUGY/NxF54KxMMATzB/nwp2EVLyeT8jfihDW" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + }, + "tip": null + }, + "signatures": [ + "mHSnzk0WhO3KKIB1at+IQ8uMu1odrHH56WU5thid7Ohz5n2faLuFUk4cBZTLOne/IKX3MkPnNj9T1sHk229hrg==" + ] + } + ] + }, + "gov": { + "starting_proposal_id": "1", + "deposits": [], + "votes": [], + "proposals": [], + "deposit_params": null, + "voting_params": { + "voting_period": "432000s" + }, + "tally_params": null, + "params": { + "min_deposit": [ + { + "denom": "aseda", + "amount": "10000000" + } + ], + "max_deposit_period": "432000s", + "voting_period": "432000s", + "quorum": "0.334000000000000000", + "threshold": "0.500000000000000000", + "veto_threshold": "0.334000000000000000", + "min_initial_deposit_ratio": "0.010000000000000000", + "proposal_cancel_ratio": "0.500000000000000000", + "proposal_cancel_dest": "", + "expedited_voting_period": "86400s", + "expedited_threshold": "0.667000000000000000", + "expedited_min_deposit": [ + { + "denom": "aseda", + "amount": "50000000" + } + ], + "burn_vote_quorum": false, + "burn_proposal_deposit_prevote": false, + "burn_vote_veto": true, + "min_deposit_ratio": "0.010000000000000000" + }, + "constitution": "" + }, + "group": { + "group_seq": "2", + "groups": [ + { + "id": "1", + "admin": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "metadata": "Security Group", + "version": "1", + "total_weight": "5", + "created_at": "2024-02-16T18:59:56.270490Z" + }, + { + "id": "2", + "admin": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "metadata": "Treasury Group", + "version": "1", + "total_weight": "5", + "created_at": "2024-02-16T19:00:03.804337Z" + } + ], + "group_members": [ + { + "group_id": "1", + "member": { + "address": "seda1xd04svzj6zj93g4eknhp6aq2yyptagcc2zeetj", + "weight": "1", + "metadata": "testnet_gluax", + "added_at": "2024-02-16T18:59:56.270490Z" + } + }, + { + "group_id": "1", + "member": { + "address": "seda1jd2q0mz0vzs75tp7lyuzf9064zccddgs8utjr5", + "weight": "1", + "metadata": "testnet_franklin", + "added_at": "2024-02-16T18:59:56.270490Z" + } + }, + { + "group_id": "1", + "member": { + "address": "seda1cz4xdt254kpl09sf3y7qh2djaf6c9zqgyfnfp9", + "weight": "1", + "metadata": "testnet_mario", + "added_at": "2024-02-16T18:59:56.270490Z" + } + }, + { + "group_id": "1", + "member": { + "address": "seda1me08j60dfmxwcftpp6jq9cgeapws3e6268a8ng", + "weight": "1", + "metadata": "testnet_jasper", + "added_at": "2024-02-16T18:59:56.270490Z" + } + }, + { + "group_id": "1", + "member": { + "address": "seda1ucv5709wlf9jn84ynyjzyzeavwvurmdyxat26l", + "weight": "1", + "metadata": "testnet_hy", + "added_at": "2024-02-16T18:59:56.270490Z" + } + }, + { + "group_id": "2", + "member": { + "address": "seda1xd04svzj6zj93g4eknhp6aq2yyptagcc2zeetj", + "weight": "1", + "metadata": "testnet_gluax", + "added_at": "2024-02-16T19:00:03.804337Z" + } + }, + { + "group_id": "2", + "member": { + "address": "seda1jd2q0mz0vzs75tp7lyuzf9064zccddgs8utjr5", + "weight": "1", + "metadata": "testnet_franklin", + "added_at": "2024-02-16T19:00:03.804337Z" + } + }, + { + "group_id": "2", + "member": { + "address": "seda1cz4xdt254kpl09sf3y7qh2djaf6c9zqgyfnfp9", + "weight": "1", + "metadata": "testnet_mario", + "added_at": "2024-02-16T19:00:03.804337Z" + } + }, + { + "group_id": "2", + "member": { + "address": "seda1me08j60dfmxwcftpp6jq9cgeapws3e6268a8ng", + "weight": "1", + "metadata": "testnet_jasper", + "added_at": "2024-02-16T19:00:03.804337Z" + } + }, + { + "group_id": "2", + "member": { + "address": "seda1ucv5709wlf9jn84ynyjzyzeavwvurmdyxat26l", + "weight": "1", + "metadata": "testnet_hy", + "added_at": "2024-02-16T19:00:03.804337Z" + } + } + ], + "group_policy_seq": "2", + "group_policies": [ + { + "address": "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm", + "group_id": "2", + "admin": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "metadata": "{\"name\":\"Treasury Group Policy\",\"description\":\"\"}", + "version": "1", + "decision_policy": { + "@type": "/cosmos.group.v1.ThresholdDecisionPolicy", + "threshold": "3", + "windows": { + "voting_period": "900s", + "min_execution_period": "0s" + } + }, + "created_at": "2024-02-16T19:00:03.804337Z" + }, + { + "address": "seda1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzs026662", + "group_id": "1", + "admin": "seda1lyfkj6xwecq3462qa683s78weexhp7d72ku3qf", + "metadata": "{\"name\":\"Security Group Policy\",\"description\":\"\"}", + "version": "1", + "decision_policy": { + "@type": "/cosmos.group.v1.ThresholdDecisionPolicy", + "threshold": "3", + "windows": { + "voting_period": "900s", + "min_execution_period": "0s" + } + }, + "created_at": "2024-02-16T18:59:56.270490Z" + } + ], + "proposal_seq": "0", + "proposals": [], + "votes": [] + }, + "ibc": { + "client_genesis": { + "clients": [], + "clients_consensus": [], + "clients_metadata": [], + "params": { + "allowed_clients": [ + "06-solomachine", + "07-tendermint", + "09-localhost" + ] + }, + "create_localhost": false, + "next_client_sequence": "0" + }, + "connection_genesis": { + "connections": [], + "client_connection_paths": [], + "next_connection_sequence": "0", + "params": { + "max_expected_time_per_block": "30000000000" + } + }, + "channel_genesis": { + "channels": [], + "acknowledgements": [], + "commitments": [], + "receipts": [], + "send_sequences": [], + "recv_sequences": [], + "ack_sequences": [], + "next_channel_sequence": "0" + } + }, + "interchainaccounts": { + "controller_genesis_state": { + "active_channels": [], + "interchain_accounts": [], + "ports": [], + "params": { + "controller_enabled": true + } + }, + "host_genesis_state": { + "active_channels": [], + "interchain_accounts": [], + "port": "icahost", + "params": { + "host_enabled": true, + "allow_messages": [ + "*" + ] + } + } + }, + "mint": { + "minter": { + "inflation": "0.130000000000000000", + "annual_provisions": "0.000000000000000000" + }, + "params": { + "mint_denom": "aseda", + "inflation_rate_change": "0.130000000000000000", + "inflation_max": "0.200000000000000000", + "inflation_min": "0.070000000000000000", + "goal_bonded": "0.670000000000000000", + "blocks_per_year": "4204800" + } + }, + "packetfowardmiddleware": { + "params": { + "fee_percentage": "0.000000000000000000" + }, + "in_flight_packets": {} + }, + "slashing": { + "params": { + "signed_blocks_window": "10000", + "min_signed_per_window": "0.050000000000000000", + "downtime_jail_duration": "600s", + "slash_fraction_double_sign": "0.050000000000000000", + "slash_fraction_downtime": "0.0001" + }, + "signing_infos": [], + "missed_blocks": [] + }, + "staking": { + "params": { + "unbonding_time": "1814400s", + "max_validators": 100, + "max_entries": 7, + "historical_entries": 10000, + "bond_denom": "aseda", + "min_commission_rate": "0.000000000000000000" + }, + "last_total_power": "0", + "last_validator_powers": [], + "validators": [], + "delegations": [], + "unbonding_delegations": [], + "redelegations": [], + "exported": false + }, + "transfer": { + "port_id": "transfer", + "denom_traces": [], + "params": { + "send_enabled": true, + "receive_enabled": true + }, + "total_escrowed": [] + }, + "upgrade": {}, + "vesting": {}, + "wasm": { + "params": { + "code_upload_access": { + "permission": "AnyOfAddresses", + "addresses": [ + "seda1dlszg2sst9r69my4f84l3mj66zxcf3umcgujys30t84srg95dgvsahaqzm" + ] + }, + "instantiate_default_permission": "AnyOfAddresses" + }, + "codes": [], + "contracts": [], + "sequences": [] + } + }, + "consensus": { + "params": { + "block": { + "max_bytes": "22020096", + "max_gas": "100000000" + }, + "evidence": { + "max_age_num_blocks": "100000", + "max_age_duration": "172800000000000", + "max_bytes": "1048576" + }, + "validator": { + "pub_key_types": [ + "ed25519" + ] + }, + "version": { + "app": "0" + }, + "abci": { + "vote_extensions_enable_height": "0" + } + } + } +} diff --git a/testnet/seda-1-testnet/gentx/gentx-c24f01b4a897b37dd958633943c5b1d1ec5809f1.json b/testnet/seda-1-testnet/gentx/gentx-c24f01b4a897b37dd958633943c5b1d1ec5809f1.json deleted file mode 100644 index b22070c..0000000 --- a/testnet/seda-1-testnet/gentx/gentx-c24f01b4a897b37dd958633943c5b1d1ec5809f1.json +++ /dev/null @@ -1 +0,0 @@ -{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"node0","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"sedavaloper1x06lxmcnczmvzlgjmzxulznl8rzgtfv6eavgzy","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"h2CqXMybmYTaW7Fv/XT6BKqG54hwZu2IhrgDgtDq1OU="},"value":{"denom":"aseda","amount":"300000000000000000000000000000000000"}}],"memo":"c24f01b4a897b37dd958633943c5b1d1ec5809f1@18.171.36.35:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A7lwZ1v1cqA3im4H6G7LE9mXjkC7zCkrmkPgAe9SGLtM"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["gjcj6VPM8slg7BYJJRMfg2DCbESTPJzCBSVH1n0QiyY9StzEshwn+v+cP0ipcY9V2d0VxwKSA3MP8LET3gTsWA=="]} diff --git a/testnet/seda-1-testnet/pre-genesis.json b/testnet/seda-1-testnet/pre-genesis.json deleted file mode 100644 index c582332..0000000 --- a/testnet/seda-1-testnet/pre-genesis.json +++ /dev/null @@ -1,268 +0,0 @@ -{ - "app_name": "seda-chaind", - "app_version": "0.0.2-5-gb21688a", - "genesis_time": "2024-02-06T22:00:00Z", - "chain_id": "seda-1-testnet", - "initial_height": 1, - "app_hash": null, - "app_state": { - "07-tendermint": null, - "auth": { - "params": { - "max_memo_characters": "256", - "tx_sig_limit": "7", - "tx_size_cost_per_byte": "10", - "sig_verify_cost_ed25519": "590", - "sig_verify_cost_secp256k1": "1000" - }, - "accounts": [] - }, - "authz": { - "authorization": [] - }, - "bank": { - "params": { - "send_enabled": [], - "default_send_enabled": true - }, - "balances": [], - "supply": [], - "denom_metadata": [], - "send_enabled": [] - }, - "capability": { - "index": "1", - "owners": [] - }, - "circuit": { - "account_permissions": [], - "disabled_type_urls": [] - }, - "consensus": null, - "crisis": { - "constant_fee": { - "denom": "aseda", - "amount": "1000" - } - }, - "distribution": { - "params": { - "community_tax": "0.020000000000000000", - "base_proposer_reward": "0.000000000000000000", - "bonus_proposer_reward": "0.000000000000000000", - "withdraw_addr_enabled": true - }, - "fee_pool": { - "community_pool": [] - }, - "delegator_withdraw_infos": [], - "previous_proposer": "", - "outstanding_rewards": [], - "validator_accumulated_commissions": [], - "validator_historical_rewards": [], - "validator_current_rewards": [], - "delegator_starting_infos": [], - "validator_slash_events": [] - }, - "evidence": { - "evidence": [] - }, - "feegrant": { - "allowances": [] - }, - "feeibc": { - "identified_fees": [], - "fee_enabled_channels": [], - "registered_payees": [], - "registered_counterparty_payees": [], - "forward_relayers": [] - }, - "genutil": { - "gen_txs": [] - }, - "gov": { - "starting_proposal_id": "1", - "deposits": [], - "votes": [], - "proposals": [], - "deposit_params": null, - "voting_params": null, - "tally_params": null, - "params": { - "min_deposit": [ - { - "denom": "aseda", - "amount": "10000000" - } - ], - "max_deposit_period": "172800s", - "voting_period": "172800s", - "quorum": "0.334000000000000000", - "threshold": "0.500000000000000000", - "veto_threshold": "0.334000000000000000", - "min_initial_deposit_ratio": "0.000000000000000000", - "proposal_cancel_ratio": "0.500000000000000000", - "proposal_cancel_dest": "", - "expedited_voting_period": "86400s", - "expedited_threshold": "0.667000000000000000", - "expedited_min_deposit": [ - { - "denom": "aseda", - "amount": "50000000" - } - ], - "burn_vote_quorum": false, - "burn_proposal_deposit_prevote": false, - "burn_vote_veto": true, - "min_deposit_ratio": "0.010000000000000000" - }, - "constitution": "" - }, - "group": { - "group_seq": "0", - "groups": [], - "group_members": [], - "group_policy_seq": "0", - "group_policies": [], - "proposal_seq": "0", - "proposals": [], - "votes": [] - }, - "ibc": { - "client_genesis": { - "clients": [], - "clients_consensus": [], - "clients_metadata": [], - "params": { - "allowed_clients": ["06-solomachine", "07-tendermint", "09-localhost"] - }, - "create_localhost": false, - "next_client_sequence": "0" - }, - "connection_genesis": { - "connections": [], - "client_connection_paths": [], - "next_connection_sequence": "0", - "params": { - "max_expected_time_per_block": "30000000000" - } - }, - "channel_genesis": { - "channels": [], - "acknowledgements": [], - "commitments": [], - "receipts": [], - "send_sequences": [], - "recv_sequences": [], - "ack_sequences": [], - "next_channel_sequence": "0" - } - }, - "interchainaccounts": { - "controller_genesis_state": { - "active_channels": [], - "interchain_accounts": [], - "ports": [], - "params": { - "controller_enabled": true - } - }, - "host_genesis_state": { - "active_channels": [], - "interchain_accounts": [], - "port": "icahost", - "params": { - "host_enabled": true, - "allow_messages": ["*"] - } - } - }, - "mint": { - "minter": { - "inflation": "0.130000000000000000", - "annual_provisions": "0.000000000000000000" - }, - "params": { - "mint_denom": "aseda", - "inflation_rate_change": "0.130000000000000000", - "inflation_max": "0.200000000000000000", - "inflation_min": "0.070000000000000000", - "goal_bonded": "0.670000000000000000", - "blocks_per_year": "6311520" - } - }, - "slashing": { - "params": { - "signed_blocks_window": "100", - "min_signed_per_window": "0.500000000000000000", - "downtime_jail_duration": "600s", - "slash_fraction_double_sign": "0.050000000000000000", - "slash_fraction_downtime": "0.010000000000000000" - }, - "signing_infos": [], - "missed_blocks": [] - }, - "staking": { - "params": { - "unbonding_time": "1814400s", - "max_validators": 100, - "max_entries": 7, - "historical_entries": 10000, - "bond_denom": "aseda", - "min_commission_rate": "0.000000000000000000" - }, - "last_total_power": "0", - "last_validator_powers": [], - "validators": [], - "delegations": [], - "unbonding_delegations": [], - "redelegations": [], - "exported": false - }, - "transfer": { - "port_id": "transfer", - "denom_traces": [], - "params": { - "send_enabled": true, - "receive_enabled": true - }, - "total_escrowed": [] - }, - "upgrade": {}, - "vesting": {}, - "wasm": { - "params": { - "code_upload_access": { - "permission": "Everybody", - "addresses": [] - }, - "instantiate_default_permission": "Everybody" - }, - "codes": [], - "contracts": [], - "sequences": [] - } - }, - "consensus": { - "params": { - "block": { - "max_bytes": "22020096", - "max_gas": "-1" - }, - "evidence": { - "max_age_num_blocks": "100000", - "max_age_duration": "172800000000000", - "max_bytes": "1048576" - }, - "validator": { - "pub_key_types": ["ed25519"] - }, - "version": { - "app": "0" - }, - "abci": { - "vote_extensions_enable_height": "0" - } - } - } -}