Skip to content

Conversation

@quantumagi
Copy link
Contributor

@quantumagi quantumagi commented Mar 30, 2021

Note that this approach requires additional permission management for initiators. The code is substantially lengthier when compare to #490.

Example Authorization:

- Submitter calls the "UpdateWhiteList" method on the "Dictionary" contract. The request is recorded and an identifier returned:
  - E.g. "WhiteListUpdate(CodeHash:123,Whitelisted:true,Nonce:0)"
- Each signatory calls an "ApproveWhiteListUpdate" method with the identifier returned by the "UpdateWhiteList" method.
- Once the required approvals had been presented the "WhiteListUpdate" action is performed.
  (The process can be cancelled at any time by the original submitter using the "CancelWhiteListUpdate" method.)
- The contract is now successfully white-listed and can now be deployed.
- Following contract deployment a contract address will be available. 
- This process is repeated, using the "UpdateDictionary" method to associate a name (e.g. "Multisig") with the contract address.
- Now all nodes that rely on the information from the "Multisig" contract will be able to locate the new contract.

@quantumagi quantumagi changed the title System Dictionary (Candidate 1) [Infra] System Dictionary (Candidate 1) Mar 30, 2021
@quantumagi quantumagi changed the title [Infra] System Dictionary (Candidate 1) [Infra] System Contract Dictionary (Candidate 1) Mar 30, 2021
@quantumagi
Copy link
Contributor Author

Closed due to lack of interest in this alterntive.

@quantumagi quantumagi closed this Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant