-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1285 cust auth dev #1
base: 1285-cust-auth
Are you sure you want to change the base?
Conversation
…q an not eq restriction.
…y work with template argument.
Sure. It is left to:
Will require review:
Everything else is done. |
I have recently done something similar for another project:
Excellent news. I'll look for someone to do the review. |
I've pushed changes for attribute_assert. Please review. Changes are in the restrictions* files. Also I've pushed fix for authority validation (authority which is contained in the custom_authority). Also I've removed restriction.hpp and restriction.cpp files with old implementation of restrictions. Today I plan to do couple of small fixes: I've found issue in API and I'll add couple of tests. |
Awesome! Please ping when a new holistic review can be done |
@sschiessl-bcp @xeroc @abitmore |
I haven't review the code yet, just comment here to confirm one thing: custom authority should be checked first, if nothing matches (but not only when "absent"), need to check normal authority. |
|
I'll check. I think I'll need to fix this case. Thank you @abitmore Will update it in couple of hours. But this is small change you still can review feature. UPD: updated it. Added tests for such case. Updated validation logic a little (transaction.cpp). |
…ck of active authority.
CMake fails to parse because |
Fixed it. @nathanhourt |
@nathanhourt Are you taking the lead in project managing this feature? There's some mileage already done and we'd rather sprint to the finish line! |
add unit tests for get_signed_transaction_signers, get_key_references
I’ve implemented eq, not eq, any, none, contains* restrictions.
Also I’ve added some base logic for authorities validation.
That logic is not integrated into transaction validating. I’m going to implement it in the beginning of the next week.
Also I’m going to improve various type support as arguments for restrictions. Now only several types are supported.