mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
Set mine script for localhost deployment only and add deploy reset command
This commit is contained in:
parent
af3338e754
commit
e4ae6f0012
@ -4,13 +4,14 @@
|
||||
"scripts": {
|
||||
"test": "npm run lint && hardhat test",
|
||||
"fuzz": "hardhat compile && fuzzing/fuzz.sh",
|
||||
"start": "concurrently --names \"hardhat,deployment\" --prefix \"[{time} {name}]\" \"hardhat node\" \"sleep 2 && HARDHAT_NETWORK=localhost npm run deploy\"",
|
||||
"start": "concurrently --names \"hardhat,deployment\" --prefix \"[{time} {name}]\" \"hardhat node\" \"sleep 2 && npm run mine && HARDHAT_NETWORK=localhost npm run deploy\"",
|
||||
"compile": "hardhat compile",
|
||||
"format": "prettier --write test/**/*.js --plugin=prettier-plugin-solidity contracts/**/*.sol ",
|
||||
"format:check": "prettier --check test/**/*.js --plugin=prettier-plugin-solidity contracts/**/*.sol",
|
||||
"lint": "solhint contracts/**.sol",
|
||||
"deploy": "hardhat ignition deploy ignition/modules/marketplace.js --network $HARDHAT_NETWORK",
|
||||
"predeploy": "hardhat run scripts/mine.js --network localhost",
|
||||
"deploy:reset": "hardhat ignition deploy ignition/modules/marketplace.js --network $HARDHAT_NETWORK --reset",
|
||||
"mine": "hardhat run scripts/mine.js --network localhost",
|
||||
"verify": "npm run verify:marketplace && npm run verify:state_changes",
|
||||
"verify:marketplace": "certoraRun certora/confs/Marketplace.conf",
|
||||
"verify:state_changes": "certoraRun certora/confs/StateChanges.conf",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user