Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume DEWISME
CI
Commits
7690a9ca
Commit
7690a9ca
authored
2 weeks ago
by
Guillaume Dewisme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new e
parent
fa7959dc
Pipeline
#3111
canceled with stages
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
338 additions
and
26 deletions
+338
-26
Voting.sol
contracts/Voting.sol
+328
-16
error
error
+10
-10
No files found.
contracts/Voting.sol
View file @
7690a9ca
This diff is collapsed.
Click to expand it.
error
View file @
7690a9ca
...
...
@@ -3,13 +3,13 @@ npm run deploy
> voting-dapp@1.0.0 deploy
> hardhat run scripts/deploy.js --network localhost
TypeError: Wrong argument count for modifier invocation: 1 arguments given but expected 0
.
--> contracts/Voting.sol:94:19:
|
94 | constructor() Ownable(msg.sender) {
| ^^^^^^^^^^^^^^^^^^^
Error HH600: Compilation failed
For more info go to https://hardhat.org/HH600 or run Hardhat with --show-stack-traces
Compiled 3 Solidity files successfully (evm target: paris)
.
Déploiement du contrat Voting...
Erreur lors du déploiement: TypeError: Cannot read properties of undefined (reading 'getSigners')
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)
at Function.Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment