Last active
January 3, 2020 19:03
-
-
Save gnidan/53a4594ad1970f49a374c5e809dd70b4 to your computer and use it in GitHub Desktop.
Eth2 / Truffle Sketching
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
actor User | |
participant TestingFramework | |
User -> TestingFramework : begin test | |
activate TestingFramework | |
create control EE | |
TestingFramework -> EE : load EE | |
EE --> TestingFramework : OK | |
TestingFramework --\ ProofBackend : record state transition | |
TestingFramework -> EE : deploy smart contract | |
activate EE | |
create control SmartContract | |
EE -> SmartContract : deploy | |
SmartContract --> EE : OK | |
EE --> TestingFramework : OK | |
deactivate EE | |
TestingFramework --\ ProofBackend : record state transition | |
TestingFramework -> EE : send transaction | |
activate EE | |
EE -> SmartContract : run code | |
activate SmartContract | |
SmartContract --> EE : OK (incl. updated key/values) | |
deactivate SmartContract | |
EE --> TestingFramework : OK | |
deactivate EE | |
TestingFramework --\ ProofBackend : record state transition | |
participant ProofBackend | |
participant MemoryMap | |
database DBProxy | |
TestingFramework --> User : OK | |
deactivate TestingFramework | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit online at: https://www.planttext.com/
Syntax here: https://plantuml.com/sequence-diagram