-
Notifications
You must be signed in to change notification settings - Fork 84
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
Enforce (on-chain) that Hydra transitions are authenticated by participants #292
Commits on Mar 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a117def - Browse repository at this point
Copy the full SHA a117defView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc1f759 - Browse repository at this point
Copy the full SHA cc1f759View commit details -
Configuration menu - View commit details
-
Copy full SHA for 239f0bc - Browse repository at this point
Copy the full SHA 239f0bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b1e47c - Browse repository at this point
Copy the full SHA 0b1e47cView commit details -
Extract 'signWith' from TinyWallet and use it to authenticate Collect…
…com with party's credentials.
Configuration menu - View commit details
-
Copy full SHA for a5cc71d - Browse repository at this point
Copy the full SHA a5cc71dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e1572 - Browse repository at this point
Copy the full SHA 99e1572View commit details -
Configuration menu - View commit details
-
Copy full SHA for d86f5c5 - Browse repository at this point
Copy the full SHA d86f5c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcc3f46 - Browse repository at this point
Copy the full SHA bcc3f46View commit details -
Add signers to the health abort transaction
Moved some logic around to make it possible.
Configuration menu - View commit details
-
Copy full SHA for b797019 - Browse repository at this point
Copy the full SHA b797019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 598727a - Browse repository at this point
Copy the full SHA 598727aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8954ed5 - Browse repository at this point
Copy the full SHA 8954ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6e2cef - Browse repository at this point
Copy the full SHA e6e2cefView commit details -
Fix finding Head currency symbol.
The initial version of the function was fine for pre-CollectCom transitions, but after the collect-com has happened, PTs are all aggregated under one policy and thus, there may be many assets locked by the head script.
Configuration menu - View commit details
-
Copy full SHA for 20c3f35 - Browse repository at this point
Copy the full SHA 20c3f35View commit details -
Provide required signers when constructing Hydra on-chain transactions.
The rationale for doing this is double: (a) So far, we've been deferring signing up to inside the wallet and, requiring signature to happen on the transaction templates from Direct.Tx breaks a bit this abstraction. Moreso, we initially went that way because we thought that signing a transaction would result in the signatories being available on-chain in the Plutus context. Turns out that only explicitly specified signatories (in requiredSigners) end up in the Plutus context after all. (b) The 'State' abstraction we use internally is already tailored to one party and hold its 'ownVerificationKey'. So the Cardano signer key is already readily available and it is therefore much easier to provide it along the way. As a nice benefits, it makes it also clear from the signature of the low-level Direct.Tx functions that they now require to be explictly signed by a party.
Configuration menu - View commit details
-
Copy full SHA for 4663032 - Browse repository at this point
Copy the full SHA 4663032View commit details -
Actually sign transaction AFTER modifying its body content
😬 ... now that're changing the 'requiredSigners', we need to make sure to sign the modified body, otherwise, we produce an invalid witness.
Configuration menu - View commit details
-
Copy full SHA for 45da91e - Browse repository at this point
Copy the full SHA 45da91eView commit details -
Revert adding required signers during 'signWith'
This is in fact no longer needed and had become error-prone. Now that the Direct.Tx primitives take care of adding the required signer, there's no need to fiddle with the tx body during signing anymore.
Configuration menu - View commit details
-
Copy full SHA for 73c22e5 - Browse repository at this point
Copy the full SHA 73c22e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 663249a - Browse repository at this point
Copy the full SHA 663249aView commit details -
Simplify Cardano cluster integration test #284
* Rename file to match what we are testing, eg. CardanoCluster and not LocalCluster * remove failing assertion that's not relevant anymore: This used to test we could construct basic Hydra transactions "by hand" but it's getting more complicated and pretty much useless as it's thoroughly tested elsewhere
Configuration menu - View commit details
-
Copy full SHA for afea828 - Browse repository at this point
Copy the full SHA afea828View commit details