Skip to content

Commit

Permalink
doc: update stateless call diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-melnychuk committed Oct 23, 2024
1 parent b24bd43 commit e233e0c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions doc/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,20 @@ Blockifier->>Blockifier: Create Starknet client
Blockifier->>Blockifier: Create State reader & write
loop Stateless Execution
Blockifier->>State Reader: State Request
State Reader->>(Starknet RPC): Query State
(Starknet RPC)->>State Reader: State Result
State Reader->>(Starknet RPC): Query State Proof
(Starknet RPC)->>State Reader: State Proof
State Reader->>State Reader: Verify State Proof
State Reader->>(Starknet RPC): starknet_getStorageAt
(Starknet RPC)->>State Reader: storage result
State Reader->>(Starknet RPC): pathfinder_getProof
(Starknet RPC)->>State Reader: merkle proof
State Reader->>State Reader: verify merkle proof
State Reader->>Blockifier: State Result
end
(RPC Server)->>Beerus: starknet_getStorageAt
Beerus->>(Starknet RPC): pathfinder_getProof
(Starknet RPC)->>Beerus: merkle proof
Beerus->>Beerus: verify merkle proof
Beerus->>(RPC Server): storage result
Note right of (RPC Server): Other methods are proxied
(RPC Server)->>Beerus: starknet_*
Beerus->>(Starknet RPC): (proxy the request)
Expand Down

0 comments on commit e233e0c

Please sign in to comment.