Removed development config, default and testing values are in default

This commit is contained in:
Pol.Alvarez@BSC 2018-03-02 15:55:42 +01:00
parent bbad087a01
commit 069f031e3e
3 changed files with 20 additions and 36 deletions

View File

@ -1,38 +1,45 @@
// Work hours per label
const BOUNTY_LABELS = {
'bounty-xs': 1,
'bounty-s': 10,
'bounty-m': 100,
'bounty-l': 1000,
'bounty-xl': 10000
}
module.exports = {
// Debug mode for testing the bot
debug: true,
// URL where the bot is listening (e.g. '/funding')
urlEndpoint: '',
urlEndpoint: '/',
// URL for the signer (e.g. 'https://ropsten.infura.io')
signerPath: '',
// URL for the signer
signerPath: 'https://ropsten.infura.io',
// Address with the funding for the bounties
sourceAddress: '',
sourceAddress: '0x26a4D114B98C4b0B0118426F10fCc1112AA2864d',
// Private key for ether.js wallet
privateKey: '',
// Token of the currency for fetching real time prices (e.g. 'SNT')
token: '',
token: 'SNT',
// Limit for the gas used in a transaction (e.g. 92000)
gasLimit: 0,
gasLimit: 92000,
// Price per hour you will pay in dolars (e.g. 35)
priceHour: 0,
priceHour: 1,
// Delay before funding a bounty (e.g. 3600000)
delayInMiliSeconds: 0,
delayInMiliSeconds: 10000,
// Bounty Labels for the issues and the correspondent houres (e.g. {'bounty-xs': 3})
bountyLabels: {},
// Bounty Labels for the issues and the correspondent hours (e.g. {'bounty-xs': 3})
bountyLabels: BOUNTY_LABELS,
// username for the bot which has to comment for starting the process (e.g. status-bounty-)
githubUsername: '',
githubUsername: 'status-open-bounty',
// Activate real transactions
realTransaction: false

View File

@ -1,22 +0,0 @@
const BOUNTY_LABELS = {
'bounty-xs': 1,
'bounty-s': 10,
'bounty-m': 100,
'bounty-l': 1000,
'bounty-xl': 10000
}
module.exports = {
debug: true,
urlEndpoint: '/',
signerPath: 'https://ropsten.infura.io',
sourceAddress: '0x26a4D114B98C4b0B0118426F10fCc1112AA2864d',
privateKey: '',
token: 'SNT',
gasLimit: 92000,
priceHour: 1,
delayInMiliSeconds: 10000,
bountyLabels: BOUNTY_LABELS,
githubUsername: 'status-open-bounty',
}

View File

@ -1,5 +1,4 @@
var _ = require("lodash");
var defaults = require("./default.js");
var config = require("./" + (process.env.NODE_ENV || "development") + ".js");
var config = require("./" + (process.env.NODE_ENV || "default") + ".js");
module.exports = _.merge({}, defaults, config);