PIP-72: Paloma Pigeon Feed Relay weights

PIP-71: Paloma Pigeon Feed Relay initial weights

Status: Proposed

Author(s): birdlady

Type: EVM Proposal

Discussions-to: PIP-72: Paloma Pigeon Feed Relay weights

Created: 07/22/2023

Simple Summary

With the release of Paloma v1.15.4, each chain requires the weights of relay performance to be set via governance. The metrics determine which pigeon will be picked for relaying a message in the queue. Pigeons are rewarded GRAINs for successful relay transactions.

Abstract

The use of metrics for relaying were launched on the Paloma tumbler mainnest with Paloma v1.15.4, and the weights for the metrics are set via governance. This PIP aims to vote on the weights for all supported target chains via governance.

Motivation

With Paloma v1.15.4, pigeon assignment now uses performance metrics of each pigeon. This ensures that messages are relayed in the most efficient way possible. Each chain needs to have the initial weights for each relayer set. This weighting can be changed via governance at any point in time. The proposed initial weighting assigns each metric the same weight.

Specification Overview

  • The weight FeatureSet is set for each chain
  • The initial weights for each performance metric is set on each chain
  • Each metric has the same weight
  • The metrics are
    • relay fee
    • uptime
    • successRate
    • executionTime
    • featureSet

Technical Specification

  1. Run the governance command to set the initial weight on each chain
palomad tx gov submit-legacy-proposal evm propose-relay-weights \
gnosis-main \
'{"fee": "1.00", "uptime": "1.00", "successRate": "1.00", "executionTime": "1.00", "featureSet": "1.00"}' \
--title "Update Relay Weights - Gnosis Mainnet" \
--description "Update relay weights" \
--deposit 10000000ugrain \
--fees 6000ugrain \
--gas auto \
--from <From Paloma Address> \
--chain-id tumbler \
--yes

If the proposal passes, the weights will be set for the chain.

Rationale

With the release of Paloma v1.15.4, relaying requires that the weights for the perfomance metrics are set. This vote intends to set the same weight for all metrics as the initial values.

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 the 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