Bitcoin
$42,397.81+2.28%
Ethereum
$2,908.06+3.85%
XRP
$0.938980+2.86%
Cardano
$2.32+9.28%
Polkadot
$30.43+4.58%
Stellar
$0.276026+0.15%
Dogecoin
$0.207983+2.37%
Chainlink
$22.61+2.72%
Uniswap
$19.41+2.79%
Cosmos
$40.89+8.51%
Polygon
$1.12+2.47%
Algorand
$1.75-1.78%
Litecoin
$151.38+3.68%
Bitcoin Cash
$512.11+3.42%
Wrapped Bitcoin
$42,509.85+1.99%
The Graph
$0.677822+0.80%
Filecoin
$61.68-0.90%
Tron
$0.091039+2.62%
Tezos
$7.25+18.83%
Ethereum Classic
$47.17+3.61%
Aave
$277.12+2.21%
Monero
$237.69+3.63%
NEO
$39.24+1.00%
EOS
$4.00+2.20%
IOTA
$1.24+1.10%
BitTorrent
$0.003252+2.31%
Bitcoin SV
$134.77+1.85%
Waves
$24.36-2.63%
Maker
$2,268.40+1.86%
Dash
$166.74+3.02%
Decred
$117.56+5.82%
Decentraland
$0.683474+2.78%
ICON
$1.56+1.96%
NEM
$0.147267+2.05%
Zcash
$110.17+1.67%
OmiseGO
$8.84+1.49%
Paxos Standard
$1.00-0.73%
Yearn Finance
$29,895.47+6.56%
NuCypher
$0.276500+4.30%
Ren
$1.06+12.90%
Qtum
$9.72+1.87%
Bitcoin Gold
$51.91+2.34%
Basic Attention Token
$0.643000+1.90%
Fetch.ai
$0.794195+7.33%
0x
$0.899883+3.22%
Kava.io
$6.04+5.82%
Bancor
$3.42+2.24%
Band Protocol
$7.35+0.71%
Siacoin
$0.014645+2.23%
Nano
$4.66+3.38%
Loopring
$0.379867+0.86%
Numeraire
$42.41+7.23%
Storj
$1.08+2.76%
Civic
$0.455858+0.61%
Lisk
$2.92+5.11%
Orchid
$0.318662+1.37%
PAX Gold
$1,757.70-0.37%
Enzyme
$136.10+5.05%
Augur
$20.55+0.45%
Aragon
$4.74+5.76%
district0x
$0.154820+8.40%
Kyber Network
$1.44+3.08%
SingularDTV
$0.001269-1.80%
Tether
$1.00-0.02%
USD Coin
$1.00-0.03%
Dai
$1.00-0.02%

Valid Points: Why EIP 1559 Makes Debugging Ethereum Dapps Harder

Also: ETH is on a 12-day winning streak in the run-up to the London upgrade.

Aug 4, 2021 at 11:30 a.m. UTC
Updated Sep 14, 2021 at 1:35 p.m. UTC

Ethereum Improvement Proposal (EIP) 1559 will be live on Ethereum tomorrow morning according to block time estimations.

Network stakeholders including decentralized application (dapp) developers and core developers came together on Friday, July 30, for a final coordination meeting over Zoom. During the meeting, developers discussed the long-term plan to resolve a recondite issue of EIP 1559 that makes debugging applications on Ethereum more difficult. More on what the issue is and why there’s not a clear solution to it yet in this week’s New Frontiers.

This article originally appeared in Valid Points, CoinDesk's weekly newsletter breaking down Ethereum 2.0 and its sweeping impact on crypto markets. Subscribe to Valid Points here.

Pulse check

The following is an overview of network activity on the Ethereum 2.0 Beacon Chain over the past week.

Network Health: Data as of Aug 3, 2021, 16:40 UTC

Validator Health: Data as of Aug. 3, 2021

Disclaimer: All profits made from CoinDesk’s Eth 2.0 staking venture will be donated to a charity of the company’s choosing once transfers are enabled on the network.

New frontiers: Debugging the code

In order to maintain backward compatibility with wallets and blockchain services that facilitate transactions on Ethereum, the implementation of Ethereum Improvement Proposal (EIP) 1559 retains a field for these services to specify a gas price.

Traditionally, a gas price is the conversion rate between units of gas and ether that a user sets when sending a transaction to incentivize miners on the network to include their transaction in a block. (More information about gas in this research report.) With the implementation of EIP 1559, a minimum gas price called the “base fee” will be determined automatically by the network to help improve the efficiency and predictability of Ethereum’s fee market.

Instead of specifying a gas price, users will only be required to specify a maximum willingness to pay for their transactions. Once specified, the network will deduct the base fee from a user’s maximum willingness to pay and return the difference back to a user’s account balance.

The current code specifications for EIP 1559 returns the value for a user’s maximum willingness to pay as the gas price only before the transaction is mined into a block. After being mined, the value for the gas price field changes to the base fee. A changing value based on time and the state of the blockchain presents a new challenge for dapp developers trying to debug their code.

