mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-08 16:23:12 +00:00
[build] Allow model checking with solidity compiler
This commit is contained in:
parent
cde5436262
commit
5f1da8c59a
11
hardhat.modelcheck.config.js
Normal file
11
hardhat.modelcheck.config.js
Normal file
@ -0,0 +1,11 @@
|
||||
const config = require("./hardhat.config")
|
||||
|
||||
config.solidity.settings.modelChecker = {
|
||||
engine: "chc",
|
||||
showUnproved: true,
|
||||
contracts: {
|
||||
"contracts/TestCollateral.sol": ["TestCollateral"],
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
@ -5,7 +5,8 @@
|
||||
"test": "npm run lint && hardhat test",
|
||||
"start": "hardhat node --export deployment-localhost.json",
|
||||
"format": "prettier --write contracts/**/*.sol test/**/*.js",
|
||||
"lint": "solhint contracts/**.sol"
|
||||
"lint": "solhint contracts/**.sol",
|
||||
"modelcheck": "hardhat compile --config hardhat.modelcheck.config.js --force"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nomiclabs/hardhat-ethers": "^2.2.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user