Communication Dans Un Congrès Année : 2024

A Comparative Gas Cost Analysis of Proxy and Diamond Patterns in EVM Blockchains for Trusted Smart Contract Engineering

Résumé

Blockchain applications are witnessing rapid evolution, necessitating the integration of upgradeable smart contracts. Software patterns have been proposed to summarize upgradeable smart contract best practices. However, research is missing on the comparison of these upgradeable smart contract patterns, especially regarding gas costs related to deployment and execution. This study aims to provide an in-depth analysis of gas costs associated with two prevalent upgradeable smart contract patterns: the proxy and diamond patterns. The proxy pattern utilizes a proxy pointing to a logic contract, while the diamond pattern enables a proxy to point to multiple logic contracts. A comparative analysis of gas costs for both patterns is conducted and compared to a traditional non-upgradeable smart contract, also known as the classic pattern. From this analysis, a theoretical contribution is derived in the form of two consolidated blockchain patterns and a corresponding decision model.
Fichier sous embargo
Fichier sous embargo
0 3 8
Année Mois Jours
Avant la publication
vendredi 30 mai 2025
Fichier sous embargo
vendredi 30 mai 2025
Connectez-vous pour demander l'accès au fichier

Dates et versions

cea-04955543 , version 1 (18-02-2025)

Identifiants

Citer

Anto Benedetti, Tiphaine Henry, Sara Tucci. A Comparative Gas Cost Analysis of Proxy and Diamond Patterns in EVM Blockchains for Trusted Smart Contract Engineering. 8th Workshop on Trusted Smart Contracts (WTSC) co-located with Financial Cryptography 2024, Mar 2024, Willemstad, Curaçao. pp.207-221, ⟨10.1007/978-3-031-69231-4_14⟩. ⟨cea-04955543⟩
0 Consultations
0 Téléchargements

Altmetric

Partager

More