I'm re-watching the Plutus Pioneer Program and in the video #2 I don't exactly get it here: https://youtu.be/E5KRk5y9KjQ?t=1782
There's the same contract code used by Wallet1 and Wallet2. Each of them submits a transaction calling
give() and both of them land in the same block. Both script hashes are identical, well, because the validators are so. (And I understand that script hash is actually a hash of the deployed validator).
How is/are the validator deployed to the blockchain in that scenario?
- Does each of the wallets deploy their own copy?
- If so, wouldn't the hash clash become a problem?
- If both deploy a copy, when Wallet3 refers to the same contract, by calling
grab(), which of the validators is being run? Both?