• Home
  • Search
  • Wielding Blockchain Transactions for Capture-Replay Testing of Upgradeable Smart Contracts
  • https://doi.org/10.1145/3737699Copy DOI Icon

Wielding Blockchain Transactions for Capture-Replay Testing of Upgradeable Smart Contracts

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Blockchain technology is increasingly adopted in scenarios requiring trust and data integrity. On the Ethereum blockchain, the proxy pattern has become increasingly popular because it allows smart contract code to evolve while preserving stored data. However, a key challenge remains ensuring that such upgrades do not introduce breaking changes or cause disruptions to other contracts and off-chain systems. In this paper we introduce Catana , a framework that leverages historical transactions for Capture-Replay testing of proxy-based Upgradeable Smart Contracts (USCs). Catana assesses the potential impact of an upgrade by comparing the outcomes of replayed transactions with those from the previous version deployed on the main network. Additionally, it extracts and decodes contract state variables, providing deeper insights into how code changes affect the contract state, and helping developers mitigate issues before deployment. Experiments demonstrate that analyzing storage data accounts for the majority (about 86.5%) of detected disruptive upgrades. We also evaluate different policies for building replay test suites from historical transactions. Results identify a strategy that maximizes effectiveness while requiring a small number of replay test executions. Even a test suite containing just one transaction per each invoked method achieved good effectiveness (about \(60\% \) ) in detecting disruptive upgrades.

Similar Papers
  • Research Article
  • Citations24

SuMo: A mutation testing approach and tool for the Ethereum blockchain

  • Jul 21, 2022
  • Journal of Systems and Software
  • Morena Barboni +2
  • Research Article
  • Citations2

Learning environment design using Ethereum blockchain smart contracts

  • Dec 01, 2019
  • Scientific and Technical Journal of Information Technologies, Mechanics and Optics
  • D.V Zimina +1
  • Research Article
  • Citations2

Business Mapping in Context of Web 3.0 using Blockchain Technology

  • Apr 30, 2023
  • International Journal for Research in Applied Science and Engineering Technology
  • Suraj Chaubey +4
  • Conference Article
  • Citations8

Access Control of Healthcare Data using Blockchain Technology

  • Oct 07, 2021
  • Gudapati Ramyasri +1
  • Research Article

Revolutionizing Online Assessment Security with Secure ExamChain: A Decentralized Approach

  • May 31, 2024
  • International Journal for Research in Applied Science and Engineering Technology
  • Bhaskar Narayan Vaidya
  • PDF
  • Research Article
  • Citations76

Secure Distributed Cloud Storage based on the Blockchain Technology and Smart Contracts

  • Feb 14, 2023
  • Emerging Science Journal
  • Solonas Gousteris +4
  • Conference Article
  • Citations8

Blockchain based Healthcare Data Management

  • Dec 13, 2022
  • Karthigha M +2
  • Conference Article
  • Citations5

Legal smart contracts in Ethereum Block chain: Linking the dots

  • Apr 01, 2020
  • Eleanna Kafeza +3
  • Book Chapter

Identification of Product Originality Based on Supply Chain Management Using Block Chain

  • Nov 10, 2020
  • Sheela Rani P +3
  • Conference Article
  • Citations5

Exchanging Digital Documents Using Blockchain Technology

  • Jun 12, 2021
  • Yasmeen Shaher Alslman +1
  • Conference Article
  • Citations1

Support for the safety of EVM bytecode via function-call interceptor

  • Dec 01, 2021
  • Jisoo Kim +1
  • Research Article
  • Citations3

Towards Secure and Auditable E-Voting System with Go Ethereum

  • Apr 28, 2021
  • Turkish Journal of Computer and Mathematics Education (TURCOMAT)
  • Arya Wicaksana
  • Conference Article
  • Citations4

Blockchain and Smart Contracts to Improve Dental Healthcare for Children in Primary School

  • Jul 25, 2021
  • Wildan Mohammed Araby Al-Rubaye +1
  • Research Article
  • Citations86

ABCDE—agile block chain DApp engineering

  • Dec 01, 2020
  • Blockchain: Research and Applications
  • Lodovica Marchesi +2
  • Book Chapter
  • Citations3

Decentralized Web Hosting Service Using IPFS and Ethereum Blockchain

  • Nov 03, 2022
  • S Muthurajkumar +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.