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": { "rules": {
"indent": ["error", 2], "indent": ["error", 2],
"linebreak-style": ["error", "unix"], "linebreak-style": ["error", "unix"],
"quotes": ["error", "single"], "quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "never"], "semi": ["error", "never"],
"object-curly-spacing": ["error", "always"], "object-curly-spacing": ["error", "always"],
"comma-dangle": ["error", "always-multiline"], "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++) { for (var i = 0; i < levels - 1; i++) {
treeUpdater.pathElements[i] <== outPathElements[i]; treeUpdater.pathElements[i] <== outPathElements[i];
} }
signal extDataSquare <== extDataHash * extDataHash;
} }

View File

@ -57,7 +57,7 @@ describe('TornadoPool', () => {
await proxy await proxy
.admin() .admin()
.should.be.revertedWith( .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",
) )
}) })
}) })