forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from hemilabs/clayton/ensure-return
HVM Phase 0
- Loading branch information
Showing
90 changed files
with
14,482 additions
and
13,569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Copyright (c) 2024 Hemi Labs, Inc. | ||
# Use of this source code is governed by the MIT License, | ||
# which can be found in the LICENSE file. | ||
|
||
# Bitcoin Finality Governor (BFG) | ||
'area: bfg': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "api/bfgapi/**" | ||
- "cmd/bfgd/**" | ||
- "database/bfgd/**" | ||
- "docker/bfgd/**" | ||
- "service/bfg/**" | ||
|
||
# Bitcoin Secure Sequencer (BSS) | ||
'area: bss': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "api/bssapi/**" | ||
- "cmd/bssd/**" | ||
- "docker/bssd/**" | ||
- "service/bss/**" | ||
|
||
# GitHub Actions workflows (CI) | ||
'area: ci': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- ".github/workflows/**" | ||
|
||
# Deucalion (Prometheus service) | ||
'area: deucalion': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "service/deucalion/**" | ||
|
||
# Docker images | ||
'area: docker': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "docker/**" | ||
|
||
# hemictl | ||
'area: hemictl': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "cmd/hemictl/**" | ||
|
||
# @hemilabs/pop-miner NPM package | ||
'area: @hemilabs/pop-miner': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "web/packages/pop-miner/**" | ||
|
||
# Makefiles | ||
'area: make': | ||
- changed-files: | ||
- any-glob-to-any-file: "**/Makefile" | ||
|
||
# WebAssembly PoP Miner | ||
'area: popm/wasm': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "web/popminer/**" | ||
|
||
# PoP Miner | ||
'area: popm': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "cmd/popmd/**" | ||
- "docker/popmd/**" | ||
- "service/popm/**" | ||
|
||
# Tiny Bitcoin Daemon (TBC) | ||
'area: tbc': | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "api/tbcapi/**" | ||
- "cmd/tbcd/**" | ||
- "database/tbcd/**" | ||
- "service/tbc/**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2024 Hemi Labs, Inc. | ||
# Use of this source code is governed by the MIT License, | ||
# which can be found in the LICENSE file. | ||
|
||
# GitHub Actions workflow to automatically label pull requests. | ||
name: "Label" | ||
on: [ "pull_request_target" ] | ||
|
||
jobs: | ||
labeler: | ||
name: "Pull Request" | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: "Label pull requests" | ||
uses: actions/labeler@v5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright (c) 2024 Hemi Labs, Inc. | ||
# Use of this source code is governed by the MIT License, | ||
# which can be found in the LICENSE file. | ||
|
||
# GitHub Actions workflow to lint, build and test NPM packages. | ||
name: "Node" | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: "node-${{ github.workflow }}-${{ github.event.number || github.ref }}" | ||
cancel-in-progress: "${{ github.event_name == 'pull_request' }}" | ||
|
||
env: | ||
GO_VERSION: "1.22.x" | ||
PNPM_VERSION: "9.4.x" | ||
|
||
jobs: | ||
build: | ||
name: "Build" | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Go ${{ env.GO_VERSION }}" | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "${{ env.GO_VERSION }}" | ||
cache: true | ||
check-latest: true | ||
|
||
- name: "Setup pnpm ${{ env.PNPM_VERSION }}" | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: "${{ env.PNPM_VERSION }}" | ||
|
||
- name: "Setup Node" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: "web/.nvmrc" | ||
check-latest: true | ||
cache: "pnpm" | ||
cache-dependency-path: "web/**/pnpm-lock.yaml" | ||
|
||
- name: "Install dependencies" | ||
working-directory: "web/" | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: "Install Go dependencies" | ||
working-directory: "web/" | ||
run: make deps | ||
|
||
# TODO(joshuasing): Install and use binaryen | ||
- name: "Build @hemilabs/pop-miner WebAssembly binary" | ||
working-directory: "web/" | ||
run: make wasm | ||
|
||
- name: "Build @hemilabs/pop-miner package" | ||
working-directory: "web/" | ||
run: pnpm build:pop-miner | ||
|
||
- name: "Lint" | ||
working-directory: "web/" | ||
run: pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.