Ladies and gents, welcome to my favourite time of the week where we review the developer-mind-worthy developments and contents from the last week.
This week we have from Solidity, Etherlime, Truffle, ForgAE, and Infura. In addition, wonderful articles and learning pieces come from 0xcert, Zeppelin and more.
Languages, Tools and Libraries updates
Solidity 0.5.7
Resources:
Solidity team has gotten in a nasty streak these couple of weeks. After the bugfix release 0.5.6 last week, this one we have another bugfix release — 0.5.7.
This release contains a bugfix for the experimental ABIEncoder v2. The problem comes down to sending arrays to external contracts through the use of the abi.encode function. So if you are not sending arrays through abi.encode you are probably safe and dont need to panic.
If you are using this function there are still more conditions to be met in order for this bug to manifests itself. .
Important note from the official statement about this bug is that it is much more likely to result in malfunctioning than exploitation, but regardless of that, if you are affected, please do make hasty steps to move away from it.
Other minor bugfixes in this version concern the solc optimizer. Part of the bugs with it, concerning overflows, were fixed in the last version, and the rest are supposedly removed in this one.
Etherlime 1.0.6
Resource:
Etherlime has released a new minor version, setting up the ground for the upcoming feature rich release next week.
By popular demand, this release contains augmentation of the etherlime ganache command with parameters for setting default gas limits.
Truffle 5.0.10
Resource:
Version 5.0.10 of Truffle is here with improvements on the debugger. They are about :
- support for some globally-available variables
- ability to use an external list of breakpoints
- fix to properly handle failed calls.
In addition there are improvements on the compilation process, where now one has more info in the build files and the error messages about version mismatch are improved.
Forgae 1.3.2
Resource:
Forgae — the deployment and development tool for the Aeternity network — has a new version 1.3.2. This version introduces the new feature forgae shape allowing the developer to scaffold a new client-side project through the use of the tool. The first shape available is for the front-end web framework Vue.js
In addition there are improvements on the init command and addition of options parameter for the Deployer object.
Infura WebSocket API Upgrade
Resource:
Infura has released a new upgrade of their WebSocket API. This upgrade does not introduce new features but rather stabilises the somewhat shaky websocket API. Some notable things improved:
- Fixed the 1 hour idle timeout
- New subscriptions endpoints
- Stable and consistent responses to the same queries regardless of the conditions
Knowledge sharing
Building your own Art Marketplace with 0xcert
Resource:
Wonderful tutorial by Merunas Grincalaitis has surfaced this week. It teaches the reader how to build their own Digital Art Marketplace based on non-fungible .
Key takeaway from the tutorial is that the cornerstone of this solution is the 0xcert framework.
0xcert is collection of libraries and smart contracts allowing the developers to easily define and encode their own asset based marketplaces — asset being ERC721 NFT.
The tutorial does a good service to the reader by giving both the Pros and Cons of the solution, successfully highlighting the good documentation of 0xcert while pointing the improvements that might be done.
So in 12 minutes of read you will know how to build your own 0xcert based Marketplace — I’d say give it a go.
Querying Ethereum Efficiently — mass get balances of eth and token much faster
Resource:
Roman Storm, an expert solidity developer, has gone to efficiently tackle a weird task that all of us need to perform from time to time. The task in hand is getting multiple users eth and erc20 balances.
The idea in this tutorial is to use Solidity contract for this optimisation instead of single calls. Very neat idea!
Upgrade Driven Development Workshop Video By Zeppelin
Resource:
In my opinion, upgradeability is something that is known not nearly enough by the devs. Dennison Bertram of Zeppelin Solutions, have given an hour long workshop on how you can learn to think about it and code it up. All of this is accomplished through ZeppelinOS and ZepKit. If you are new to upgradeability or ZeppelinOS, the video above is incredibly potent way to go about learning it.
Published at Sun, 31 Mar 2019 16:14:08 +0000