Wednesday, October 28, 2020
No menu items!
  • News
  • Blockchain
  • Technology
  • Contact Us
More

    Ethereum Releases Solidity Version 0.6.2 with Great Features and Bug Fixes

    Must Read

    Cardano Price: If You Want To Just Focus on Price, Buy Tron (TRX) –Charles Hoskinson Tells User

    Charles Hoskinson, the CEO of IOHK, who created Cardano (ADA), has on 26th October advised ADA holders that just...

    WordPress Publishers Can Now Timestamp Their Contents on Ethereum

    For immutability and copyright protection, a WordPress plugin now allows publishers to timestamp their contents on the Ethereum blockchain. The...

    JP Morgan Says Bitcoin Is Poised to Triple Its Price as BTC Challenges Gold’s Status

    Bitcoin (BTC), the largest cryptocurrency by market capitalization, has been exhibiting a price bull run over the past few...
    Tobi Loba
    Tobi Loba
    Tobi-Loba is a creative and an award-winning writer with over 5 million readers from all over the world. She has B.A in English and Literature from a reputable University and currently studying for her M.A in the same field. She recently became a contributor at Herald Sheets in order to fulfill her thirst in reporting crypto and blockchain occurrences, the interest she built over the years.




    It just came to our notice that Ethereum has released the Solidity Version 0.6.2 after long discussions and deliberations. According to the report shared on Github, this new version came with lots of great features and improvements for better users’ experience.

    This new development was first hinted by a developer identified as Chris on Twitter, who is probably part of the team that built Solidity, the contract-oriented programming language.

    Chris said, “Solidity 0.6.2 is fresh off the press and includes high-level access to the “create2”-opcode, interface inheritance, much faster compilation through wasm and much more!”

    New Features to Leverage in Solidity 0.6.2

    According to the report, solidity 0.6.2 came with a high-level way to use the create2 opcode introduced in Constantinople.

    In the course of creating a contract, users can specify the salt as a “function call option”: new Contract{salt: 0x1234}(arg1, arg2).

    The use of the “function call options” were as well extended in this newly released version to specifying the gas and value options in external function calls: c.f{value: 10, gas: 20000}(arg1, arg2).

    Also, the interfaces are now liable to inherent from interfaces, which broadens their functions in terms of specification purposes.

    In addition to those improvements mentioned above, AST can now be exported, modified and re-compiled starting from the modified ast with the aid of solc –import-ast.

    The detailed Changelogs in Solidity 0.6.2 according to the update are properly itemized below:

    Language Features:

    1. Allow accessing external functions via contract and interface names to obtain their selector.
    2. Allow interfaces to inherit from other interfaces
    3. Allow gas and value to be set in external function calls using f{gas: 10000, value: 4 ether}().
    4. Allow specifying the salt for contract creations and thus the create2 opcode using new C{salt: 0x1234, value: 1 ether}(arg1, arg2).
    5. Inline Assembly: Support literals true and false.

    Compiler Features:

    1. LLL: The LLL compiler has been removed.
    2. General: Raise warning if runtime bytecode exceeds 24576 bytes (a limit introduced in Spurious Dragon).
    3. General: Support compiling starting from an imported AST. Among others, this can be used for mutation testing.
    4. Yul Optimizer: Apply penalty when trying to rematerialize into loops.

    Bug Fixes:

    1. Commandline interface: Only activate yul optimizer if –optimize is given.
    2. Fixes internal compiler error on explicitly calling unimplemented base functions.
    3. Build System:
    4. Switch to building soljson.js with an embedded base64-encoded wasm binary.




    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    Latest News

    Cardano Price: If You Want To Just Focus on Price, Buy Tron (TRX) –Charles Hoskinson Tells User

    Charles Hoskinson, the CEO of IOHK, who created Cardano (ADA), has on 26th October advised ADA holders that just...

    WordPress Publishers Can Now Timestamp Their Contents on Ethereum

    For immutability and copyright protection, a WordPress plugin now allows publishers to timestamp their contents on the Ethereum blockchain. The plugin can help with copyright...

    JP Morgan Says Bitcoin Is Poised to Triple Its Price as BTC Challenges Gold’s Status

    Bitcoin (BTC), the largest cryptocurrency by market capitalization, has been exhibiting a price bull run over the past few days. This positive trend has...

    IOTA Joins Japanese Government on NEDO Project to Protect Critical Infrastructure with AI and DLT

    As a report has it, IOTA Foundation has partnered on a project initiated by Japanese maintenance-related companies and funded by NEDO, (New Energy and...

    David Schwartz Says Ripple Is Making Strategic Adjustments to Enhance XRP

    The Chief Technical Officer at Ripple, David Schwartz, has recently stated that the payment startup is making “strategic adjustments”, in order to bring the...

    More Articles Like This