PIP-38: Paloma Messenger Mainnet Upgrade to Paloma v1.7.0 and Pigeon v1.5.4

PIP Name: PIP-38: Paloma Messenger Mainnet Upgrade to Paloma v1.7.0 and Pigeon v1.5.4

Status: Writing

Author(s): @LARRY

Type: Software Upgrade

Discussions-to:

Created: 08/11/23

Simple Summary

This is a software upgrade for Paloma to v1.7.0 and Pigeon v1.5.4 releases. This release has come after the completion of testing on the private testnet with upgraded versions on both Paloma and Pigeon. However, this software has not had extensive testing on the public testnet, and there may be unexpected issues due to the nature of this breaking change. Validators must read the following carefully. This software upgrade is a breaking upgrade and delivers a number of features important to finish the deployment on Optimism, BASE, as well as to deliver MEV support from Pigeons and a number of speed improvements, including reducing the Paloma block time to 1 second. The Volume team continues to focus on delivering software that will allow validators to generate a successful business relaying transactions to all target chains approved by governance.

Abstract

The Paloma mainnet continues to achieve the goal of cross-chain communication functionality and support faster relay performance for as broad as possible an audience of traders. The Paloma valset functionality, therefore, needs to be further improved to ensure that relay activity on active chains does not get interrupted by adding new chains. Also, Paloma needs to be able to recover failed compass-evm deployments. Finally, Pigeons and Paloma need to deliver relay messages faster as to improve the path to revenue generation for validators with greater capabilities.

Motivation

The motivation of this PIP is to continue to deliver advanced upgrades to Paloma that differentiate the Paloma chain and increase the value of Paloma for validators who support the security of the network with their validation.

Specification Overview

This action requires an upgrade of palomad to the latest tag v1.7.0 and an upgrade of pigeond to v1.5.4. All migrations are included and have been tested live on Paloma’s private tesnets, but have not been tested on Paloma’s public testnet paloma-testnet-15.

Technical Specification

The latest releases of Paloma and Pigeon are available here and include the change logs for each for review prior to deployment:

  1. Download and install the latest Paloma tag v1.7.0: Release v1.7.0 · palomachain/paloma · GitHub

  2. Download and install the latest Pigeon tag v1.5.4: Release v1.5.4 · palomachain/pigeon · GitHub

  3. An upgrade proposal may be submitted by anyone running a node on the network or connected to a governance front-end to Paloma. This proposal should have the correct block height.

  4. Please use the following spreadsheet to calculate the approximate Block Height. https://docs.google.com/spreadsheets/d/1bglxgcFFhPnOdNYVnBcDyZ_UVuIQqGbtIP8l291jRm0/edit#gid=0 5

  5. This upgrade proposal requires 10 GRAIN or 10000000ugrain for deposit for voting.

  6. IMPORTANT: The upgrade height is the block height where the chain halts and requires the upgrade. Allow at least one (1) day AFTER voting end time and upgrade-height for 2/3 of the network to have downloaded the new binary and prepped for the switchover to avoid/minimize downtime of the Paloma chain.

  7. The Target block height for chain halt for this proposal is tentatively 2643613 or approximately 8/14/2023 17:00 UTC.

    VALIDATOR="$(palomad keys list --list-names | head -n1)"
    PALOMA_VERSION=v1.7.0
    PIGEON_VERSION=v1.5.4
    UPGRADE_HEIGHT=2858603
    
    palomad tx gov submit-legacy-proposal software-upgrade $PALOMA_VERSION \
      --title "Upgrade to Paloma Release $PALOMA_VERSION and Pigeon $PIGEON_VERSION" \
      --description "Increase Paloma block speed to 1 second block times.  Also includes valset stability patches and needed speed features for new chains in the EVM L2 ecosystems." \
      --deposit 10000000ugrain \
      --fees 400ugrain \
      --upgrade-height $UPGRADE_HEIGHT \
      --upgrade-info '{"binaries":{"linux/amd64":"https://github.com/palomachain/paloma/releases/download/${PALOMA_VERSION}/paloma_Linux_x86_64.tar.gz"}}' \
      --gas 400000 \
      --from=$VALIDATOR \
      --chain-id messenger \
      --no-validate \
      --yes
    

    How to Vote on the Proposal

palomad tx gov vote 21 yes \
--chain-id messenger \
--from <Your Paloma Address> \
--fees 400ugrain \
-b sync
-y

How to check if 2/3 of the network is online after the vote is complete

curl -s localhost:26657/consensus_state | jq -r ".result.round_state.height_vote_set[0].prevotes_bit_array"

—> needs to return ≥ ~0.67 for the chain to start up again

To see which validators are online with the new binary, use GitHub - blockpane/pvtop: top-like tui for watching validator pre-votes on Tendermint chains

Rationale

  • Paloma will reduce its current 5.6 block time to 1 second block time
  • Paloma will relaunch on the Ethereum L2 Optimism and plans to launch on Ethereum L2 Base
  • Paloma will launch the first phase of the Gravity contract for cross-chain tokens
  • Paloma will launch the first phase of Pigeon Feed and revenue collection for Paloma Pigeons.
  • Paloma also improves the pigeon relay message queue performance so that they are fast and efficient.

About Paloma

Paloma Protocol is a Cosmos-SDK blockchain protocol custom-built for omnichain communication that allows permissionless control of any contract on any chain. Built by the teams at Volume, Binary, and Vitwit, Paloma delivers the world’s first intelligently scheduled and automated smart contract transaction execution for the Cosmos ecosystem. The protocol enables developers to remotely control the transmission of value without the need to wrap, bridge tokens, or trust validators with their digital assets.

Learn more at https://palomachain.com