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

ci: add e2e test #121

Open
wants to merge 54 commits into
base: celestia-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
f4998ee
da: use celestia as da
tuxcanfly Apr 21, 2023
54c1052
batcher: fix duplicate cli flag name
tuxcanfly Apr 25, 2023
d7cf0bb
docker: use latest devnet image
tuxcanfly Apr 26, 2023
146d21c
bump local celestia devnet to 0.9.1
tuxcanfly Apr 26, 2023
80977ae
docker: wait for da to boot
tuxcanfly Apr 27, 2023
82d4fee
op-ndoe: decodeeETHData - use uint32 for height
tuxcanfly Apr 27, 2023
884fd58
proposer: fix da rpc, estimate gas
tuxcanfly Apr 28, 2023
29c04d1
op-node: fix failed to parse frame error
tuxcanfly Apr 28, 2023
83e4fb9
proposer: fix revert
tuxcanfly May 2, 2023
249d312
proposer: restore gas limit; add explanation
tuxcanfly May 3, 2023
bcf0845
proposer: nit
tuxcanfly May 3, 2023
c4080a0
add celestia logo, update readme
jcstein May 3, 2023
73a4651
Update README.md
jcstein May 3, 2023
a536860
style size
jcstein May 3, 2023
544bb81
plus not x
jcstein May 3, 2023
1a3ed81
docs: edit intro
jcstein May 3, 2023
7550915
Update README.md
jcstein May 3, 2023
99b2a9b
Update README.md
jcstein May 3, 2023
3591a20
Merge pull request #33 from celestiaorg/jcs/update-readme
jcstein May 3, 2023
f073f20
nit
jcstein May 3, 2023
c33c5a0
Merge pull request #34 from celestiaorg/jcs/update-readme
jcstein May 3, 2023
4f73953
docs: add section on deposit bridge
jcstein May 3, 2023
d4f66d0
add workaround from @Ferret-san
jcstein May 3, 2023
6b45c90
close code block
jcstein May 3, 2023
e24f0b1
fix: typo
jcstein May 3, 2023
6dd4495
Update README.md
jcstein May 4, 2023
320b34a
docs: add bridging section from guidance from @Ferret-san
jcstein May 4, 2023
ccee67b
Merge pull request #35 from celestiaorg/jcs/bridge
jcstein May 4, 2023
1cdb0b8
deps: bump local-devnet to 0.9.2
jcstein May 4, 2023
9837663
Merge pull request #36 from celestiaorg/jcs/bump-local-devnet
jcstein May 4, 2023
b0519b4
docker: fix da container name
tuxcanfly May 4, 2023
d0280e1
op-node: gracefully retry da connection err
tuxcanfly May 10, 2023
8f48706
test: update e2e tests for celestia da
tuxcanfly May 15, 2023
7f3cca5
docs: update readme
jcstein May 15, 2023
102c5e2
deps: update local-celestia-devnet to v0.9.5
jcstein May 15, 2023
f05b485
Merge pull request #46 from celestiaorg/jcs/devnet-ver-bump
jcstein May 15, 2023
cb82872
Add DALC support (#47)
jcstein May 17, 2023
e71c751
fix: update path to node store (#52)
jcstein May 19, 2023
5b663de
devnet: increase block times (#50)
tuxcanfly May 19, 2023
1fa2312
.github: add dependabot
MSevey May 23, 2023
cebd51e
Merge pull request #61 from celestiaorg/sevey/dependabot
MSevey May 23, 2023
8f53660
deps: bump celestia-node & local-celestia-devnet image version to v0.…
jcstein May 23, 2023
5b97ddc
op-node: log namespaced data details (#94)
tuxcanfly May 23, 2023
521cd32
Dependabot and Fork Sync (#93)
MSevey May 24, 2023
b261ed1
ci: add e2e test
tuxcanfly May 24, 2023
049b71e
ci: run devnet step before running e2e test
tuxcanfly May 25, 2023
98e7e96
test: workaround to running docker in parallel
tuxcanfly May 29, 2023
816d5e2
test: pushd / popd -> cd
tuxcanfly May 29, 2023
b692daf
ci: try run multiple commands
tuxcanfly May 29, 2023
6dcc8b8
nit
tuxcanfly May 29, 2023
b2678ef
ci: disable release / lint
tuxcanfly May 29, 2023
9178519
test: skip TestCrossLayerUser
tuxcanfly May 29, 2023
1b82e6d
ci: rm release
tuxcanfly May 29, 2023
a212778
ci: unskip test
tuxcanfly May 29, 2023
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
58 changes: 10 additions & 48 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,48 +1,10 @@
# Legacy codebases
/batch-submitter @ethereum-optimism/legacy-reviewers
/bss-core @ethereum-optimism/legacy-reviewers
/gas-oracle @ethereum-optimism/legacy-reviewers
/integration-tests @ethereum-optimism/legacy-reviewers
/l2geth @ethereum-optimism/legacy-reviewers
/l2geth-exporter @ethereum-optimism/legacy-reviewers
/packages/actor-tests @ethereum-optimism/legacy-reviewers
/packages/common-ts @ethereum-optimism/typescript-reviewers
/packages/contracts @ethereum-optimism/contract-reviewers
/packages/contracts-bedrock @ethereum-optimism/contract-reviewers
/packages/contracts-periphery @ethereum-optimism/contract-reviewers
/packages/core-utils @ethereum-optimism/legacy-reviewers
/packages/data-transport-layer @ethereum-optimism/legacy-reviewers
/packages/chain-mon @smartcontracts
/packages/fault-detector @ethereum-optimism/legacy-reviewers
/packages/hardhat-deploy-config @ethereum-optimism/legacy-reviewers
/packages/message-relayer @ethereum-optimism/legacy-reviewers
/packages/migration-data @ethereum-optimism/legacy-reviewers
/packages/replica-healthcheck @ethereum-optimism/legacy-reviewers
/packages/sdk @ethereum-optimism/ecopod
/packages/atst @ethereum-optimism/ecopod

# Bedrock codebases
/bedrock-devnet @ethereum-optimism/go-reviewers
/op-batcher @ethereum-optimism/go-reviewers
/op-chain-ops @ethereum-optimism/go-reviewers
/op-e2e @ethereum-optimism/go-reviewers
/op-node @ethereum-optimism/go-reviewers
/op-node/rollup @protolambda @trianglesphere
/op-proposer @ethereum-optimism/go-reviewers
/op-program @ethereum-optimism/go-reviewers
/op-service @ethereum-optimism/go-reviewers
/ops-bedrock @ethereum-optimism/go-reviewers


# Ops
/.circleci @ethereum-optimism/infra-reviewers
/.github @ethereum-optimism/infra-reviewers
/ops @ethereum-optimism/infra-reviewers
/op-signer @ethereum-optimism/infra-reviewers

# Misc
/proxyd @ethereum-optimism/infra-reviewers
/indexer @ethereum-optimism/infra-reviewers
/infra @ethereum-optimism/infra-reviewers
/specs @ethereum-optimism/contract-reviewers @ethereum-optimism/go-reviewers
/endpoint-monitor @ethereum-optimism/infra-reviewers
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Everything goes through the following "global owners" by default.
# Unless a later match takes precedence, these three will be
# requested for review when someone opens a PR.
# Note that the last matching pattern takes precedence, so
# global owners are only requested if there isn't a more specific
# codeowner specified below. For this reason, the global codeowners
# are often repeated in package-level definitions.
* @tuxcanfly @jcstein @Ferret-san
18 changes: 18 additions & 0 deletions .github/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
reviewers:
defaults:
- code-owners
groups:
code-owners:
- tuxcanfly
- jcstein
- Ferret-san
celestia:
- team:celestia
files:
'**':
- code-owners
options:
ignore_draft: true
ignored_keywords:
- WIP
number_of_reviewers: 3
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
# Check for updates on our docker image and for celestia-node
- package-ecosystem: docker
directory: "/ops-bedrock"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
# Check for updates on celestia packages
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
5 changes: 0 additions & 5 deletions .github/labeler.yml

This file was deleted.

137 changes: 0 additions & 137 deletions .github/mergify.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
push:
branches:
- main
# Trigger on version tags
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+-OP_v[0-9]+\.[0-9]+\.[0-9]+-CN_v[0-9]+\.[0-9]+\.[0-9]+'
- 'v[0-9]+\.[0-9]+\.[0-9]+-OP_v[0-9]+\.[0-9]+\.[0-9]+-CN_v[0-9]+\.[0-9]+\.[0-9]+-rc(?:[0-9]+|\.[0-9]+)'
pull_request:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
version:
# Friendly description to be shown in the UI instead of 'name'
description: "Semver type of new version (major / minor / patch)"
# Input has to be provided for the workflow to run
required: true
type: choice
options:
- patch
- minor
- major

jobs:
test:
uses: ./.github/workflows/test.yml
with:
GO_VERSION: '1.20'
17 changes: 0 additions & 17 deletions .github/workflows/close-stale.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine to leave in

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/devnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# devnet.yml
name: 'Celestia Devnet'
description: 'Launch a local celestia devnet'
runs:
using: 'docker'
image: 'ghcr.io/rollkit/local-celestia-devnet:v0.9.5'
ports:
- 26650:26657
- 26659:26659
options: --platform linux/amd64
75 changes: 75 additions & 0 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Housekeeping

on:
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
project:
# ignore dependabot PRs
if: ${{ github.actor != 'dependabot[bot]' }}
name: Add issues and PRs to project and add grooming label
uses: celestiaorg/.github/.github/workflows/[email protected]
secrets: inherit
permissions:
issues: write
pull-requests: write
with:
run-labels: true
labels-to-add: "needs-grooming"
run-projects: true
project-url: https://github.com/orgs/celestiaorg/projects/32

auto-add-reviewer:
name: Auto add reviewer to PR
if: github.event.pull_request
uses: celestiaorg/.github/.github/workflows/[email protected]
secrets: inherit
permissions:
issues: write
pull-requests: write
with:
run-auto-request-review: true

auto-add-assignee:
# ignore dependabot PRs
if: ${{ github.actor != 'dependabot[bot]' }}
name: Assign issue and PR to creator
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Set issue url and creator login
if: ${{ github.event.issue }}
run: |
echo "ISSUE=${{ github.event.issue.html_url }}" >> $GITHUB_ENV
echo "CREATOR=${{ github.event.issue.user.login }}" >> $GITHUB_ENV
- name: Set pull_request url and creator login
if: ${{ github.event.pull_request }}
# yamllint disable rule:line-length
run: |
echo "PR=${{ github.event.pull_request.html_url }}" >> $GITHUB_ENV
echo "CREATOR=${{ github.event.pull_request.user.login }}" >> $GITHUB_ENV
# yamllint enable rule:line-length
- name: Assign issue to creator (issue)
if: ${{ github.event.issue }}
run: gh issue edit ${{ env.ISSUE }} --add-assignee ${{ env.CREATOR }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Assign issue to creator (PR)
if: ${{ github.event.pull_request }}
run: gh pr edit ${{ env.PR }} --add-assignee ${{ env.CREATOR }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

required-labels:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v4
with:
mode: minimum
count: 1
labels: "T:enhancement, T:documentation, T:code-hygiene, T:bug, T:adr, T:sdk, T:testing, T:question, T:dependencies, T:spec-and-docs, T:da-integration, T:dev-usability-and-ux" # yamllint disable-line rule:line-length
13 changes: 0 additions & 13 deletions .github/workflows/labeler.yml

This file was deleted.

Loading