Commit Graph

1638 Commits

Author SHA1 Message Date
Trung Nguyen a5c8e7af32
permission: minor fixes and update with master 2019-09-04 14:39:53 -04:00
vsmk98 82fd20b084 permission: unit tests for permission apis 2019-08-30 15:28:35 +08:00
vsmk98 ee0ca9772f Core: Added key store and api test cases 2019-08-29 15:55:45 +08:00
vsmk98 973caccef5 permission: added go tests for permissions cache management 2019-08-19 16:51:43 +08:00
Zhou Zhiyao 4b45dd2004 Minor fixes (#803) 2019-08-17 08:37:57 -04:00
vsmk98 1f0da48be6 permission: changed to pass the exact error message based on checkAccount response 2019-08-14 14:28:30 +08:00
vsmk98 01f4e9b131 permission: node validation changed from string compare to enode id match in ValidateNodeForTxn 2019-08-14 14:15:02 +08:00
Libby Kent 7e87e40340 VM read-only mode: check `operation.writes` not `op.isMutating`.
`op.isMutating()` was added for checking mutating VM operation, but `operation.writes`
should be used now as it registers all mutating ops and is consistent with upstream.
Additionally, there is a new  mutating opcode `CREATE2`, but `CREATE2` has not been added to the
`op.isMutating()` set. The VM is in read-only mode when a private contract calls a public contract.
2019-08-12 10:14:23 -04:00
vsmk98 2e63f9c9e8 Merge remote-tracking branch 'remotes/upstream/master' into feature/permissioning-1.8.18-suborgs-docs
# Conflicts:
#	cmd/geth/consolecmd_test.go
#	core/vm/evm.go
#	docs/Getting Started/Getting-Started-From-Scratch.md
#	docs/Permissioning/Framework/Quorum Network Security/Nodes/Permissioning/Network Permissioning.md
#	docs/Permissioning/Old Permissioning.md
#	docs/README.md
#	docs/Security/Security & Permissioning.md
#	mkdocs.yml
2019-08-06 11:48:12 +08:00
Brajesh Awasthi baa7efcf3d max code size option in genesis config (#786) 2019-08-02 15:53:15 -04:00
vsmk98 b966118614 permissions: added blacklisted account recovery and approval. 2019-08-02 10:28:20 +08:00
vsmk98 b74fc4d0c2 permissions: added functions for blacklisted node recovery. 2019-08-01 11:10:50 +08:00
vsmk98 21780cf12f permission: added safemath checks for map index access. updated documentation. Added event for network boot status update 2019-07-30 16:56:44 +08:00
Christian Muehlhaeuser acb00b6cf1 Fixed typos (#781)
Typo fixes.
2019-07-25 15:31:38 -04:00
libby kent e0564f7b41 Adding QuorumPrivateTxSigner for signing and recovering private txs. (#767)
Refactor private transaction signing and add a QuorumPrivateTxSigner for signing and recovering private txs.
2019-07-11 13:32:19 -04:00
amalraj.manigmail.com 6d8f451f45 Merge remote-tracking branch 'remotes/quoeng/feature/permissioning-1.8.18-suborgs-docs' into permissioning-suborgs-review
# Conflicts:
#	cmd/geth/main.go
#	controls/bind/permission/permission_impl.go
#	controls/bind/permission/permission_interface.go
#	controls/bind/permission/permission_upgr.go
#	core/types/permissions_cache.go
#	docs/README.md
#	docs/permissions.md
#	eth/backend.go
#	internal/ethapi/api.go
#	permission/api.go
#	permission/bind/implementation.go
#	permission/bind/interface.go
#	permission/bind/permission_impl.go
#	permission/bind/permission_interface.go
#	permission/bind/permission_upgr.go
#	permission/bind/upgradable.go
#	permission/contract/OrgManager.sol
#	permission/contract/PermissionsInterface.sol
#	permission/contract/PermissionsUpgradable.sol
#	permission/contract/abi/OrgManager.abi
#	permission/contract/abi/PermissionsImplementation.abi
#	permission/contract/abi/PermissionsInterface.abi
#	permission/permission.go
2019-07-08 18:57:26 +08:00
Trung Nguyen 74337c7167
added unit tests and comments 2019-06-13 13:41:28 -04:00
Trung Nguyen bacd5dc3c9
non-party must refund gas for private transactions 2019-06-12 17:09:49 -04:00
vsmk98 44089d1be6 permission: Standardising the rpc response object in line with JSON RPC response struct as per review comments 2019-06-03 11:54:13 +08:00
vsmk98 bc91ea034b permission: Code changes as per review comments 2019-05-31 14:29:09 +08:00
vsmk98 b6f4529629 permission: Code changes as per review comments 2019-05-31 14:25:56 +08:00
libby kent d1475ee296 Adding signer tests for EIP155, Homestead and private tx. (#682)
Adding signer tests for EIP155, Homestead and private tx.
2019-05-24 15:46:49 -04:00
vsmk98 57c7b2c37b permission: added check to ensure that network admin org cannot be deactivated 2019-05-22 18:34:59 +08:00
Trung Nguyen bc204f148d
run goimports 2019-05-20 11:23:12 -04:00
vsmk98 dff3a833af permission: refactored executePermAction function 2019-05-18 08:00:00 +08:00
vsmk98 0cd8c89018 permission: code clean up based on review comments 2019-05-17 16:12:53 +08:00
vsmk98 045d936369 permission: Code and documentation clean up 2019-05-15 17:12:11 +08:00
amalraj.manigmail.com 32e5f8e581 params: customize max code size for quorum 2019-05-15 15:10:20 +08:00
amalraj.manigmail.com c5a9a01cad permission: fix unit test 2019-05-15 11:35:14 +08:00
vsmk98 b4756e56d3 permission: Reverted privateAbigen related changes as separate PR is there for this 2019-05-15 11:12:18 +08:00
vsmk98 cbad8d7b5d permissions: code clean up based on review comments 2019-05-13 15:29:47 +08:00
vsmk98 c9ab7e62df permissions: split assignAccountRole api into addAccountToOrg and changeAccountRole 2019-05-13 14:34:37 +08:00
vsmk98 3994997a73 permissions: big fixes and code clean up based on review comments 2019-05-13 14:15:09 +08:00
vsmk98 927f789c1e permissions: fixed update org status failing for invalid orgs 2019-05-10 21:56:28 +08:00
vsmk98 26279ea288 permissions: fix to correct account access when the org is suspended 2019-05-10 21:53:35 +08:00
vsmk98 ad2abca93a permissions: code comments update 2019-05-10 15:17:01 +08:00
vsmk98 6b66f7e27d permissions: Code clean up. 2019-05-09 11:07:54 +08:00
amalraj.manigmail.com aeb6720274 permission: remove unused code related to org key 2019-05-08 23:06:17 +08:00
amalraj.manigmail.com 6e7f3959e3 permission: update start and initialize service methods
code clean up - remove unused code related to org key
2019-05-08 22:55:03 +08:00
amalraj.manigmail.com 0ce58c23c3 Merge remote-tracking branch 'remotes/origin/master' into feature/permissioning-1.8.18-suborgs
# Conflicts:
#	docs/README.md
2019-05-08 18:13:51 +08:00
vsmk98 be2331b226 permissions: documentation update and bug fixes 2019-05-08 18:01:30 +08:00
amalraj.manigmail.com 7e4b3ff310 permission: implement permission as standard service of the node 2019-05-08 14:07:23 +08:00
vsmk98 9d844b9dbf permissions: added checks to ensure that a role cannot be removed when active accounts are linked to it. 2019-05-08 11:30:06 +08:00
vsmk98 8e57f36013 permissions: added validation to ensure the updateOrgStatus is called only on the master org and not for sub orgs 2019-05-07 16:23:17 +08:00
vsmk98 e3bdff5f6f permissions: corrected the org id validation for adding a new org 2019-05-07 14:41:09 +08:00
vsmk98 37f3581192 permissions: validation to check account status for accounts linked to admin roles 2019-05-06 18:37:35 +08:00
vsmk98 385a2334d8 permissions: Changes for the following:
1. added hack to check block syncing before starting permissions api
2. reduced the default gas limit
2019-04-30 18:28:09 +08:00
vsmk98 34565b5252 permissions: Changes for the following:
1. Enabling allow a role to marked as admin role
2. managing error handling
2019-04-26 16:35:51 +08:00
vsmk98 78dbedb254 permissions: Changes for the following:
1. Enabling change of org admin
2. Enabling adding a new or existing account as network admin
3. related changes transaction permissions
2019-04-24 14:40:28 +08:00
vsmk98 2e9e2781f6 permissions: fixed the following 2 issues
1. update of permissioned-nodes.json was happening when the new org was proposed. Changed it to update only when the node is approved
2. corrected error message in api.go
2019-04-18 15:05:02 +08:00