remove unnecessary permission creation in factory
This commit is contained in:
perissology 2018-06-29 08:07:06 -07:00
parent 4ebab382bd
commit 2797e2d814
2 changed files with 2 additions and 3 deletions

View File

@ -48,7 +48,6 @@ contract LPFactory is LPConstants, DAOFactory(new Kernel(), new ACL(), 0) {
bytes32 pluginManagerRole = lp.PLUGIN_MANAGER_ROLE();
acl.createPermission(_root, address(v), hatchCallerRole, _root);
acl.createPermission(_root, address(lp), hatchCallerRole, _root);
acl.createPermission(_root, address(lp), pluginManagerRole, _root);
// TODO: set pledgeAdminRole manager to 0x0? maybe it doesn't matter b/c it can be recreated by _root anyways

View File

@ -1,6 +1,6 @@
{
"name": "giveth-liquidpledging",
"version": "1.0.0",
"version": "1.0.1",
"description": "Liquid Pledging Smart Contract",
"main": "index.js",
"directories": {
@ -45,7 +45,7 @@
"lerna": "^2.2.0",
"mocha": "^3.5.0",
"random-bytes": "^1.0.0",
"solcpiler": "1.0.0-beta.7",
"solcpiler": "1.0.0-beta.8",
"web3": "1.0.0-beta.34"
},
"homepage": "https://github.com/Giveth/liquidpledging#readme",