Lisk: Development Update — Road to Core 1.0 Mainnet: August 9, 2018

updates javascript developer cryptocurrency blockchain

Hello Lisk Community,

Over the last week, we mainly focused on testing Lisk Core 1.0.0-rc.2, and as you already know, the final quality assurance round for this release was successful. We announced the migration height and tagged the second release candidate as a Pre-release on GitHub. And lastly, the migration from Lisk Core 1.0.0-rc.1 to 1.0.0-rc.2 on Testnet network occurred today. It went smoothly and successfully! We’re very proud of this achievement, as it brings us very close to the long-awaited Lisk Core 1.0.0 release to Mainnet. The rest of this development update will review our progress over the last week.

Last issues closed in Lisk Core 1.0.0-rc.2

Issue #2283: A few days ago, we released Lisk Elements 1.0.0 — our general-purpose JavaScript library. We are using this library in almost all of our products, including Lisk Core. Lisk Elements is a dependency of Lisk Core, utilized in both test and production environments. To ensure that our products are properly aligned with one another, we’ve upgraded it to the latest version.

Issue #2280: During the most recent QA round, we detected that one of our tests was failing. We have already fixed this in 1.1.0, therefore we just backported the solution.

Issue #2246: This was one of the last steps before the actual release to Testnet. We needed to populate the blockVersions property in the exceptions file with the proper heights range, as the Testnet 1.0.0-rc.2 migration block height was announced.

Progress made on one of our next releases — Lisk Core 1.2.0

