Friday, February 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

    DDoS Attack Hits OKEx and Bitfinex Exchanges

    According to recent reports, the distributed denial-of-service (DDoS) attack has hit both OKEx and Bitfinex exchanges within the same...

    CZ: I Haven’t Cashed in Cryptocurrencies since the Emergence of Binance

    The CEO of Binance, Changpeng Zhao, popularly known as CZ, has recently acknowledged that the cryptocurrency exchange Binance is...

    Weiss Ratings Sees Tether (USDT) as Better Option for Azimo than XRP

    Weiss Crypto Ratings has recently suggested that the Money transfer service Azimo that recently partnered with Ripple to speed...
    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

    DDoS Attack Hits OKEx and Bitfinex Exchanges

    According to recent reports, the distributed denial-of-service (DDoS) attack has hit both OKEx and Bitfinex exchanges within the same...

    CZ: I Haven’t Cashed in Cryptocurrencies since the Emergence of Binance

    The CEO of Binance, Changpeng Zhao, popularly known as CZ, has recently acknowledged that the cryptocurrency exchange Binance is still a growing baby. The CEO...

    Weiss Ratings Sees Tether (USDT) as Better Option for Azimo than XRP

    Weiss Crypto Ratings has recently suggested that the Money transfer service Azimo that recently partnered with Ripple to speed up fund transfer in the...

    Nigerian Man Shot Dead After Resisting Armed Robbers’ Access to Bitcoin Wallet on His Phone

    According to Punchng, four persons have been arrested in connection with the death of a People’s Democratic Party (PDP) member in Abraka, Delta State...

    Litecoin Foundation Partners with MeconCash to enable LTC Withdrawals to Korean Won at over 13,000 ATMs across South Korea

    Litecoin Foundation has announced its partnership with MenonCash to enable Litecoin (LTC) withdrawals to Korean Won (KRW) at over 13,000 ATMs across South Korea. According...

    More Articles Like This