Abstract
The data carried by transaction payloads play a crucial role in smart contract-based blockchain systems. Therefore, blockchains should be equipped with mechanisms to control their data quality. In practice, however, such mechanisms are currently missing. While in our previous work we have proposed how data quality controls can be implemented as smart contracts, in this paper we focus specifically on the evaluation of their execution overhead (time and cost). Evaluating this overhead is crucial to understand in which situations the cost of controlling the data quality of transaction payloads can be sustained by a blockchain system. We have implemented in Ethereum two pseudo-real scenarios that cover all the types of data quality controls in blockchains that we defined in our previous work and evaluated for each of them the time and cost overhead. The results show that the overhead of control can be high particularly for controls involving oracles that fetch off-chain data and controls that require to correlate data from different transactions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
In principle, we could assume that each data item in a transaction can be associated with a different correlation id. For simplicity in this paper we consider that all data items carried by a transaction are associated with the same correlation id.
- 2.
Note that this is not an absolute guarantee, because of the best-effort nature of the Internet.
References
Albert, E., Correas, J. , Gordillo, P., Román-DÃez, G., Rubio, A.: GASOL: gas analysis and optimization for ethereum smart contracts. In TACAS, pp.118–125. Springer (2020)
Antonopoulos, A.M., Wood, G.: Mastering Ethereum: Building Smart Contracts and Dapps. O’reilly Media, Gavin Wood (2018)
Atzei, N., Bartoletti, M., Cimoli, T.: A survey of attacks on ethereum smart contracts (SoK). In: Maffei, M., Ryan, M. (eds.) POST 2017. LNCS, vol. 10204, pp. 164–186. Springer, Heidelberg (2017). https://doi.org/10.1007/978-3-662-54455-6_8
Azaria, A., Ekblaw, A., Vieira, T., Lippman, A.: MedRec: using blockchain for medical data access and permission management. OBD 2016, 25–30 (2016)
Bartoletti, M., Pompianu, L.: An empirical analysis of smart contracts: platforms, applications, and design patterns. In: Brenner, M., et al. (eds.) FC 2017. LNCS, vol. 10323, pp. 494–509. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70278-0_31
Batini, C., Scannapieco, M.: Data and Information Quality - Dimensions Principles and Techniques. Data-Centric Systems and Applications. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-24106-7
Cappiello, C., Comuzzi, M., Daniel, F., Meroni, G.: Data quality control in blockchain applications. In: Di Ciccio, C., et al. (eds.) BPM 2019. LNBIP, vol. 361, pp. 166–181. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-30429-4_12
Casado-Vara, R., de la Prieta, F., Prieto, J., Corchado, J.M.: Blockchain framework for IoT data quality via edge computing. In: BlockSys@SenSys 2018, pp. 19–24. ACM (2018)
Chen, S., Shi, R., Ren, Z., Yan, J., Shi, Y., Zhang, J.: A blockchain-based supply chain quality management framework. ICEBE 2017, 172–176 (2017)
Szabo, N.: Formalizing and securing relationships on public networks. First Monday 2(9), (1997)
Wohrer, M., Zdun, U.: Smart contracts: security patterns in the ethereum ecosystem and solidity. In: IWBOSE@SANER 2018, pp. 2–8. IEEE (2018)
Xu, Xiwei, Weber, Ingo, Staples, Mark: Case study: originChain. In: Architecture for Blockchain Applications, pp. 279–293. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-03035-3_14
Zhu, Z., Qi, G., Zheng, M., Sun, J., Chai, Y.: Blockchain based consensus checking in decentralized cloud storage. Simul. Model. Pract. Theor. 102, 101987 (2020). Special Issue on IoT, Cloud, Big Data and AI in Interdisciplinary Domains
Acknowledgements
The authors thank Lorenzo Maria Bonelli for his help with the initial implementation of the smart contracts.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Comuzzi, M., Cappiello, C., Meroni, G. (2021). An Empirical Evaluation of Smart Contract-Based Data Quality Assessment in Ethereum. In: González EnrÃquez, J., Debois, S., Fettke, P., Plebani, P., van de Weerd, I., Weber, I. (eds) Business Process Management: Blockchain and Robotic Process Automation Forum. BPM 2021. Lecture Notes in Business Information Processing, vol 428. Springer, Cham. https://doi.org/10.1007/978-3-030-85867-4_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-85867-4_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-85866-7
Online ISBN: 978-3-030-85867-4
eBook Packages: Computer ScienceComputer Science (R0)