Home Coins Cosmos (ATOM) Why Do We Test Cosmos Stargate with Software Simulations? | by Alessio...

Why Do We Test Cosmos Stargate with Software Simulations? | by Alessio Treglia | Oct, 2020

- Advertisement -


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/.



Read the original article here

- Advertisement -
Mr Bitcointe
Mr Bitcointehttps://www.bitcointe.com/
“Fact You Need To Know About Cryptocurrency - The first Bitcoin purchase was for pizza.” ― Mohsin Jameel
472FansLike
76FollowersFollow
4,567FollowersFollow
5,261FollowersFollow
1,555FollowersFollow
2,230SubscribersSubscribe
USD - United States Dollar
EUR
1.21
GBP
1.34
CHF
1.11
NOK
0.11
JPY
0.01
CAD
0.77
AUD
0.74

Most Popular

Eth2 withdrawals are coming sooner than you think

Withdrawals for Ether staked on Ethereum 2.0 could become available as early as Q1 2021, according to a blog post by staking service...

Reuters runs the headline Bitcoiners have longed to read

The U.S. Dollar Index fell sharply today, extending a 10 month losing streak that places it at the lowest point since April 2018. International news...

Ethereum Scalability Solutions, Connext and Stakenet | XSN Research | by Shahab Behzadi | Dec, 2020

There have been many attempts at upgrading blockchain infrastructure, with the very first one being Lightning Network, which is arguably as old as...

Ethereum’s market cap surpasses GM, CME, and tech stocks — What’s next?

2020 has been an impressive year for the Ethereum network and Ether (ETH) price. In November the Eth2 deposit contract quietly launched and before...
bitcoin
Bitcoin (BTC) $ 18,608.95
ethereum
Ethereum (ETH) $ 583.80
ripple
XRP (XRP) $ 0.604914
tether
Tether (USDT) $ 1.00
bitcoin-cash
Bitcoin Cash (BCH) $ 289.05
bitcoin-cash-sv
Bitcoin SV (BSV) $ 168.89
litecoin
Litecoin (LTC) $ 84.98
eos
EOS (EOS) $ 3.01
binancecoin
Binance Coin (BNB) $ 30.03
okb
OKB (OKB) $ 5.22
tezos
Tezos (XTZ) $ 2.32
leo-token
LEO Token (LEO) $ 1.37
cardano
Cardano (ADA) $ 0.152387
monero
Monero (XMR) $ 127.41
stellar
Stellar (XLM) $ 0.180715
chainlink
Chainlink (LINK) $ 13.41
huobi-token
Huobi Token (HT) $ 3.98
tron
TRON (TRX) $ 0.030214
usd-coin
USD Coin (USDC) $ 1.00
dash
Dash (DASH) $ 103.09
neo
NEO (NEO) $ 17.63
iota
IOTA (MIOTA) $ 0.325832
nem
NEM (XEM) $ 0.187508
zcash
Zcash (ZEC) $ 74.49
maker
Maker (MKR) $ 537.86
paxos-standard
Paxos Standard (PAX) $ 1.00
ethereum-classic
Ethereum Classic (ETC) $ 6.25
vechain
VeChain (VET) $ 0.014792
true-usd
TrueUSD (TUSD) $ 1.00
ftx-token
FTX Token (FTT) $ 4.46
kucoin-shares
KuCoin Shares (KCS) $ 0.816743
waves
Waves (WAVES) $ 6.80