Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(repo): add fork-diff package and clean up readme #13738

Merged
merged 5 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading