Comments (2)
We need to define the rule for the boundaries between a Keeper and a Handler (not for PKI module only).
I think the rule can be the following:
- A Handler's method should consist of two parts:
- validation (can call Keeper if needed)
- call one (and only one) Keeper's method to store the entity in the State
- A Keeper's method for storing entities must make it in an "atomic" way so that it
- stores the main entity in the state
- create or update additional entities or indices
from distributed-compliance-ledger.
#157
Keeprs contain methods to work with one key only.
Handlers (Msg Servers) contain business logic to potentially work with multiple keys.
from distributed-compliance-ledger.
Related Issues (20)
- PKI revocation: Debug 2 HOT 2
- Unable to write to https://testnet.iotledger.io/ HOT 4
- DA PKI Revocation of non-VID-scoped PAA by Vendor Admin HOT 1
- How to write to the Ledger HOT 2
- Add a VID field for non-VID scoped PAAs (Root certificates)
- A transaction for assigning a VID to non-VID scoped PAAs (root certificates)
- DA PKI Revocation of non-VID scoped PAAs by Vendor
- Introduce Vendor Root Account HOT 1
- PKI Revocation: Add validation for DataUrl uniqueness
- PKI Revocation: Debug 1
- Getting Account testnet HOT 2
- Run local pool docker error
- PKI Revocation: extend REST/gRPC tests
- Improve tests and cleanup for PKI RevocationDistributionPoints
- Augment DCL schemas with SchemaVersion field HOT 1
- DCL panic and crash with invalid block in MainNet HOT 3
- how to getting account in testnet HOT 3
- Unit tests refactoring for all modules
- Auto-increment dcld version in upgrade tests with new releases HOT 2
- Full sync from Genesis cosmovisor error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distributed-compliance-ledger.