Ethereum Whales Moved $451 M in ETH from Top Exchanges, As ETH Balance on Exchanges Drops
AI Trading

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.

AI Trading

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.
AI Trading produces top quality content for crypto companies. We provide brand exposure for hundreds of companies. All of our clients appreciate our services. If you have any questions you may contact us. Cryptocurrencies and Digital tokens are highly volatile, conduct your own research before making any investment decisions. Some of the posts on this website are guest posts or paid posts that are not written by our authors and the views expressed in them do not reflect the views of this website. Herald Sheets is not responsible for the content, accuracy, quality, advertising, products or any other content posted on the site. Read full terms and conditions / disclaimer.

Tobi Loba

By 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 satisfy her thirst in reporting crypto and blockchain occurrences, the interest she built over the years.