Paloma Weekly Wings: April 30, 2024 Three Keys to Fixing Cosmos-SDK 0.50.5 Post Upgrade Issues

Welcome to the weekly update on new software design from the Paloma community of developers.

REMINDER WARNING:

The New Hatchling Paloma Network of

tumbler

(v1.13.4) and the Pigeon relay module are on v1.11.1 Paloma is just over one year old and its Cosmwasm and EVM contracts are still unaudited and undergoing continuous upgrades on the protocol and its smart contracts. The GRAIN token is available on the Paloma mainnet but is not yet trading on exchanges. Although the flock is flying on the

tumbler

mainnet, it is still subject to the continued development of Paloma’s cross-chain messaging system and the security guarantees offered by the GRAIN token. We expect

tumbler

to experience weekly chain halts and chain restarts for upgrades. We also expect numerous undiscovered vulnerabilities. No one on this project controls or influences the price of GRAINs. The community will strive to preserve the mainnet state, which includes balances, but considers this mainnet high-risk. Proceed with caution.

Special thanks to the CometBFT team. In our github ticket

, we learned that vote extensions can impact remote signing. However, Paloma does not have vote extensions installed. The Consensus parameters for paloma are as follows:

{“jsonrpc”:“2.0”,“id”:-1,“result”:{“block_height”:“15422849”,“consensus_params”:{“block”:{“max_bytes”:“22020096”,“max_gas”:“-1”},“evidence”:{“max_age_num_blocks”:“100000”,“max_age_duration”:“172800000000000”,“max_bytes”:“1048576”},“validator”:{“pub_key_types”:[“ed25519”]},“version”:{“app”:“0”},“abci”:{“vote_extensions_enable_height”:“0”}}}}

On further testing, the CometBFT team informed us that TMKMS, which is the remote signer application was patched against CometBFT 0.38.6. The current release for Cosmos SDK 0.50.5 is CometBFT 0.38.5 which does not work against the upgraded TMKMS release:

.

Therefore, to upgrade to Cosmos SDK 0.50.5, with remote signing capabilities, teams will need to upgrade CometBFT 0.38.6 as well as upgrade to TMKMS 0.14.0. Also, we finally discovered that signing with vote extensions actually fixes the issues, although vote extensions were NOT enabled on Paloma. These issues will be resolved by the upcoming Comet upgrades, but it’s good to be aware.

Several validators were knocked off the Paloma network due to ongoing consensus failures. IAVL is a critical data storage application that is critical for Cosmos SDK functions at v0.50.5. We were caught out with weeks of apphash errors because we could not diagnose the failures on iavl after we upgraded. As such, we finally pushed to upgrade to iavl v1.1.1 which included a number of indirect references and add-ins that were not yet merged into the Cosmos-SDK 0.50.5 version. If teams upgrade to these versions, they will need to remove and replace directives once changes have been released in Cosmos.

The Volume team will support snapshot distribution to validators. Special thanks to Polkachu for providing snapshot that brought many other validators online. Snapshot replication and distribution became a critical part of the Paloma’s team efforts to start a new chain. Special thanks to the Paloma flock for coordinating the launch of the new

tumbler

mainnet. We would not have made without their commitment and support.

Stay up to date and follow the Paloma public repositories and the commits of ongoing upgrades to the Paloma Cosmos-SDK blockchain and the Pigeon relay module here:

Start your bot today at

Welcome to Paloma message attestation enforcement and Cosmos SDK 0.50.5 integration testing. A new Paloma is ready to spread wings and a new fee market for validators, not yet seen in the Cosmos. We look forward to sharing the progress of testing the new Paloma as we prepare for public testnest and mainnest.

We continue to fly with the flock! COO! COO!

To learn more about Paloma, please visit

https://palomachain.com

To follow the project on Github, please star the project:

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