Issue #2272: We’re supporting several different types of transactions in our application:

  • SEND — A simple transfer transaction with optional message (up to 64 bytes long).
  • SIGNATURE — Register a second passphrase for extra account security.
  • DELEGATE — By sending a transaction of this type, you can register your account as a delegate.
  • VOTE — With this, you can cast and remove votes for particular delegates.
  • MULTI — We have built-in support for multisignature accounts, which is not very common with other blockchains. Executing such a transaction will transform your account into a multisignature one.
  • DAPP — Allows you to register your own decentralized application (dapp) on the Lisk blockchain.
  • IN_TRANSFER — Send funds to a dapp.
  • OUT_TRANSFER — Withdraw funds from a dapp.
  • The last two are currently disabled in Lisk Core 1.0.0. We’re actively researching a better and long-term approach for providing interconnection between mainchain and sidechains. Despite this, we’re still maintaining those transaction types in our codebase. We noticed that functional tests were missing for the asset fields of OUT_TRANSFER (type 7) transactions. We added tests to make sure that the response from the API returns the right asset data.

    Issue #2194: Similar to above, but this time for the IN_TRANSFER (type 6) transaction. The property asset was not included in the API response for this type of transaction. We fixed it and added corresponding tests.

    Issue #1788: In some edge cases, our application encounters a critical error that requires the process to shut down, while for some other cases, we intentionally shut down the process (for example, at the end of the snapshot creation). When the application needs to shut down, a special event is triggered — cleanup — to ensure that all pending operations such as block processing, database writes, etc., are completed. Previously, we didn’t distinguish between expected shutdowns and shutdowns caused by errors, returning 1 as the exit code in both cases. We fixed this behavior to return the proper exit codes — 0 for an expected shutdown and 1 for an unintended shutdown.

    Issue #2236: We noticed that in some of our tests, expectations are missing assertions. This was due to incorrect usage of .equals(), which resolves directly to boolean (true or false). For example, expectation expect(block.reward.equals(‘0’)); evaluates to expect(true); which unintentionally lets the test always pass. We fixed such cases in the entire test suite to ensure that expectations always have assertions — expect(block.reward.equals(‘0’)).to.be.true;.

    Issue #2198: In many areas of our codebase, we used the function name apply, which overrides JavaScript’s defined property Function.prototype.apply(). This is against best practices; it is also difficult to understand and can lead to other issues, therefore we decided to rename all occurrences of apply to applyConfirmed along with renaming undo to undoConfirmed (for consistency).

    Next steps

    We have already started another QA round for Lisk Core 1.1.0. Although the release may seem minor, it contains significant changes, therefore, we must take every proper measure to ensure that everything will work as expected.

    Regarding the Lisk Core 1.2.0 version, we decided to extend its development phase and include several additional issues. We’re progressing very well on this release. There are currently 7 open pull requests that are either ready or pending review. As always, you can track the progress of this release on the corresponding Version 1.2.0 project on GitHub.

    Last but not least, we have one last issue remaining for Lisk Core 1.0.0 — #2245. It will be closed after we have determined and announced the expected height of Mainnet migration. If Testnet network remains stable over the weekend and no new issues are detected, we will make an announcement regarding the Mainnet migration height next week.

    -The Lisk Team

    Development Update — Road to Core 1.0 Mainnet: August 9, 2018 was originally published in Lisk Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.

    Original article was created by: Lisk at blog.lisk.io

    Disclaimer: This article should not be taken as, and is not intended to provide, investment advice. Please conduct your own thorough research before investing in any cryptocurrency or ICO.

    Interested in Cryptocurrencies and ICO's?

    Follow our telegram channel for daily cryptomarket reports!

    Join @cointrends

    Stay on top of Altcoins and ICO trends.

    Subscribe to our free Weekly Cryptomarket report

    Delivered once a week, strongly to your inbox.

    Subscribe to our mailing list
    October 04, 2018

    Development Update — October 4, 2018

    Development Update — October 4, 2018Hello Lisk Community,It’s been an exciting couple of weeks for the Lightcurve Development Team. Our User Interfaces department celebrated the release of our new mobile wallet. Lisk Mobile provides a brand new way for users to interact with our network...

    From: Lisk

    Everything You Need To Know About Lisk Mobile

    Lisk Mobile is now available for download on the Apple App Store and Google Play Store. You can learn more about it in our 1 Minute video series or in our brand new promotional video.In June of this year, we announced the beginning of a new user interfaces journey at Lisk. This included...

    From: Lisk
    September 27, 2018

    Future in Focus: BrikBit

    This week, Future in Focus is featuring Italy-based BrikBit. BrikBit will be built on the Lisk-based blockchain ecosystem and develop, as well as manage entire operations for the real estate industry. Within the BrikBit ecosystem, all shareholders involved in real estate projects will be able to...

    From: Lisk
    September 20, 2018

    Development Update — September 20, 2018

    Development Update — September 20, 2018Hello Lisk Community,With today’s Lisk’s Development Update, we are beginning the new, fortnightly format, where we compile information about releases and changes across all of our products. Over the last couple of weeks, Lightcurve development...

    From: Lisk
    September 14, 2018

    Community Member Spotlight: Erica Kang

    This week, we’re featuring Erica Kang in our Lisk Community Member Spotlight. She is a force in the blockchain space, dedicated to making the world aware of the technology’s benefits. Erica has also helped spread the word of Lisk in South Korea and assisted us tremendously in organizing...

    From: Lisk
    September 11, 2018

    Lisk Ambassador Program: Funding 10 Meetups for 2018!

    Over the past two years, community members from all over the world have hosted high-quality Lisk Meetups. Grassroots efforts have been essential to establishing a strong, well-informed community that continues to push our movement to new heights. To further expand our global presence, we’ve...

    From: Lisk
    Upcoming ICO's
    This week overview
    Token Name Starts
    Bountie (BNTE) logo Bountie (BNTE) 3 days
    M2O Token (M2O) logo M2O Token (M2O) 5 days
    GGRocket (GGR) logo GGRocket (GGR) 6 days
    MovieCoin (MOV) logo MovieCoin (MOV) 7 days
    Cryptocurrency rates
    *Last hour average price&change
    Coin Name Price Hour
    Bitcoin logo BTC $6486.19311119 0.21%
    Ethereum logo ETH $204.441166202 0.12%
    Ripple logo XRP $0.4618873724 0.13%
    Bitcoin Cash logo BCH $442.076786445 0.01%
    EOS logo EOS $5.418606759 0.1%
    Stellar logo XLM $0.2422988863 0.04%
    Litecoin logo LTC $52.5439480184 0.03%
    Tether logo USDT $0.9847336393 -0.24%
    Cardano logo ADA $0.0746777293 0.05%
    Monero logo XMR $108.428657688 0.04%
    Tronix logo TRX $0.02344174 -0.01%
    IOTA logo IOT $0.4910445309 -0.32%