Commit 7690a9ca authored by Guillaume Dewisme's avatar Guillaume Dewisme

new e

parent fa7959dc
Pipeline #3111 canceled with stages
This diff is collapsed.
...@@ -3,13 +3,13 @@ npm run deploy ...@@ -3,13 +3,13 @@ npm run deploy
> voting-dapp@1.0.0 deploy > voting-dapp@1.0.0 deploy
> hardhat run scripts/deploy.js --network localhost > hardhat run scripts/deploy.js --network localhost
TypeError: Wrong argument count for modifier invocation: 1 arguments given but expected 0. Compiled 3 Solidity files successfully (evm target: paris).
--> contracts/Voting.sol:94:19: Déploiement du contrat Voting...
| Erreur lors du déploiement: TypeError: Cannot read properties of undefined (reading 'getSigners')
94 | constructor() Ownable(msg.sender) { at main (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:8:39)
| ^^^^^^^^^^^^^^^^^^^ at Object.<anonymous> (C:\Users\gdewisme\Alt-2024-1\school\CI\v3\ci\scripts\deploy.js:23:1)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
Error HH600: Compilation failed at Function.Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
For more info go to https://hardhat.org/HH600 or run Hardhat with --show-stack-traces at node:internal/main/run_main_module:28:49
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment