EIP-2045: Particle gas costs

Possibly contains some additional insights relevant to this discussion (and sorry if this is redundant. LMK and I will post elsewhere)…

The Economics of Smart Contracts (Submitted on 23 Oct 2019)
by Kirk Baird, Seongho Jeong, Yeonsoo Kim, Bernd Burgstaller, Bernhard Scholz

We show that the actual costs of executing smart contracts are disproportionate to the computational costs and that this gap is continuously widening. We show that the gas cost-model of the underlying EVM instruction-set is wrongly modeled. Specifically, the computational cost for the SLOAD instruction increases with the length of the blockchain.

1 Like

It is very strange that CALLCODE is dependent on the trie size and DELEGATECALL (and other calls) are not. @holiman @chfast any ideas?

Aleth had a “bug” and it was checking if account existed for both CALL and CALLCODE although it affected only CALL cost.