fix: refactor sign.js and related tests (#1243)
* fix: refactor sign.js and related tests * fix: remove unused dep * fix: update package.json correctly
This commit is contained in:
committed by
Nicolás Venturo
parent
1c0532455a
commit
1c57637fd5
@ -1,5 +1,3 @@
|
||||
const { hashMessage } = require('./helpers/sign');
|
||||
|
||||
const AutoIncrementing = artifacts.require('AutoIncrementingImpl');
|
||||
|
||||
require('chai')
|
||||
@ -7,8 +5,8 @@ require('chai')
|
||||
.should();
|
||||
|
||||
const EXPECTED = [1, 2, 3, 4];
|
||||
const KEY1 = hashMessage('key1');
|
||||
const KEY2 = hashMessage('key2');
|
||||
const KEY1 = web3.sha3('key1');
|
||||
const KEY2 = web3.sha3('key2');
|
||||
|
||||
contract('AutoIncrementing', function ([_, owner]) {
|
||||
beforeEach(async function () {
|
||||
|
||||
Reference in New Issue
Block a user