Skip to content

Commit

Permalink
feat(repo): add fork-diff package and clean up readme (#13738)
Browse files Browse the repository at this point in the history
Co-authored-by: Roger <50648015+RogerLamTd@users.noreply.github.com>
  • Loading branch information
d1onys1us and RogerLamTd committed May 11, 2023
1 parent ec5349a commit e4f533d
Show file tree
Hide file tree
Showing 5 changed files with 7,098 additions and 11 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>

<h1 align="center">
TAIKO
Taiko
</h1>

<p align="center">
Expand All @@ -27,7 +27,7 @@

## Documentation

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.
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.

## Project structure

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

Expand Down
15 changes: 15 additions & 0 deletions packages/fork-diff/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Overview

This package contains:

- 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).
- The `fork.yaml` configuration which is used by [forkdiff](https://github.com/protolambda/forkdiff) to generate the `index.html`.

## Steps to update the fork diff page

To update the `index.html` (which shows the diff):

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.
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.
3. From the root of the forkdiff repo, run `go run main.go -repo ../taiko-geth/ -upstream-repo ../go-ethereum/`.
4. Copy the output `index.html` to this package and commit it.

0 comments on commit e4f533d

Please sign in to comment.