Skip to content

Horizon upgrades in preparation for contract PRs #1186

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

Merged
merged 32 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
298a65c
Fix typos in packages/data-edge/README.md
MonkeyKing44 Feb 18, 2025
8929a28
Update InboxMock.sol
kilavvy Feb 24, 2025
e1cfc62
Update L2TokenGatewayMock.sol
kilavvy Feb 24, 2025
6209ea9
Update L1TokenGatewayMock.sol
kilavvy Feb 24, 2025
7e14bb4
Merge pull request #1113 from MonkeyKing44/typos
tmigone Feb 25, 2025
22c47ec
Merge pull request #1117 from kilavvy/main
tmigone Feb 25, 2025
1f8d3e0
fix: fix and upgrade Husky pre-commit and lint checks
RembrandtK May 8, 2025
0d8ed38
fix: updating yarn.lock for Husky upgrade
RembrandtK May 8, 2025
bf7e584
fix: ignore cache directories used in dev container
RembrandtK May 8, 2025
ea650f2
Merge pull request #1168 from graphprotocol/husky-update
RembrandtK May 8, 2025
6690d6b
fix(container): removing unneeded shared network dependency, minor do…
RembrandtK May 8, 2025
cf6ef25
fix: removing duplicated git signing message
RembrandtK May 8, 2025
9b12a5f
fix(README): making note of git repo location design
RembrandtK May 8, 2025
06cafbc
fix(container): do not install hardhat, install cloc
RembrandtK May 15, 2025
496ac94
feat: script to count Solidity code changes between branches
RembrandtK May 9, 2025
a27db3b
fix: ignore forge-artifacts
RembrandtK May 12, 2025
5df3f77
fix: only install cloc once
RembrandtK May 15, 2025
bc0ba81
fix: don't install forge-std, will be submodule
RembrandtK May 15, 2025
1d9e114
fix: more robust filename handling
RembrandtK May 15, 2025
bf74dc6
Update scripts/count-changes
RembrandtK May 15, 2025
d79a1b2
fix: not intended to be part of this branch
RembrandtK May 15, 2025
ffa854c
fix(lint): dev container whitespace lints
RembrandtK May 21, 2025
ebebc9f
fix: remove container name, avoid conflicts via automatic generation
RembrandtK May 21, 2025
d35b6ba
fix(container): reducing amount of caching to avoid cross environment…
RembrandtK May 24, 2025
84d3a09
fix(container): do not prompt for corepack download
RembrandtK May 24, 2025
03ffaa9
Merge pull request #1173 from graphprotocol/dev-container
RembrandtK May 29, 2025
cbda0fc
Modernise and cleanup lint configuration and build process (#1177)
RembrandtK Jun 4, 2025
bdc6613
Main upgrades in preparation for contract PRs (#1184)
RembrandtK Jun 9, 2025
8fccf0e
feat: merge from main to converge on upgrades and other changes
RembrandtK Jun 9, 2025
66b4626
fix: pnpm build for horizon branch
RembrandtK Jun 9, 2025
6866d00
fix: remove yarn patch, and a duplicate line
RembrandtK Jun 9, 2025
5bd8ab0
chore: re-sign commits for verification
RembrandtK Jun 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ runs:
using: composite

steps:
- name: Install system dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev libusb-1.0-0-dev
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Enable Corepack
Expand All @@ -12,7 +17,7 @@ runs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
cache: 'pnpm'
- name: Set up pnpm via Corepack
shell: bash
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build and Test

env:
CI: true
STUDIO_API_KEY: ${{ secrets.STUDIO_API_KEY }}

on:
pull_request:
branches: '*'
workflow_dispatch:

jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up environment
uses: ./.github/actions/setup

- name: Build all packages
run: pnpm build

- name: Test all packages
run: pnpm -r --sequential run test

- name: Test with coverage
run: pnpm -r --sequential run test:coverage

- name: Find coverage files
id: coverage_files
run: |
# Find all coverage-final.json files
COVERAGE_FILES=$(find ./packages -name "coverage-final.json" -path "*/reports/coverage/*" | tr '\n' ',' | sed 's/,$//')
echo "files=$COVERAGE_FILES" >> $GITHUB_OUTPUT
echo "Found coverage files: $COVERAGE_FILES"

- name: Upload coverage reports
if: steps.coverage_files.outputs.files != ''
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ steps.coverage_files.outputs.files }}
flags: unittests
name: graphprotocol-contracts
fail_ci_if_error: true
25 changes: 0 additions & 25 deletions .github/workflows/build.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/ci-contracts.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/ci-data-edge.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/ci-hardhat-graph-protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ env:

on:
push:
branches: "*"
branches: '*'
paths:
- packages/toolshed/**
pull_request:
branches: "*"
branches: '*'
paths:
- packages/toolshed/**
workflow_dispatch:
Expand Down Expand Up @@ -48,4 +48,4 @@ jobs:
run: |
pushd packages/hardhat-graph-protocol
pnpm build
popd
popd
6 changes: 3 additions & 3 deletions .github/workflows/ci-horizon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ env:

on:
push:
branches: "*"
branches: '*'
paths:
- packages/horizon/**
pull_request:
branches: "*"
branches: '*'
paths:
- packages/horizon/**
workflow_dispatch:
Expand Down Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Run tests
run: |
pushd packages/horizon
pnpm test
pnpm test
6 changes: 3 additions & 3 deletions .github/workflows/ci-subgraph-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ env:

on:
push:
branches: "*"
branches: '*'
paths:
- packages/subgraph-service/**
pull_request:
branches: "*"
branches: '*'
paths:
- packages/subgraph-service/**
workflow_dispatch:
Expand Down Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Run tests
run: |
pushd packages/subgraph-service
pnpm test
pnpm test
35 changes: 0 additions & 35 deletions .github/workflows/ci-token-dist.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/ci-toolshed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ env:

on:
push:
branches: "*"
branches: '*'
paths:
- packages/toolshed/**
pull_request:
branches: "*"
branches: '*'
paths:
- packages/toolshed/**
workflow_dispatch:
Expand Down Expand Up @@ -43,4 +43,4 @@ jobs:
run: |
pushd packages/toolshed
pnpm build
popd
popd
Loading
Loading