-
Notifications
You must be signed in to change notification settings - Fork 20
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
KIP 0028: Pact Verifier Plugins #57
Conversation
Excellent initial exposition, @edmundnoble, you've made the intent of the proposal very clear. |
Suggestion : The REPL simulation function Question 1: Is a managed cap automatically installed by a verfier (like it is with a signature) ? Question 2: Does the magic triggered by GAS_PAYER cap works with verifier ? I mean, can we trigger a gas station from a verifier ? Question 3: Do you plan to create a new type a guard that automatically enforce a verifier ? (similar to a keyset guard) Question 4: Do you plan to add some doc for the verifiers (at least one short paragraph ) ? btw: it may answer to my question 1. |
@CryptoPascal31 thanks for the questions!
Good idea, I'll add that. Edit: done.
Yes.
Not initially. This is mentioned in the KIP: "A verifier may charge gas after gas is bought and before any transaction code is run. Because of this, currently, a verifier cannot grant the
No plans to do this at the moment. I would recommend using a capability guard for this.
What exactly are you asking about documenting? The Pact code, chainweb code, this KIP, or something else? Or is there a particular workflow you're asking about documenting? |
20223bc
to
95d24b0
Compare
Thank you for your answers @edmundnoble
In fact, I was especially thinking about this: I was wondering whether the "Allow" verifier could be an elegant solution for the suggestion I raised. Currently, a GAS_PAYER triggered gas station is not related to the signature, as it may not be related not to a verifier attestation. I know, I'm not clear..
I mean in the official Pact doc: There is a lot about caps, signatures, managed caps... I think the concept of verifiers should be explained here. IMHO: new users are not supposed to know that the documentation is spread between the official doc and the KIPs.. I mean, users are not supposed to search into the KIP repository to understand the concept of a verifier. |
Thanks Pascal, I've submitted a document update request (kadena-community/kadena.js#1661), we'll have an update in the official docs page soonish, ideally by the release. Word from the Pact team is that we're trying to phase out the readthedocs website in favor of https://docs.kadena.io. Re: |
df8be21
to
69f7f55
Compare
69f7f55
to
71f16ab
Compare
@edmundnoble I believe we can resolve the conversations and merge this proposal. |
@Randynamic I need one more approval and then it's mergeable. |
This is a proposal to add Verifier Plugins to Pact as a way to add new cryptography to Pact and integrate it with the capability paradigm. Implementation is at kadena-io/chainweb-node#1777 and kadena-io/pact#1324.