Get contributions from minted events (WIP)

This commit is contained in:
2017-08-14 17:15:11 +02:00
parent 8fbecd928b
commit b8f4040def
6 changed files with 413 additions and 0 deletions
+4
View File
@@ -1,4 +1,6 @@
/* jshint node: true */
const fs = require('fs');
module.exports = function(environment) {
var ENV = {
modulePrefix: 'kredits-web',
@@ -65,6 +67,8 @@ module.exports = function(environment) {
port: '5001',
protocol: 'http'
};
const mintedEvents = JSON.parse(fs.readFileSync('config/fixtures-token-minted.json'));
ENV.fixtures = { mintedEvents: mintedEvents };
}
if (environment === 'test') {