Skip to content

Commit

Permalink
Fix broken images (#681)
Browse files Browse the repository at this point in the history
move things around and fix all image paths
  • Loading branch information
wirednkod authored Jul 5, 2023
1 parent 4f5847a commit 44833f1
Show file tree
Hide file tree
Showing 21 changed files with 117 additions and 117 deletions.
2 changes: 1 addition & 1 deletion syllabus/3-Blockchain/1-Overview_of_Blockchains_slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ No individual actor, company, state, or coalition should be able to degrade any

## A Shared History

<img style="height: 500px;" src="img/sapiens.jpg" />
<img style="height: 500px;" src="./img/sapiens.jpg" />

Notes:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An introduction to the ink! workshop.
duration: 20 min
---

<img rounded style="width: 1200px; padding-top:15px;" src="img/ink/beginners-workshop.jpg" alt="ink!" />
<img rounded style="width: 1200px; padding-top:15px;" src="../img/ink/beginners-workshop.jpg" alt="ink!" />

---

Expand All @@ -31,7 +31,7 @@ duration: 20 min

---

<img rounded style="margin-top: 25px; width: 1200px;" src="img/ink/beamer.png" />
<img rounded style="margin-top: 25px; width: 1200px;" src="../img/ink/beamer.png" />

---

Expand Down Expand Up @@ -79,7 +79,7 @@ duration: 20 min

## How the Game looks

<img rounded src="img/ink/splash-2.png" />
<img rounded src="../img/ink/splash-2.png" />

Notes:

Expand All @@ -89,13 +89,13 @@ Notes:

## How the Game looks

<img rounded src="img/ink/splash-9.png" />
<img rounded src="../img//ink/splash-9.png" />

---

## How the Game looks

<img rounded src="img/ink/splash-10.png" />
<img rounded src="../img//ink/splash-10.png" />

---

Expand Down Expand Up @@ -147,25 +147,25 @@ mod player {

## How to play

<img rounded src="img/ink/github.png" />
<img rounded src="../img/ink/github.png" />

---

## How to play

<img rounded src="img/ink/github1.png" />
<img rounded src="../img/ink/github1.png" />

---

## How to play

<img rounded src="img/ink/github2.png" />
<img rounded src="../img/ink/github2.png" />

---

## How to play

<img rounded src="img/ink/github3.png" />
<img rounded src="../img/ink/github3.png" />

---

Expand Down Expand Up @@ -251,4 +251,4 @@ mod player {

---

<!-- .slide: data-background="img/ink/Questions_2.svg"" -->
<!-- .slide: data-background="../img/ink/Questions_2.svg"" -->
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An continuation of the ink! workshop.
duration: 20 min
---

<img rounded style="width: 1400px; padding-top:15px;" src="img/ink/advanced-workshop.jpg" alt="ink!" />
<img rounded style="width: 1400px; padding-top:15px;" src="../img/ink/advanced-workshop.jpg" alt="ink!" />

---

Expand Down Expand Up @@ -94,7 +94,7 @@ pub fn dimensions(&self) -> (u32, u32)

## More Pitfalls

<img rounded style="margin-top: 25px; width: 400px;" src="img/ink/oopsie.gif" />
<img rounded style="margin-top: 25px; width: 400px;" src="../img/ink/oopsie.gif" />

- Forgetting `--release`

Expand Down Expand Up @@ -142,7 +142,7 @@ fn pay_winner(

## Strategy 1<br/>Return Random Numbers

<img rounded style="margin-top: 25px; width: 500px;" src="img/ink/0.png" />
<img rounded style="margin-top: 25px; width: 500px;" src="../img/ink/0.png" />

---

Expand All @@ -163,7 +163,7 @@ fn pay_winner(

## Strategy 2<br/>Paint only free fields

<img rounded style="margin-top: 25px; width: 500px;" src="img/ink/1.png" />
<img rounded style="margin-top: 25px; width: 500px;" src="../img/ink/1.png" />

---

Expand All @@ -183,7 +183,7 @@ fn pay_winner(

## Strategy 3<br/>Shift computation off-chain

<img rounded style="margin-top: 25px; width: 500px;" src="img/ink/2.png" />
<img rounded style="margin-top: 25px; width: 500px;" src="../img/ink/2.png" />

---

Expand All @@ -210,7 +210,7 @@ fn pay_winner(

## Strategy 4<br/>Exploit player sorting in game loop

<img rounded style="margin-top: 25px; width: 500px;" src="img/ink/3.png" />
<img rounded style="margin-top: 25px; width: 500px;" src="../img/ink/3.png" />

---

Expand Down Expand Up @@ -268,8 +268,8 @@ impl<T: Config> AddressGenerator<T> for DefaultAddressGenerator {

## Strategy 5<br/>Checking these slides already yesterday

<img rounded style="margin-top: 25px; width: 500px;" src="img/ink/4.png" />
<img rounded style="margin-top: 25px; width: 500px;" src="../img/ink/4.png" />

---

<!-- .slide: data-background="img/ink/Questions_2.svg"" -->
<!-- .slide: data-background="../img/ink/Questions_2.svg"" -->
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Substrate provides different Smart Contracts' options.
- Pallet Contracts - Wasm execution environment
- Frontier - EVM execution environment

<img rounded style="width: 600px; margin-top:-7f0px;" src="img/frontier/contracts-runtime.png" alt="Contracts runtime" />
<img rounded style="width: 600px; margin-top:-7f0px;" src="../img/frontier/contracts-runtime.png" alt="Contracts runtime" />

Notes:

Expand All @@ -72,8 +72,8 @@ Smart contracts on [Frontier](https://github.com/paritytech/frontier) can be imp
<br/>

<div class="right">
<img rounded style="width: 200px; margin-right: 70px" src="img/frontier/solidity.png" alt="Solidity Logo" />
<img rounded style="width: 200px;" src="img/frontier/vyper.png" alt="Solidity Logo" />
<img rounded style="width: 200px; margin-right: 70px" src="../img/frontier/solidity.png" alt="Solidity Logo" />
<img rounded style="width: 200px;" src="../img/frontier/vyper.png" alt="Solidity Logo" />
</div>

<pba-flex center>
Expand All @@ -97,7 +97,7 @@ Frontier aims to provide a low-friction and secure environment for the developme
Frontier provides an Ethereum compatibility layer for Substrate.<br/>
It has two components that can be activated separately.

<img rounded style="width: 600px;" src="img/frontier/Frontier.png" alt="Frontier Logo" />
<img rounded style="width: 600px;" src="../img/frontier/Frontier.png" alt="Frontier Logo" />

Notes:

Expand Down Expand Up @@ -315,7 +315,7 @@ impl pallet_evm::Config for Runtime {
</pba-col>
<pba-col>

<img rounded style="width: 800px;" src="img/frontier/EVM-accounts.png" alt="JS-Events" />
<img rounded style="width: 800px;" src="../img/frontier/EVM-accounts.png" alt="JS-Events" />

</pba-col>
</pba-cols>
Expand All @@ -338,7 +338,7 @@ So for example, through normal ways, you cannot sign an EVM transaction with a n

## Pallet EVM - AddressMapping

<img rounded style="width: 600px;" src="img/frontier/Polkadot-JS-EVM-Events.png" alt="JS-Events" />
<img rounded style="width: 600px;" src="../img/frontier/Polkadot-JS-EVM-Events.png" alt="JS-Events" />

Notes:

Expand Down Expand Up @@ -689,7 +689,7 @@ _Substrate Implementation_

---

<img style="width: 400px;" src="../../assets/img/0-Shared/logo/webassembly-blue.png" />
<img style="width: 400px;" src="../../../assets/img/0-Shared/logo/webassembly-blue.png" />

- Stack-based virtual machine.
- Compilation of high-level languages like C/C++ and Rust.
Expand All @@ -713,7 +713,7 @@ A program can call functions directly or indirectly through a function table.

## Stack-based Virtual Machine

<img rounded style="width: 1000px;" src="img/wasm/Stack_1.png" />
<img rounded style="width: 1000px;" src="../img/wasm/Stack_1.png" />

We want to add 2 numbers.

Expand All @@ -727,7 +727,7 @@ Let’s see it step by step:

## Stack-based Virtual Machine

<img rounded style="width: 1000px;" src="img/wasm/Stack_2.png" />
<img rounded style="width: 1000px;" src="../img/wasm/Stack_2.png" />

I) We start by pushing the first element to the stack.

Expand All @@ -741,7 +741,7 @@ Let’s now execute the first instruction:

## Stack-based Virtual Machine

<img rounded style="width: 1000px;" src="img/wasm/Stack_3.png" />
<img rounded style="width: 1000px;" src="../img/wasm/Stack_3.png" />

II) We push the second element to the stack.

Expand All @@ -754,7 +754,7 @@ Let’s now simulate the second instruction:

## Stack-based Virtual Machine

<img rounded style="width: 1000px;" src="img/wasm/Stack_4.png" />
<img rounded style="width: 1000px;" src="../img/wasm/Stack_4.png" />

III) Finally we can execute the add instruction.

Expand Down Expand Up @@ -841,7 +841,7 @@ Unicode, specifically U8 = 2 byte characters.

#### Wasm Architecture

<img rounded style="width: 1400px;" src="img/wasm/WebAssembly-high-level-architecture.png" />
<img rounded style="width: 1400px;" src="../img/wasm/WebAssembly-high-level-architecture.png" />

Notes:

Expand All @@ -858,7 +858,7 @@ A trap occurs if an access is not within the bounds of the current memory size.

<!-- .slide: data-background-color="#4A2439" -->

<img rounded style="width: 300px" src="img/ink/question-mark.svg" />
<img rounded style="width: 300px" src="../img/ink/question-mark.svg" />

---

Expand Down
Loading

0 comments on commit 44833f1

Please sign in to comment.