From 91dc9e7612861c1b7ec68d7a49b08fa692e7c28d Mon Sep 17 00:00:00 2001 From: Nick Freyaldenhoven Date: Thu, 22 Aug 2019 16:15:56 -0500 Subject: [PATCH 1/2] Fixing typo and display issue --- packages/web-helpers/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-helpers/src/index.js b/packages/web-helpers/src/index.js index eb416223..94647a6b 100644 --- a/packages/web-helpers/src/index.js +++ b/packages/web-helpers/src/index.js @@ -308,7 +308,7 @@ const activateForms = async () => { document.getElementById("validator-claim-button").onclick = async () => { const challengeId = document.getElementById("validator-claim-challenge-id").value; - validatorRegistry.claimWinnigs(challengeId).then(async () => { + validatorRegistry.claimWinnings(challengeId).then(async () => { resetValues(); console.log(`Successfully claimed winnigs from challenge ${challengeId}.`); }); @@ -318,7 +318,7 @@ const activateForms = async () => { const votingWinningOptionHTML = document.getElementById("voting-winning-option"); if (typeof votingWinningOptionHTML !== "undefined") { const val = await voting.winningOption(event.target.value); - votingWinningOptionHTML.innerText = trim(val); + votingWinningOptionHTML.innerText = val; } const votingTotalWinningTokensHTML = document.getElementById("voting-total-winning-tokens"); From b6c248ec0427e98816801259831ffa30fbe26c3d Mon Sep 17 00:00:00 2001 From: Nick Freyaldenhoven Date: Thu, 22 Aug 2019 16:16:19 -0500 Subject: [PATCH 2/2] Fixing issue with challenge end. Deployed contract fixed with update method. --- packages/kosu-system-contracts/src/migrations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kosu-system-contracts/src/migrations.ts b/packages/kosu-system-contracts/src/migrations.ts index 15c85b3e..7a51b5b9 100644 --- a/packages/kosu-system-contracts/src/migrations.ts +++ b/packages/kosu-system-contracts/src/migrations.ts @@ -53,7 +53,7 @@ export async function migrations( 6174: { _applicationPeriod: 600, _commitPeriod: 600, - _challengePeriod: 400, + _challengePeriod: 1000, _exitPeriod: 600, _rewardPeriod: 600, },