extDataSquare + eslint fix

This commit is contained in:
Alexey 2021-08-19 19:20:02 +03:00
commit a621e46e6e
3 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],

View File

@ -130,4 +130,6 @@ template Transaction(levels, nIns, nOuts, zeroLeaf) {
for (var i = 0; i < levels - 1; i++) {
treeUpdater.pathElements[i] <== outPathElements[i];
}
signal extDataSquare <== extDataHash * extDataHash;
}

View File

@ -57,7 +57,7 @@ describe('TornadoPool', () => {
await proxy
.admin()
.should.be.revertedWith(
'Transaction reverted: function selector was not recognized and there is no fallback function',
"Transaction reverted: function selector was not recognized and there's no fallback function",
)
})
})