Skip to content

Commit

Permalink
style(p2p/proxy_workshop): fix readme style errors again
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Leclerc committed Aug 6, 2024
1 parent d3b2bf4 commit 395b0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/6.Create_a_proxy/help/fallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fallback() external payable {
}
```

### Let's break down the fallback function line by line:
## Let's break down the fallback function line by line:

1. `(bool success, bytes memory returnData) = implementation.delegatecall(msg.data);`
- This line calls the `delegatecall` function on the `implementation` contract with the `msg.data` that was sent to the proxy. The `delegatecall` function executes the code of the `implementation` contract in the context of the proxy contract. The `success` variable will be `true` if the `delegatecall` was successful, and the `returnData` variable will contain the return data from the `delegatecall`.
Expand Down

0 comments on commit 395b0a2

Please sign in to comment.