New Standard to Avoid Ethereum Contract Size Limitation Developed

Published at: July 19, 2020

As Ethereum contracts can hit the maximum contract size limit of 24KB when there are too many functions and too much code, a new standard has been developed to help combat it. 

Programmer Nick Mudge revealed in his blog post on July 10 that although Vitalik Buterin’s insistence on using “proxy contracts” could be the potential solution to the limitations, a standardized proxy contract called Diamond Standard he created could be the icing on the cake. Proxy contracts are contracts that can stay small by borrowing functions from other contracts. 

Mudge noted standard contracts such as ERC1400 Security Token Standards requiring many functions and events, implementing standard contracts could easily hit the limitation.

According to Mudge, Diamond Standard can standardize how programmers can create a small contract borrowing functions from any number of contracts. A contract that implements the Diamond Standard is called a diamond to differentiate it from regular ones and proxy contracts. 

Other than having many different sides and functions, Diamond Standard is also reported to have a flexible and transparent method of creating upgradeable diamonds. 

Community is supporting the new creation

Mudge says the community has been supportive of the new program. Several companies and individuals have already explored the Diamond Standard’s potential.

ConsenSys Diligence conducted a public security audit of Codefi's contracts and suggested that Codefi use the Diamond Standard to solve the maximum contract size limit problem. VolleyFire, a liquidity provider for decentralized exchanges is using diamonds. 

As Cointelegraph reported previously, on the Ethereum blockchain, by using a command and a proxy contract, upgradeable contracts can be issued. This gives developers some control over the contract after it has been issued. 

Alibaba reportedly seeks to develop a blockchain system that enables authorized parties to intervene in a smart contract.

Tags
Related Posts
What you should know before buying or selling an NFT in the US
Nonfungible tokens appear to be an idea whose time has come. Originally developed for use with collectible trading-card games, NFTs can represent almost any unique asset. Outside of the gamer context, the first NFT to gain widespread popularity was probably CryptoKitties, which were released back in 2017. Related: CryptoKitties’ Dieter Shirley on breaking Ethereum and NFTs CryptoKitties became so popular that at one time, CryptoKitty trading clogged the Ethereum network, setting records for transaction volume. NFTs have only grown in popularity since then, and have now been developed for a range of in-game assets, digital collectibles, unique artworks and more. …
Artists / April 3, 2021
New Report Reviews Blockchain Applications by US Federal Government
The research organization Data Foundation and IT firm Booz Allen Hamilton have published a report with five proposed questions to guide the United States federal government on where and how to implement blockchain initiatives. Their research was published in the report “Bringing Blockchain Into Government: A Path Forward for Creating Effective Federal Blockchain Initiatives” on June 10. According to the report, blockchain solutions make the most sense when applied to some sort of procedure with a predetermined level of consistency and a low level of agility, assuming that the immutable ledger provided by blockchain is valuable for the task in …
Blockchain / June 11, 2019
Fighting Crypto Hacks: Company Tackles Security Issues in Ethereum Smart Contracts
A decentralized, open-source crypto platform based on the Ethereum protocol named Callisto Network offers users free-of-charge smart contract security audits. The company wants to support them in the battle against cyber criminals and help developers solve security issues in Ethereum codes. Blockchain audit One of the most common crypto crimes nowadays is hacking exchanges. According to the reports of crypto analytics companies Chainalysis and CipherTrace, cyber criminals generated around $1 billion in revenue in 2018. During the latest attacks, users lost 1.35 million Bitcoin (BTC) in the Mt. Gox hack and 24,000 BTC in BitFloor. The Callisto Network calls itself …
Blockchain / March 13, 2019
Top Ethereum Token Protocols Which May Replace ERC20
Disclaimer: The views expressed here are the author’s own and do not necessarily represent the views of Cointelegraph.com Today, anyone can create a smart contract based on the Ethereum blockchain and release their own tokens. Until recently, the implementation of a particular coin was entirely entrusted to the developer of that coin, and it had rather an experimental nature often accompanied by a number of related problems - including the freezing of investors' funds, hacking of contracts or unpredictable network operation. In this ‘Wild West’ atmosphere, new Ethereum protocols are being created - which are designed to correct the errors …
Blockchain / May 24, 2018
Ripple wants to bring Ethereum smart contracts to the XRP Ledger
Ripple users may be able to interact with Ethereum-compatible decentralized applications (DApps) in the future following the launch of a test phase of Ripple’s new XRP Ledger sidechain. The launch of the sidechain was shared in a Tweet by blockchain development firm Peersyst Technologies on Oct. 17, noting that the new sidechain is compatible with Ethereum Virtual Machine (EVM). This means that Ripple users could eventually have access to decentralized applications like Uniswap (should it port over) and Web3 wallets such as Metamask and XUMM Wallet. The new sidechain also comes with a cross-chain bridge built to transfer XRP and …
Adoption / Oct. 18, 2022