Augusto Sampaio
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Augusto Sampaio has a total of 61 co-authors. Here are the top co-authors by number of shared publications:
- Pedro Antonino
The Blockhouse Technology Limited
7 shared publications - Alexandre Mota
Centro de Informática, UFPE
6 shared publications - Filipe Arruda
Universidade Federal de Pernambuco
6 shared publications - Andrew William Roscoe
The Blockhouse Technology Ltd
3 shared publications - Gustavo Carvalho
Universidade Federal de Pernambuco
3 shared publications - Juliandson Ferreira
Universidade Federal de Pernambuco
3 shared publications
Latest Publications
- 23 February 2026
- Published by Elsevier in Science of Computer Programming
- Vol. 252
Generating formal smart-contract specifications: comparing few-shot learning and fine-tuned LLMs
- 23 February 2026
- Published by Elsevier in Science of Computer Programming
- Vol. 252
Generating formal smart-contract specifications: comparing few-shot learning and fine-tuned LLMs
- 27 November 2025
- Published by Springer Nature
- p. 101-118
Deriving Sound Test Scripts from Requirements Written in a Controlled Natural Language
- 27 November 2025
- Published by Springer Nature
- p. 101-118
Deriving Sound Test Scripts from Requirements Written in a Controlled Natural Language
- 19 November 2025
- Published by Elsevier in Science of Computer Programming
- Vol. 250
Combining sequential feature test cases to generate sound tests for concurrent features
- 19 November 2025
- Published by Elsevier in Science of Computer Programming
- Vol. 250
Combining sequential feature test cases to generate sound tests for concurrent features
- Open Access
Demystification and Near-perfect Estimation of Minimum Gas Limit and Gas Used for Ethereum Smart Contracts
The Ethereum blockchain has a \emph{gas system} that associates operations with a cost in gas units. Two central concepts of this system are the \emph{gas limit} assigned by the issuer of a transaction and the \emph{gas used} by a transaction. The former is a budget that must not be exhausted before the completion of the transaction execution; otherwise, the execution fails. Therefore, it seems rather essential to determine the \emph{minimum gas limit} that ensures the execution of a transaction will not abort due to the lack of gas. Despite its practical relevance, this concept has not been properly addressed. In the literature, gas used and minimum gas limit are conflated. This paper proposes a precise notion of minimum gas limit and how it can differ from gas used by a transaction; this is also demonstrated with a quantitative study on real transactions of the Ethereum blockchain. Another significant contribution is the proposition of a fairly precise estimator for each of the two metrics. Again, the confusion between these concepts has led to the creation of estimators only for the gas used by a transaction. We demonstrate that the minimum gas limit for the state of the Ethereum blockchain (after the block) $t$ can serve as a near-perfect estimation for the execution of the transaction at block $t + Δ$, where $Δ\leq 11$; the same holds for estimating gas used. These precise estimators can be very valuable in helping the users predict the gas budget of transactions and developers in optimising their smart contracts; over and underestimating gas used and minimum gas limit can lead to a number of practical issues. Overall, this paper serves as an important reference for blockchain developers and users as to how the gas system really works.Open AccessDemystification and Near-perfect Estimation of Minimum Gas Limit and Gas Used for Ethereum Smart Contracts
The Ethereum blockchain has a \emph{gas system} that associates operations with a cost in gas units. Two central concepts of this system are the \emph{gas limit} assigned by the issuer of a transaction and the \emph{gas used} by a transaction. The former is a budget that must not be exhausted before the completion of the transaction execution; otherwise, the execution fails. Therefore, it seems rather essential to determine the \emph{minimum gas limit} that ensures the execution of a transaction will not abort due to the lack of gas. Despite its practical relevance, this concept has not been properly addressed. In the literature, gas used and minimum gas limit are conflated. This paper proposes a precise notion of minimum gas limit and how it can differ from gas used by a transaction; this is also demonstrated with a quantitative study on real transactions of the Ethereum blockchain. Another significant contribution is the proposition of a fairly precise estimator for each of the two metrics. Again, the confusion between these concepts has led to the creation of estimators only for the gas used by a transaction. We demonstrate that the minimum gas limit for the state of the Ethereum blockchain (after the block) $t$ can serve as a near-perfect estimation for the execution of the transaction at block $t + Δ$, where $Δ\leq 11$; the same holds for estimating gas used. These precise estimators can be very valuable in helping the users predict the gas budget of transactions and developers in optimising their smart contracts; over and underestimating gas used and minimum gas limit can lead to a number of practical issues. Overall, this paper serves as an important reference for blockchain developers and users as to how the gas system really works. - Top Cited PapersOpen Access
- 26 December 2024
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 37 (1) , 1-38
Formal Methods in Industry
Formal methods encompass a wide choice of techniques and tools for the specification, development, analysis, and verification of software and hardware systems. Formal methods are widely applied in industry, in activities ranging from the elicitation of requirements and the early design phases all the way to the deployment, configuration, and runtime monitoring of actual systems. Formal methods allow one to precisely specify the environment in which a system operates, the requirements and properties that the system should satisfy, the models of the system used during the various design steps, and the code embedded in the final implementation, as well as to express conformance relations between these specifications. We present a broad scope of successful applications of formal methods in industry, not limited to the well-known success stories from the safety-critical domain, like railways and other transportation systems, but also covering other areas such as lithography manufacturing and cloud security in e-commerce, to name but a few. We also report testimonies from a number of representatives from industry who, either directly or indirectly, use or have used formal methods in their industrial project endeavours. These persons are spread geographically, including Europe, Asia, North and South America, and the involved projects witness the large coverage of applications of formal methods, not limited to the safety-critical domain. We thus make a case for the importance of formal methods, and in particular of the capacity to abstract and mathematical reasoning that are taught as part of any formal methods course. These are fundamental Computer Science skills that graduates should profit from when working as computer scientists in industry, as confirmed by industry representatives.
- 26 December 2024
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 37 (1) , 1-38
Top Cited PapersOpen AccessFormal Methods in Industry
Formal methods encompass a wide choice of techniques and tools for the specification, development, analysis, and verification of software and hardware systems. Formal methods are widely applied in industry, in activities ranging from the elicitation of requirements and the early design phases all the way to the deployment, configuration, and runtime monitoring of actual systems. Formal methods allow one to precisely specify the environment in which a system operates, the requirements and properties that the system should satisfy, the models of the system used during the various design steps, and the code embedded in the final implementation, as well as to express conformance relations between these specifications. We present a broad scope of successful applications of formal methods in industry, not limited to the well-known success stories from the safety-critical domain, like railways and other transportation systems, but also covering other areas such as lithography manufacturing and cloud security in e-commerce, to name but a few. We also report testimonies from a number of representatives from industry who, either directly or indirectly, use or have used formal methods in their industrial project endeavours. These persons are spread geographically, including Europe, Asia, North and South America, and the involved projects witness the large coverage of applications of formal methods, not limited to the safety-critical domain. We thus make a case for the importance of formal methods, and in particular of the capacity to abstract and mathematical reasoning that are taught as part of any formal methods course. These are fundamental Computer Science skills that graduates should profit from when working as computer scientists in industry, as confirmed by industry representatives.
- 29 November 2024
- Published by Springer Nature
- p. 194-204
Trusted Deployer: A Tool for Safe Creation and Upgrade of Ethereum Smart Contracts
- 29 November 2024
- Published by Springer Nature
- p. 194-204
Trusted Deployer: A Tool for Safe Creation and Upgrade of Ethereum Smart Contracts
- 29 November 2024
- Published by Springer Nature
- p. 86-104
An Integrated Framework for Analysing, Simulating and Testing UML Models
- 29 November 2024
- Published by Springer Nature
- p. 86-104
An Integrated Framework for Analysing, Simulating and Testing UML Models
- 8 September 2024
- Published by Springer Nature
- p. 109-126
Extracting Formal Smart-Contract Specifications from Natural Language with LLMs
- 8 September 2024
- Published by Springer Nature
- p. 109-126
Extracting Formal Smart-Contract Specifications from Natural Language with LLMs
- 3 April 2024
- Published by Elsevier in Science of Computer Programming
- Vol. 236
Local deadlock analysis of Simulink models based on timed behavioural patterns and theorem proving
- 3 April 2024
- Published by Elsevier in Science of Computer Programming
- Vol. 236
Local deadlock analysis of Simulink models based on timed behavioural patterns and theorem proving
- 25 January 2024
- Published by Springer Nature in Software and Systems Modeling
- Vol. 23 (3) , 1-37
A refinement-based approach to safe smart contract deployment and evolution
- 25 January 2024
- Published by Springer Nature in Software and Systems Modeling
- Vol. 23 (3) , 1-37
A refinement-based approach to safe smart contract deployment and evolution