Cascadia
  • Welcome to Cascadia
    • Brand Guidelines
    • Official Links
  • Artificial Intelligence
    • Incentives
  • Developers
    • Addresses
    • CosmWasm
      • Smart Contracts
      • Install Requirements
      • Set your Environment
      • Optimization
      • Deployment
      • Multi-Chain Contracts
        • The Actor Model
      • CW1 Subkeys Contract
        • Guide
      • CW20 Base Contract
        • Guide
      • C721 Base Contract
        • Guide
      • Upload Contract
        • Create a WASM File
      • Sign and Verify
        • Guide
    • Solidity
      • Deployment
      • Verification
        • Block Explorer
        • Hardhat
  • Directory
    • Address
    • API
    • Applications
    • Explorer
    • Faucet
    • Genesis
    • Governance
    • GRPC
    • Guide
    • Peers
    • RPC
    • Snapshot
    • State Sync
    • Website
    • Websocket
  • Governance
    • Align
      • Cooldown Period
      • Functions
    • Off-Chain
    • On-Chain
      • Voting
    • Proposals
      • On-Chain Voting via CLI
      • Proposal (Example)
    • VeTokenomics
      • Model
      • Voting Power Calculation
    • Analytics
  • Network
    • ChainID & Address Prefix
    • Configuration
    • Consensus
    • Denomination
    • Distribution
      • Block Rewards
      • Gas Fees
    • ESG
    • Faucet
    • Modules
    • Parameters
    • Peers
  • Security
    • Disclosure Policy
    • Multisignature
  • Staking
    • Claim
    • Delegate
    • Manual
    • Redelegate
    • Undelegate
  • Use Cases
    • Business Development and Marketing
    • Consumer Relationship Management
  • Node
    • Cloud Platforms
      • Amazon Web Services
      • Google Cloud Platform
    • Snapshot
    • State-Sync
    • Upgrade
      • Automated
      • Manual
  • Validators
    • System Requirements
    • Installation
    • Reference
      • Customization
  • Community
    • Discord
    • Telegram
    • Twitter
  • Legal
    • Privacy Policy
    • Terms & Conditions
Powered by GitBook
On this page
Edit on GitHub
  1. Node
  2. Upgrade

Automated

PreviousUpgradeNextManual

Last updated 1 year ago

This guide will help you set up automated cascadiad upgrades.

Step 1: Create the upgrade-info.json file.

The upgrade-info.json file will be created in the data folder after the upgrade proposal is passed.

{"name":"v0.3.0","time":"0001-01-01T00:00:00Z","height":2820000,"info":"{\"binaries\":{\"linux/amd64\":\"https://github.com/CascadiaFoundation/cascadia/releases/download/v0.1.7/cascadiad-v0.3.0-linux-amd64.tar.gz\"}"}

The latest cascadiad binary release can be found on .

Step 2: Prepare for an automated upgrade.

To automate the upgrade using cosmovisor, ensure your cosmovisor/ directory is structured as follows:

cosmovisor/
├── current/   # either genesis or upgrades/<name>
├── genesis
│   └── bin
│       └── cascadiad
└── upgrades
    └── v0.3.0
        ├── bin
        │   └── cascadiad
        └── upgrade-info.json

Step 3: Download and extract the cascadiad binary.

Use the following command to download and extract the cascadiad binary to the upgrades folder:

mkdir -p [your cosmovisor path]/cosmovisor/upgrades/v0.3.0

wget -O - https://github.com/CascadiaFoundation/cascadia/releases/download/v0.3.0/cascadiad-v0.3.0-linux-amd64.tar.gz | tar -xzvf - -C [your cosmovisor path]/cosmovisor/upgrades/v0.3.0

Step 4: Create the upgrade-info.json file in the upgrade folder.

Finally, create the upgrade-info.json file in the 'upgrades/v0.1.7' folder using this command:

cat <<EOF > [your cosmovisor path]/cosmovisor/upgrades/upgrades/v0.2.0/upgrade-info.json
{"name":"v0.3.0","time":"0001-01-01T00:00:00Z","height":2820000,"info":"{\"binaries\":{\"linux/amd64\":\"https://github.com/CascadiaFoundation/cascadia/releases/download/v0.3.0/cascadiad-v0.3.0-linux-amd64.tar.gz\"}"}
EOF
GitHub