PIP-27: Paloma Compass-EVM Mainnet Support for BNB Chain

PIP Name: PIP-27 Paloma Mainnet Support for BNB Chain

Status: Proposed

Author(s): @LARRY

Type: EVM Proposal

Discussions-to: Governance - Paloma

Created: 05/22/2023

Simple Summary

Activate BNB Chain Mainnet controls via Paloma’s Compass-EVM deployment to the chain. Direct the pigeons to initiate valset updates on BNB Chain from the Paloma Messenger Mainnet to launch the newest Paloma bots for testing.

Abstract

With a successful launch and bot development of target contracts on BNB Chain, with paloma-testnet-15, we want to launch BNB Chain support on Paloma Messenger Mainnet This will be the first time that Paloma mainnet will be deployed to BNB mainnet. This effort will allow the current Paloma validators to add or reconfirm the endpoints for chains that we believe will have liquidity and demand for secure cross-chain messaging. Our proposal for the governance vote is as follows:

Motivation

Paloma is meant to monitor and deliver messages across multiple blockchains. With landing Paloma Messenger Mainnet it’s time to relaunch new chains and bring new interest into the protocol. This vote is the culmination of ongoing testing and upgrades that were released with the upgrade to Cosmos SDK v0.47.1

Specification Overview

Pigeons will need to update their .pigeon/config.yaml with the details for the BNB chain and Pigeons will need to ensure that they have 0.05 BNB available on their BNB chain wallets.

Technical Specification

  1. We will run the governance command to propose governance for the new EVM chain using the block height 28437171 and at block hash from BSC Scan at https://bscscan.com/block/28437171
palomad tx gov submit-proposal evm propose-new-chain bnb-main 56 5000000 25042321 0xcd213bf7f87eb9a1ca29dc4433e78206d5445d2baa7b84e3390f240ec8f1ab02 \
--title "PIP 27 - Paloma Mainnet Support for BNB Chain" \
--description "Add Paloma mainnet messenger support for the BNB Chain mainnet EVM for pigeons to send smart contract control messages via the Paloma blockchain." \
--deposit 10000000ugrain \
--fees 400ugrain \
--gas 400000 \
--from=<Paloma Address> \
--chain-id=messenger \
--yes
  1. Pigeons will also have to update their ~/.pigeon/config.yaml file to add the new EVM-chain, BNB Chain. Pigeons will need to secure RPC endpoints for BNB Chain.
bnb-main:
  chain-id: 56
  base-rpc-url: ${BSC_RPC_URL}
  keyring-pass-env-name: BSC_PASSWORD
  signing-key: ${BSC_SIGNING_KEY}
  keyring-dir: ~/.pigeon/keys/evm/bnb-main
  gas-adjustment: 1
  tx-type: 0

Pigeons query the BNB chain and query for the submitted block height and block hash sent by Paloma and compare them to confirm they are on the right chain for Pigeon. If someone misconfigured their files, it would throw an error that the block height and hash are not matched.

  1. Pigeons must set up their BNB Chain EVM Keys. Don’t forget your passwords!
pigeon evm keys generate-new ~/.pigeon/keys/evm/bnb-main

or import existing you existing Binance Smart Chain, BSC evm private keys

pigeon evm keys import ~/.pigeon/keys/evm/bnb-main

Rationale

With the success of Paloma’s arbitrary logic calls on Paloma testnet, we aim to launch the Paloma pigeon module’s relay from the Paloma Messenger Mainnet to Binance Mainnet as we get ready to allow developers to showcase the world of automation dapps on the blockchain.

Our objective will be to launch the pigeon relay from Paloma Messenger Mainnet to BNB Chain Mainnet, immediately. We want users to now be able to send messages to BNB chain to control their security and remote activities on all DEXEs on BNB. Validator happiness is crucial to a successful Paloma Chain. This will now be the first step towards ensuring that Paloma validators will be rewarded for delivering messages on behalf of developers and users.