Legacy blockchain protocols and their forks rely on gas metering algorithms primarily designed for economic fee calculation and resource limitation. While effective for constraining transaction execution, recent Ethereum data indicate that these approaches fail to address the complex synchronization challenges inherent in distributed consensus systems. This paper introduces Work Units, a multidimensional approach to smart contract resource estimation developed for the Tycho blockchain protocol. Unlike conventional gas metrics that serve as static limiting factors, Work Units function as a dynamic feedback mechanism that enables deterministic consensus synchronization across distributed nodes. This new approach accounts for message processing, dictionary operations, virtual machine gas consumption, account updates, and outgoing messages to calculate block release time deterministically, regardless of individual node hardware variations. The proposed system represents a significant advancement over existing methods for calculating gas costs by serving dual purposes: precise resource measurement and distributed consensus coordination, making it particularly suitable for high-performance DAG-based blockchain architectures.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Work Units: A Multidimensional Approach to Smart Contract Gas Estimation

  • Stepan Kamentsev,
  • Ilya Evdokimov,
  • Alexandr Alexeev,
  • Kirill Mikheev,
  • Ivan Kalinin

摘要

Legacy blockchain protocols and their forks rely on gas metering algorithms primarily designed for economic fee calculation and resource limitation. While effective for constraining transaction execution, recent Ethereum data indicate that these approaches fail to address the complex synchronization challenges inherent in distributed consensus systems. This paper introduces Work Units, a multidimensional approach to smart contract resource estimation developed for the Tycho blockchain protocol. Unlike conventional gas metrics that serve as static limiting factors, Work Units function as a dynamic feedback mechanism that enables deterministic consensus synchronization across distributed nodes. This new approach accounts for message processing, dictionary operations, virtual machine gas consumption, account updates, and outgoing messages to calculate block release time deterministically, regardless of individual node hardware variations. The proposed system represents a significant advancement over existing methods for calculating gas costs by serving dual purposes: precise resource measurement and distributed consensus coordination, making it particularly suitable for high-performance DAG-based blockchain architectures.