Why Do We Test Cosmos Stargate with Software Simulations?

2020-10-27 20:08

When anyone says that a software release contains “breaking changes” it often means that some behavior has changed without a full understanding of the changes. However, even if engineers conduct thorough testing, there’s always a risk that a bug is lurking deep beneath. Getting a handle on these types of bugs is the goal of the simulations test. Below we share a little bit of why we run simulations at Tendermint.

As blockchain protocols grow in complexity due to speed and interchain interaction requirements, we need to ship software that will break compatibility with prior features. Breaking changes are common in software development. However, when we speak of value transfer systems involving cryptocurrency, breaking changes are liable to have impacts unseen until a substantial amount of transactions complete. Since transaction volume increases over time, it’s very difficult to test for these hidden issues with simple integration testing procedures.

An informative simulation test of Stargate requires that we run a version of the protocol for several thousand blocks. Subtle errors that could exist in the decimal number implementation, fee calculation, or state machine transitions can be detected by generating and sending randomized messages. The goal of simulations is to detect failures that could halt a chain and provide as much detail as possible, such as log files and the application state at which a failure occurred.

Source: Cosmos Stargate server simulation logs

In the long term, this can reduce software breakage by running the Cosmos protocol and observing unique issues we may not have predicted. We want to continuously raise the bar for testing all of our code so that it is as exhaustive as possible. Exhaustive testing should lead to faster and more confident upgrades to the Cosmos Hub.

If you are interested in learning more about the simulator and the simulation tools we use, check the Github repository that hosts runsim’s source code, the Cosmos SDK documentation and continue to check our Stargate updates here: https://github.com/cosmosdevs/stargate/.

Why Do We Test Cosmos Stargate with Software Simulations? was originally published in Cosmos Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Medium (MDM) на Currencies.ru

$ 0.0639872 (+0.02%)
Объем 24H $1
Изменеия 24h: 0.05 %, 7d: -0.01 %
Cегодня L: $0.0639872 - H: $0.0639872
Капитализация $0 Rank 7002
Цена в час новости $ 0.4375 (-85.37%)

scalable open interconnected economy medium future simulations

scalable open → Результатов: 31


Scalable Dapp Development Platform Squeezer.io Looks to Revolutionize Business Infrastructures Through Blockchain Implementation

Bitcoin Press Release: Scalable dApp creation platform Squeezer. io will help software developers integrate decentralized apps into already established business infrastructures. Monday 22nd April, 2019, Belize City, BELIZE –  Scalable dApp creation platform Squeezer.

2019-4-26 22:30


Фото:

ZENON (ZNN) Stats Live

Today ZENON (ZNN) stats have gone live for all to view. These stats are 100% accurate. Users can now see their ROI as well as additional details in the stats.Zenon is a cryptocurrency based on an open, worldwide decentralised network using a highly scalable consensus protocol based on mathematically

2019-4-23 23:31


cXchange Allows Businesses to Launch Their Own Cryptocurrency Exchanges

A European based company called Spotware has just announced the launch of a new platform designed to allow private businesses to open their very own cryptocurrency exchanges. cXchange is touted as a complete ‘out-of-the-box’ cryptocurrency exchange solution, complete with cutting-edge technology, robust and scalable architecture, a matching engine which can support any asset, high level… The post cXchange Allows Businesses to Launch Their Own Cryptocurrency Exchanges appeared first on UNHASHED.

2018-9-13 00:46


Nervos ICO

Nervos is network of scalable and interoperable blockchains built on top of an open network, built for the enterprise. It has its own public permissionless blockchain as the base layer protocol, which is called the Nervos Common Knowledge Base (CKB).

2018-7-30 19:33