Skip to content

Commit

Permalink
Debug: vote/reveal production signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
rdig committed Apr 3, 2024
1 parent 6a82efa commit 2f94632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/redux/sagas/motions/revealVoteMotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ function* revealVoteMotion({
} catch (error) {
// Same as above. Silent error
}

// eslint-disable-next-line no-console
console.log('REVEAL for', sideVoted, { signature, salt, message });

if (sideVoted !== undefined) {
const { revealVoteMotionTransaction } = yield createTransactionChannels(
meta.id,
Expand Down
3 changes: 3 additions & 0 deletions src/redux/sagas/motions/voteMotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ function* voteMotion({
[utils.keccak256(signature), vote],
);

// eslint-disable-next-line no-console
console.log('VOTE for', vote, { signature, hash, message });

const { voteMotionTransaction } = yield createTransactionChannels(meta.id, [
'voteMotionTransaction',
]);
Expand Down

0 comments on commit 2f94632

Please sign in to comment.