Skip to content

Commit

Permalink
fix src/permit-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
laisolizq committed Sep 2, 2022
1 parent 3748dbd commit ccc1870
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ module.exports.GlobalExitRootManagerL2Mock = require('./compiled-contracts/Globa
module.exports.GlobalExitRootManagerMock = require('./compiled-contracts/GlobalExitRootManagerMock.json');
module.exports.ProofOfEfficiencyMock = require('./compiled-contracts/ProofOfEfficiencyMock.json');
module.exports.VerifierRollupHelperMock = require('./compiled-contracts/VerifierRollupHelperMock.json');
module.exports.PermitHelper = require('./test/contracts/helpers/permit-helper.js');
module.exports.PermitHelper = require('./src/permit-helper');
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@0xpolygonhermez/contracts-zkevm",
"name": "@0xpolygonhermez/zkevm-contracts",
"description": "Core contracts for the Polygon Hermez zkEVM",
"version": "0.0.7",
"repository": {
Expand All @@ -21,7 +21,8 @@
"files": [
"contracts",
"index.js",
"compiled-contracts"
"compiled-contracts",
"src"
],
"bugs": {
"url": "https://github.com/0xPolygonHermez/contracts-zkEVM/issues"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/contracts/bridge.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {
const {
createPermitSignature,
ifacePermit,
} = require('./helpers/permit-helper');
} = require('../../src/permit-helper');

function calculateGlobalExitRoot(mainnetExitRoot, rollupExitRoot) {
return ethers.utils.solidityKeccak256(['bytes32', 'bytes32'], [mainnetExitRoot, rollupExitRoot]);
Expand Down

0 comments on commit ccc1870

Please sign in to comment.