From a02aac0933834e9943f8971934d6aa768803073f Mon Sep 17 00:00:00 2001 From: vuong177 Date: Mon, 7 Aug 2023 17:27:05 +0700 Subject: [PATCH] update fork height to 967554 --- app/upgrades/v4_5/constants.go | 2 +- msg.json | 72 ++++++++++++++++++++++++++++++++++ testnode.sh | 2 +- 3 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 msg.json diff --git a/app/upgrades/v4_5/constants.go b/app/upgrades/v4_5/constants.go index a4b5843ac..f17b5dd49 100644 --- a/app/upgrades/v4_5/constants.go +++ b/app/upgrades/v4_5/constants.go @@ -5,7 +5,7 @@ import "github.com/notional-labs/centauri/v4/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. UpgradeName = "v4_5" - UpgradeHeight = 957554 + UpgradeHeight = 967554 ) var Fork = upgrades.Fork{ diff --git a/msg.json b/msg.json new file mode 100644 index 000000000..902e0ee15 --- /dev/null +++ b/msg.json @@ -0,0 +1,72 @@ +{ + "body": { + "messages": [ + { + "@type": "/cosmos.gov.v1.MsgSubmitProposal", + "messages": [ + { + "@type": "/centauri.ratelimit.v1beta1.MsgAddRateLimit", + "authority": "centauri10d07y265gmmuvt4z0w9aw880jnsr700j7g7ejq", + "denom": "ibc/EF48E6B1A1A19F47ECAEA62F5670C37C0580E86A9E88498B7E393EB6F49F33C0", + "channel_id": "channel-2", + "max_percent_send": "30", + "max_percent_recv": "30", + "duration_hours": "24" + }, + { + "@type": "/centauri.ratelimit.v1beta1.MsgAddRateLimit", + "authority": "centauri10d07y265gmmuvt4z0w9aw880jnsr700j7g7ejq", + "denom": "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23", + "channel_id": "channel-2", + "max_percent_send": "30", + "max_percent_recv": "30", + "duration_hours": "24" + }, + { + "@type": "/centauri.ratelimit.v1beta1.MsgAddRateLimit", + "authority": "centauri10d07y265gmmuvt4z0w9aw880jnsr700j7g7ejq", + "denom": "ibc/F3EC9F834E57DF704FA3AEAF14E8391C2E58397FE56960AD70E67562990D8265", + "channel_id": "channel-2", + "max_percent_send": "30", + "max_percent_recv": "30", + "duration_hours": "24" + }, + { + "@type": "/centauri.ratelimit.v1beta1.MsgAddRateLimit", + "authority": "centauri10d07y265gmmuvt4z0w9aw880jnsr700j7g7ejq", + "denom": "ibc/6727B2F071643B3841BD535ECDD4ED9CAE52ABDD0DCD07C3630811A7A37B215C", + "channel_id": "channel-2", + "max_percent_send": "30", + "max_percent_recv": "30", + "duration_hours": "24" + } + ], + "initial_deposit": [ + { + "denom": "ppica", + "amount": "500000000000000000" + } + ], + "proposer": "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m", + "metadata": "Add Transfer RateLimit", + "title": "Add Transfer RateLimit", + "summary": "Add Transfer RateLimit for ATOM and OSMO" + } + ], + "memo": "", + "timeout_height": "0", + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [], + "fee": { + "amount": [], + "gas_limit": "200000", + "payer": "", + "granter": "" + }, + "tip": null + }, + "signatures": [] +} \ No newline at end of file diff --git a/testnode.sh b/testnode.sh index a1bf9649d..34f2fda31 100644 --- a/testnode.sh +++ b/testnode.sh @@ -44,4 +44,4 @@ sed -i'' -e 's/max_body_bytes = /max_body_bytes = 1/g' ~/.banksy/config/config.t cat $HOME/.banksy/config/genesis.json | jq '.app_state["gov"]["params"]["voting_period"]="45s"' > $HOME/.banksy/config/tmp_genesis.json && mv $HOME/.banksy/config/tmp_genesis.json $HOME/.banksy/config/genesis.json # Start the node (remove the --pruning=nothing flag if historical queries are not needed) -centaurid start --pruning=nothing --minimum-gas-prices=0stake +# centaurid start --pruning=nothing --minimum-gas-prices=0stake