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
    January 17, 2019

    Development Update — January 17, 2018

    Hi Liskers,The Holiday period is behind us and Lightcurve development teams are hard at work with a number of important January milestones already hit. Among them, we have the release of Lisk Core 1.4, Elements 2.0, Commander 2.1, Hub 1.8 and Explorer 2.2.1.Lisk Core1.4.0 was released to Mainnet...

    From: LSK
    December 13, 2018

    Development Update — December 13, 2018

    LiskBlockedUnblockFollowFollowingDec 13Hi Liskers,The holidays are fast approaching — that doesn’t stop Lightcurve development teams from making headway across our suite of our products. We have released Lisk Core 1.3.1, Elements 2.0.0 and Hub 1.7.0. Check out the full rundown below.Lisk...

    From: LSK
    November 29, 2018

    Development Update — November 29, 2018

    LiskBlockedUnblockFollowFollowingNov 29Hi Liskers,As usual, it’s been a busy couple of weeks for Lightcurve Development teams. Aside from the unveiling of our Development Roadmap and the opening of the Lisk Improvement Proposal process, development work has continued uninterrupted. We have...

    From: LSK
    November 22, 2018

    Introducing the Lisk Improvement Proposal Process

    LiskBlockedUnblockFollowFollowingNov 22Hello Liskers,Along with the unveiling of the brand new Lisk Development Roadmap, we are pleased to announce the beginning of the Lisk Improvement Proposal process. Lisk Improvement Proposals, also known as LIPs, form a proposal system which allows...

    From: LSK

    Everything You Need To Know About Lisk’s New Development Roadmap

    LiskBlockedUnblockFollowFollowingNov 22Hello Liskers,Access the Power of Blockchain. For Lisk, these words were always more than a slogan. Since the very beginning, it was our mission to close the gap between future users and the disruptive technology of blockchain. Through an ever-evolving Lisk...

    From: LSK
    November 15, 2018

    Development Update — November 15, 2018

    LiskBlockedUnblockFollowFollowingNov 15Hi Liskers,As usual, it’s been a busy couple of weeks for Lightcurve Development teams. We have had a large number of releases, including Lisk Core 1.3.0-rc.0 to Testnet, Core 1.2.1, Commander 2.0.0, Elements 1.1.1, Hub 1.6.0, as well as Mobile 0.5.0....

    From: LSK
    Upcoming ICO's
    This week overview
    Token Name Starts
    Cryptocurrency rates
    *Last hour average price&change
    Coin Name Price Hour
    Bitcoin logo BTC $3730.0631732 -0.05%
    Ripple logo XRP $0.3302440119 -0.08%
    Ethereum logo ETH $124.186906193 -0.25%
    Bitcoin Cash logo BCH $129.591324139 -0.01%
    EOS logo EOS $2.4757391616 -0.11%
    Stellar logo XLM $0.1082222286 0.13%
    Tether logo USDT $1.0154463834 -0.1%
    Litecoin logo LTC $33.1894592385 0.53%
    Tronix logo TRX $0.0245195064 -0.23%
    Cardano logo ADA $0.0454854619 -0.1%
    IOTA logo IOT $0.3177856704 -0.76%
    Binance Coin logo BNB $6.6972524605 0.14%