Skip to content

Commit

Permalink
starting to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ameensol committed Jan 15, 2020
1 parent 96d0651 commit ebd9cfd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions deployment-params.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ module.exports.TOKEN = ''
module.exports.PERIOD_DURATION_IN_SECONDS = 17280
module.exports.VOTING_DURATON_IN_PERIODS = 35
module.exports.GRACE_DURATON_IN_PERIODS = 35
module.exports.EMERGENCY_PROCESSING_WAIT_IN_PERIODS = 70
module.exports.BAILOUT_WAIT_IN_PERIODS = 70
module.exports.PROPOSAL_DEPOSIT = '1000000000000000000' // Large numbers should be string or big numbers
module.exports.DILUTION_BOUND = 3
module.exports.PROCESSING_REWARD = '10000000000'
5 changes: 0 additions & 5 deletions test/molochV2-multitoken.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,11 @@ contract('Moloch', ([creator, summoner, applicant1, applicant2, processor, deleg
deploymentConfig.PERIOD_DURATION_IN_SECONDS,
deploymentConfig.VOTING_DURATON_IN_PERIODS,
deploymentConfig.GRACE_DURATON_IN_PERIODS,
deploymentConfig.EMERGENCY_EXIT_WAIT_IN_PERIODS,
deploymentConfig.BAILOUT_WAIT_IN_PERIODS,
deploymentConfig.PROPOSAL_DEPOSIT,
deploymentConfig.DILUTION_BOUND,
deploymentConfig.PROCESSING_REWARD
)

const guildBankAddress = await moloch.guildBank()
guildBank = await GuildBank.at(guildBankAddress)

const depositTokenAddress = await moloch.depositToken()
assert.equal(depositTokenAddress, tokenAlpha.address)

Expand Down
5 changes: 0 additions & 5 deletions test/molochV2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,11 @@ contract('Moloch', ([creator, summoner, applicant1, applicant2, processor, deleg
deploymentConfig.PERIOD_DURATION_IN_SECONDS,
deploymentConfig.VOTING_DURATON_IN_PERIODS,
deploymentConfig.GRACE_DURATON_IN_PERIODS,
deploymentConfig.EMERGENCY_PROCESSING_WAIT_IN_PERIODS,
deploymentConfig.BAILOUT_WAIT_IN_PERIODS,
deploymentConfig.PROPOSAL_DEPOSIT,
deploymentConfig.DILUTION_BOUND,
deploymentConfig.PROCESSING_REWARD
)

const guildBankAddress = await moloch.guildBank()
guildBank = await GuildBank.at(guildBankAddress)

const depositTokenAddress = await moloch.depositToken()
assert.equal(depositTokenAddress, tokenAlpha.address)

Expand Down

0 comments on commit ebd9cfd

Please sign in to comment.