mirror of https://gitlab.com/ecentrics/concordia
Ezerous
4 years ago
2 changed files with 8 additions and 4 deletions
@ -1,14 +1,16 @@ |
|||
let Forum; |
|||
let Forum, Voting, PostVoting; |
|||
|
|||
/* eslint-disable global-require */ |
|||
try { |
|||
// eslint-disable-next-line global-require
|
|||
Forum = require('./build/Forum.json'); |
|||
Voting = require('./build/Voting.json'); |
|||
PostVoting = require('./build/PostVoting.json'); |
|||
} catch (e) { |
|||
// eslint-disable-next-line no-console
|
|||
console.error("Could not require contract artifacts. Haven't you run compile yet?"); |
|||
} |
|||
|
|||
module.exports = { |
|||
contracts: [Forum], |
|||
contracts: [Forum, Voting, PostVoting], |
|||
forumContract: Forum, |
|||
}; |
|||
|
Loading…
Reference in new issue