Smart contract testing method based on path coverage sufficiency criterion
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SOUTH CHINA NORMAL UNIVERSITY
- Publication Date
- 2019-07-23
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a smart contract testing method based on path coverage sufficiency criteria. Background technique
[0002] Smart contracts are programs that run on top of blockchain consensus protocols to allow people to come to an agreement while minimizing trust. Once the smart contract is deployed, the contract content is open, transparent, non-tamperable, and automatically executed. But precisely because of the non-tamperable nature of the smart contract, if the smart contract fails to detect loopholes or logic errors in time before deployment, it may make mistakes or be maliciously used by bad people, causing people's property losses, for example: the loopholes in The DAO contract caused Lost $60 million. In order to avoid errors or loopholes in the deployed smart contracts and ensure the safety of people's property, the testing of smart contracts is very important.
[0003] Existing s...