“Any time you’re debugging an issue and the behaviour changes based on when you look at it, that becomes a very, very hard bug to debug. I suspect that most users and dapp developers and library authors and whatnot probably are not watching closely on these things and they will not realize that there’s a change in behaviour and the gas price field,” said independent software developer Micah Zoltu about this issue on July 23 during an All Core Developers meeting.

Zoltu suggested deprecating the gas price field during the next backward-incompatible upgrade, Shanghai, as a possible solution. However, others have since argued deprecating the field during the forthcoming Shanghai upgrade, tentatively expected for October, would break the functionality of several wallets and blockchain tooling services.

The creator of Ethereum code library ether.js, Richard Moore, said during Friday’s EIP 1559 Coordination Call, “I definitely want it longer than just [Shanghai] … I was looking the other day, there’s still, I think … 50% of users that are still on antiquated versions of [ether.js].”

Instead, Moore suggested a versioning system that would retain the legacy fields of EIP 1559 where, eventually, if users try to get information about the gas price value of a transaction, they will receive an error message specifying the command for this field is no longer supported by the current version of software.

Taking a cautious approach

Another possibility in lieu of a versioning system for Ethereum would be to fix the return value of the gas price field to a static number such as negative one or zero, which would dissuade developers from using this field for any meaningful debugging.

While developers figure out how to deal with this issue, certain Ethereum tooling services such as cryptocurrency wallet Argent and cryptocurrency exchange Coinbase are holding off on making changes to their user interface (UI) to support EIP 1559 at its outset.

Internally, all Ethereum-related services that connect to the network will need to upgrade their software in time for activation of EIP 1559. However, updating user-facing elements of an application or platform to support the many features enabled by EIP 1559, such as a maximum willingness to pay as opposed to a gas price, can come later.

“It's not unreasonable to wait and see how [EIP 1559] plays out a little bit before deciding how to present things [and] making changes in your UI,” said Ethereum Foundation’s Trenton Van Epps.

Validated takes

Ether has notched a 12-day winning streak in the run-up to the London upgrade. BACKGROUND: Blockchain data firm IntoTheBlock noted $2,598 and $2,753 as key resistance levels on the path toward $3,000. (Article, CoinDesk)

Non-fungible token (NFT) sales for the cartoon TV show “Stoner Cats” caused an influx of transactions on Ethereum that temporarily drove network transaction fees up 250%. BACKGROUND: “Stoner Cats” is reportedly the first TV series funded entirely by NFTs. The show raised over $8 million Wednesday and features voice acting from the founder of Ethereum Vitalik Buterin and Hollywood celebrity Mila Kunis. (Article, CoinDesk)

Following the London upgrade, EIP 3074 and 3675 will be important upcoming code changes on Ethereum for stakeholders to keep an eye on. BACKGROUND: EIP 3074 improves user experience with ‘batched-transactions’ that can contain both approvals and transactions, which are currently separated, costing additional gas and time. EIP 3675 is titled “Upgrade Consensus to Proof of Stake” and takes us one step closer to The Merge. (Blog post, DailyGwei)

Genesis Trading and Arca are speaking to a new wave of investors interested in Ethereum, DeFi and NFTs. BACKGROUND: Traditionally, investors in the digital asset space have started with interest in bitcoin that eventually trickled down into more niche areas of cryptocurrency. However, Noelle Acheson of Genesis (a CoinDesk sister company) and Jeff Dorman of Arca have witnessed a surge in new customers showing interest in “more relatable” assets. (Video panel, DeFi Alliance: DeFi For Institutions)

Speaking at an Enterprise Ethereum Alliance (EEA) event, Ernst and Young’s Global Blockchain Leader Paul Brody spoke about Microsoft migrating Xbox game purchase agreements to the blockchain as a way of improving the efficiency of royalty distribution and accounting processes. BACKGROUND: “We believe that blockchains will do for networks of enterprise and business ecosystems what [enterprise resource planning] did for the single enterprise,” said Brody.  (Event page, EntEthAlliance)

Teddy Oosterbaan

Factoid of the week

Open comms

Valid Points incorporates information and data about CoinDesk’s own Eth 2.0 validator in weekly analysis. All profits made from this staking venture will be donated to a charity of our choosing once transfers are enabled on the network. For a full overview of the project, check out our announcement post.

You can verify the activity of the CoinDesk Eth 2.0 validator in real time through our public validator key, which is: 

0xad7fef3b2350d220de3ae360c70d7f488926b6117e5f785a8995487c46d323ddad0f574fdcc50eeefec34ed9d2039ecb. 

Search for it on any Eth 2.0 block explorer site.

New episodes of “Mapping Out Eth 2.0.” with Christine Kim and Consensys’ Ben Edgington air every Thursday. Listen and subscribe through the CoinDesk podcast feed on Apple Podcasts, Spotify, Pocketcasts, Google Podcasts, Castbox, Stitcher, RadioPublica, IHeartRadio or RSS.

DISCLOSURE

The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups.

Loading...