diff --git a/smart_contracts/.husky/post-merge b/smart_contracts/.husky/post-merge index e5a1d3af..da8db61b 100755 --- a/smart_contracts/.husky/post-merge +++ b/smart_contracts/.husky/post-merge @@ -1,6 +1,6 @@ #!/bin/bash -CONTRACTS_DIR="indy-besu/smart_contracts" +CONTRACTS_DIR="smart_contracts" # Change to the smart contracts directory cd "$CONTRACTS_DIR" || exit diff --git a/smart_contracts/.husky/pre-commit b/smart_contracts/.husky/pre-commit index 9c4ab59e..a49940d7 100755 --- a/smart_contracts/.husky/pre-commit +++ b/smart_contracts/.husky/pre-commit @@ -1,6 +1,6 @@ #!/bin/bash -CONTRACTS_DIR="indy-besu/smart_contracts" +CONTRACTS_DIR="smart_contracts" # Check if git status has any changes in the smart contracts directory if git status --porcelain | grep -q "$CONTRACTS_DIR"; then diff --git a/smart_contracts/package.json b/smart_contracts/package.json index e97b4a16..7653a6bb 100644 --- a/smart_contracts/package.json +++ b/smart_contracts/package.json @@ -22,7 +22,7 @@ "demo/account": "yarn run-on-besu demos/account-control.ts", "demo/upgrade": "yarn run-on-besu demos/upgrade-control.ts", "genesis/generate": "ts-node scripts/genesis/generate.ts", - "postinstall": "cd ../../ && husky install indy-besu/smart_contracts/.husky", + "postinstall": "cd ../ && husky install smart_contracts/.husky", "solc-compile": "yarn compile && solc -o compiled-contracts --optimize --bin-runtime --evm-version=constantinople @dk1a=$(pwd)/node_modules/@dk1a @openzeppelin=$(pwd)/node_modules/@openzeppelin ethr-did-registry=$(pwd)/node_modules/ethr-did-registry contracts/**/*.sol node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol" }, "license": "Apache-2.0",