-
Notifications
You must be signed in to change notification settings - Fork 724
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
Allow extended payment keys to be specified as a Plutus required signer. #3319
Allow extended payment keys to be specified as a Plutus required signer. #3319
Conversation
Tested on Used this policy to test with (confirmed that key hash redeemer is required in transaction) mkPolicy :: PubKeyHash -> ScriptContext -> Bool
mkPolicy pkh ctx = traceIfFalse "not signed by redeemer pubkeyhash" checkWitness
where
info :: TxInfo
info = scriptContextTxInfo ctx
checkWitness :: Bool
checkWitness = txSignedBy info pkh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Hi @Jimbo4350, my team and I discovered this restriction while trying to implement the vesting contract (from plutus-use-cases) via cardano-cli....as a quick hack I have made the following modifications : https://github.com/smart-chain-fr/cardano-node/pull/1/commits/3fd17aa7b285492b3f270c78f7b5a19174295d02 .I have seen you are casting into |
bors r+ |
There are no consequences from doing this as the public keys corresponding to |
Build succeeded: |
No description provided.