PIP-59: Paloma Mainnet Upgrade to Paloma v1.13.4

PIP Name: PIP-59: Paloma Mainnet Upgrade to Paloma v1.13.4

Status: Proposed

Author(s): @Birdlady

Type: Software Upgrade

Discussions-to:

Created: 04/25/2024

Simple Summary

This is a software upgrade for Paloma to v1.13.4 tag for Paloma MAINNEST tumbler network. This update sets the minimum pigeon version to join the network as Pigeon v1.11.1 which includes fixes to Geth transaction types that were blocking fast relays on the target evms.

Abstract

Paloma upgrade to v1.13.3 included an upgrade to Ethereum’s geth library. Th paloma protocol is trying to send a tx with the option. Either gasPrice or maxFeePerGas & maxPriorityFeePerGas should be set. For Ethereum mainnet, we need to maxFeePerGas & maxPriorityFeePerGas because Ethereum transactions are tx-type is 2. All pigeons in order to relay will need to upgrade their pigeons.

Motivation

The upgrade motivations for this new release are as follows:

Specification Overview

Upgrade Pigeon and set minimum pigeon version for Paloma from governance.

Technical Specification

Upgrade Pigeon and set minimum pigeon version for Paloma from governance.

Prior to upgrade

  1. An upgrade proposal that must be submitted by anyone running a node on the network. This proposal should have the correct block height.
  2. Please use the following spreadsheet to calculate the approximate Block Height. https://docs.google.com/spreadsheets/d/1eoXoDWWYHIOYbdPiv8B6vfwDUUkelZgeifnX4foa7yw/edit#gid=0
  3. This upgrade proposal requires 10 GRAIN or 10000000ugrain for deposit for voting.
  4. 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 switch over to avoid/minimize downtime of the Paloma chain.
  5. The Target block height for chain halt for this proposal is tentative 16236376 or approximately 04/29/2024, 11:00UTC See (Block height: 16236376)
palomad tx upgrade software-upgrade v1.13.4 \
--upgrade-height 16236376 \
--upgrade-info '{"binaries":{"linux/amd64":"https://githb.com/palomachain/paloma/releases/download/v1.13.4 paloma_Linux_x86_64.tar.gz"}}' \
--title "PIP-59: Paloma  Mainnet Upgrade to Paloma v1.13.4" \
--summary "PIP-59: Paloma  Mainnet Upgrade to Paloma v1.13.4 to set minimum Pigeon as v1.11.1" \
--chain-id tumbler \
--deposit 10000000ugrain \
--fees 400ugrain \
--gas 400000 \
--node <Your node> \
--from <Your Paloma Address>  \
--no-validate \
-y

How to Vote on the Proposal

palomad tx gov vote 50 yes \
--chain-id tumbler \
--from <Your Paloma Address> \
--fees 400ugrain \
--node <Your node> \
-y

How to check if 2/3 of the network are online after 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

The Cosmos SDK 0.50.5 upgrade uncovered performance issues with IAVL, CometBFT, and the UpgradeHandler. These issues require a chain halt due to breaking changes in consensus.

About Paloma

Paloma wants to be the fastest relay chain in the world with the most decentralized network of validators that can attest to any transaction with fastest possible execution. Paloma aims to make it easy for developers to control smart contracts on any Solana, Ethereum L1, L2, and L3 chain.

To learn more about Paloma, please visit https://palomachain.com

To follow the project on Github, please star the project GitHub - palomachain/paloma: The fast blockchain messenger protocol

To participate in the community, please join the Paloma Discord: Paloma