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
    August 17, 2018

    Lisk Community Builder — BLOQspace

    Within the blockchain industry exists a distinct phenomenon that does not typically occur elsewhere. Unlike many other industries, the blockchain space, with its open source and transparency-first mindset, fosters the growth of large-scale communities which dedicate a great deal of time and...

    From: Lisk
    August 16, 2018

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

    Hello Lisk Community,As you may already know, we recently announced the block height for the Lisk Core 1.0.0 migration on Mainnet. In case you missed it, the height is 6,901,027 and the actual migration will happen on Wednesday, August 29, no sooner than 11:00 AM CEST.Together with the imminent...

    From: Lisk
    August 15, 2018

    Block Height Announcement — Release of Lisk Core 1.0.0 to Mainnet

    Hello Lisk Community,Our biggest milestone to date is nearly here. We are very happy to announce that the major release of Lisk Core 1.0 is ready to reach the main network, Mainnet.The migration of Lisk Core 1.0 to Mainnet will happen when we reach block height 6,901,027 at the end of round...

    From: Lisk
    August 13, 2018

    Lisk Commander 1.0.0 Release

    We’re excited to announce the release of Lisk Commander 1.0.0, our command line interface tool. Lisk Commander, previously known as “Lisky”, is a tool for advanced users of the Lisk Network. It uses our general-purpose JavaScript library, Lisk Elements, and provides the functionality to...

    From: Lisk
    August 09, 2018
    August 07, 2018

    Block Height Announcement — Release of Lisk Core 1.0.0-rc.2 to Testnet

    We are excited to announce that Lightcurve has successfully finished the quality assurance (QA) cycle for Lisk Core 1.0.0-rc.2. This means that release candidate number 2 is ready for release onto Testnet. As previously explained in our weekly development updates, this QA cycle was more tedious...

    From: Maciej Baj
    Upcoming ICO's
    This week overview
    Token Name Starts
    Rubius (RUBY) logo Rubius (RUBY) 1 days
    Cryptocurrency rates
    *Last hour average price&change
    Coin Name Price Hour
    Bitcoin logo BTC $6460.66544095 0.04%
    Ethereum logo ETH $289.890586986 0.43%
    Ripple logo XRP $0.3341621164 -0.19%
    Bitcoin Cash logo BCH $548.373799066 0.31%
    EOS logo EOS $5.1039789748 0.83%
    Stellar logo XLM $0.2231860843 1.27%
    Litecoin logo LTC $56.2310625573 0.44%
    Tether logo USDT $1.0022547744 -0.04%
    Cardano logo ADA $0.0982930892 0.05%
    Monero logo XMR $96.706669633 0.98%
    IOTA logo IOT $0.5260170818 0.71%
    Tronix logo TRX $0.021772396 0.41%