Skip to content

Commit e4f533d

Browse files
feat(repo): add fork-diff package and clean up readme (taikoxyz#13738)
Co-authored-by: Roger <[email protected]>
1 parent ec5349a commit e4f533d

File tree

5 files changed

+7098
-11
lines changed

5 files changed

+7098
-11
lines changed

β€ŽREADME.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
<h1 align="center">
6-
TAIKO
6+
Taiko
77
</h1>
88

99
<p align="center">
@@ -27,7 +27,7 @@
2727

2828
## Documentation
2929

30-
Most documentation can be found on the website, at [taiko.xyz](https://taiko.xyz). There should also be a README in each package, as well as comments in the source code.
30+
Documentation can be found on the website at [taiko.xyz](https://taiko.xyz). There is also a README in each package, as well as comments in the source code.
3131

3232
## Project structure
3333

@@ -38,15 +38,17 @@ taiko-mono/
3838
β”œβ”€β”€ <a href="./LICENSE.md">LICENSE.md</a>
3939
β”œβ”€β”€ <a href="./README.md">README.md</a>
4040
β”œβ”€β”€ <a href="./packages">packages</a>
41-
β”‚ β”œβ”€β”€ <a href="./packages/branding">branding</a>: Taiko branding materials
42-
β”‚ β”œβ”€β”€ <a href="./packages/bridge-ui">bridge-ui</a>: Taiko bridge frontend UI. 🚧 In maintenance 🚧
43-
β”‚ β”œβ”€β”€ <a href="./packages/eventindexer">eventindexer</a>: Event indexer
44-
β”‚ β”œβ”€β”€ <a href="./packages/protocol">protocol</a>: Taiko protocol and bridge smart contracts
45-
β”‚ β”œβ”€β”€ <a href="./packages/relayer">relayer</a>: Bridge backend relayer in Go
46-
β”‚ β”œβ”€β”€ <a href="./packages/starter-dapp">starter-dapp</a>: Template for Taiko dapps
47-
β”‚ β”œβ”€β”€ <a href="./packages/status-page">status-page</a>: Taiko protocol status page
48-
β”‚ β”œβ”€β”€ <a href="./packages/website">website</a>: Main documentation website at taiko.xyz (https://taiko.xyz/)
49-
β”‚ └── <a href="./packages/whitepaper">whitepaper</a>: Whitepaper source files with automated publishing
41+
β”‚ β”œβ”€β”€ <a href="./packages/branding">branding</a>: Taiko branding materials.
42+
β”‚ β”œβ”€β”€ <a href="./packages/bridge-ui">bridge-ui</a>: Taiko bridge frontend UI.
43+
β”‚ β”œβ”€β”€ <a href="./packages/eventindexer">eventindexer</a>: Event indexer.
44+
β”‚ β”œβ”€β”€ <a href="./packages/fork-diff">fork-diff</a>: Fork diff page (currently, for geth).
45+
β”‚ β”œβ”€β”€ <a href="./packages/protocol">protocol</a>: Taiko protocol and bridge smart contracts.
46+
β”‚ β”œβ”€β”€ <a href="./packages/relayer">relayer</a>: Bridge backend relayer in Go.
47+
β”‚ β”œβ”€β”€ <a href="./packages/starter-dapp">starter-dapp</a>: Template for Taiko dapps.
48+
β”‚ β”œβ”€β”€ <a href="./packages/status-page">status-page</a>: Taiko protocol status page.
49+
β”‚ β”œβ”€β”€ <a href="./packages/tokenomics">tokenomics</a>: Taiko tokenomics simulations.
50+
β”‚ β”œβ”€β”€ <a href="./packages/website">website</a>: Main documentation website at [taiko.xyz](https://taiko.xyz/).
51+
β”‚ └── <a href="./packages/whitepaper">whitepaper</a>: Whitepaper source files with automated publishing.
5052
...
5153
</pre>
5254

β€Žpackages/fork-diff/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Overview
2+
3+
This package contains:
4+
5+
- An `index.html` which shows the diff between [taiko-geth](https://github.com/taikoxyz/taiko-geth) and [go-ethereum](https://github.com/ethereum/go-ethereum).
6+
- The `fork.yaml` configuration which is used by [forkdiff](https://github.com/protolambda/forkdiff) to generate the `index.html`.
7+
8+
## Steps to update the fork diff page
9+
10+
To update the `index.html` (which shows the diff):
11+
12+
1. Clone [forkdiff](https://github.com/protolambda/forkdiff), [taiko-geth](https://github.com/taikoxyz/taiko-geth), and [go-ethereum](https://github.com/ethereum/go-ethereum) into the same working directory.
13+
2. Make any of the desired updates to `fork.yaml` and then copy `fork.yaml` from this package to the root of the forkdiff repo.
14+
3. From the root of the forkdiff repo, run `go run main.go -repo ../taiko-geth/ -upstream-repo ../go-ethereum/`.
15+
4. Copy the output `index.html` to this package and commit it.

0 commit comments

Comments
Β (0)