2024-05-25 00:34:07 +03:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
orbs:
|
|
|
|
go: circleci/go@1.9.0
|
|
|
|
gcp-cli: circleci/gcp-cli@2.4.1
|
|
|
|
shellcheck: circleci/shellcheck@3.1.2
|
2024-06-29 02:37:10 +03:00
|
|
|
path-filtering: circleci/path-filtering@1.0.0
|
2024-05-25 00:34:07 +03:00
|
|
|
|
|
|
|
parameters:
|
|
|
|
run-build-op-conductor-mon:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-09-10 22:01:09 +03:00
|
|
|
run-build-op-signer:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-09-30 23:43:34 +03:00
|
|
|
run-build-op-txproxy:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
feat: Merge op ufm into infra (#3)
* skeleton, poll, heartbeat, configs, healthz, dockerfile
* signer tls, send tx on heartbeat
* round trip receipt
* tx_pool, heartbeat
* example.config.toml
* add .
* addr semgrep
* metrics, instrumented clients, already known nonce handling and retry
* refactor metrics, add metric debug
* metric with error details
* fix imports
* fixes, deployed to dev
* semgrep
* lint
* add kmstool
* lint err
* fix(ufm): betterer error metric label (#6535)
* fix(ufm): betterer error metric label
* remove commented code
* feat(ufm): track nonce locally
* format log ctx
* build(deps): bump github.com/ethereum/go-ethereum in /op-ufm
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.12.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* add cooldown
* config update
* improve error metrics
* use network nonce
* use network gas
* remove gas configs
* send mutex
* add debug tools to docker file
* update example.config.toml
* remove gas configs
* timeout metrics
* build(deps): bump github.com/supranational/blst in /op-ufm
Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: golang 1.21
Updates the go version used to 1.21
* modify external files
* build(deps): bump github.com/consensys/gnark-crypto in /op-ufm
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.10.0...v0.12.0)
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 in /op-ufm
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(ufm): gracefully handle failed tx creation
* chore(ufm): update deps
* address rabbits concerns
* address mr rabbits concerns part ii
* extract gas tip cap const
* fix: resolving dependabot vulnerabilities. (#8643)
* resolving dependabot vulnerabilities.
setting go-ethereum v.1.13.5 everywhere and grpc to v1.56.3
* fixing sum sha
* build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-ufm (#8672)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-ufm: use `fmt.Errorf()` for `panic()` (#8754)
* chore: clean up makefiles across the monorepo (#8862)
* Update op-geth dependency to upstream geth v1.13.8 and migrate to slog (#8917)
* Update op-geth dependency (v1.13.8) & migrate to slog
* op-e2e: format system_test.go
* op-chain-ops/genesis: Ignore nil addresses in BuildL1DeveloperGenesis
* go: Update to latest op-geth
commit fb90ca39bc5c4f45e99ef320abfab85eeb56c561
* update latest op-geth dependency
* op-program,op-wheel: Use new StateDB.OpenStorageTrie
* all: fix more slog stuff after merging
* proxyd: update geth 1.13.8 & migrate to slog
* op-ufm: update monorepo dependency to prev commit
* testlog: Return pointer with FindLog
* genesis: Parse addresses from dump string keys in BuildL1DeveloperGenesis
* op-ufm: go mod tidy
* update to latest op-geth
* genesis: Update ForgeDump.UnmarshalJSON to latest geth types
* eth: Use hexutils.U256 instead of uint256.Int as type in ExecutionPayload
This fixes JSON mashaling.
* op-e2e: fix usage of legacy geth levels
* go: update latest op-geth dependency
* check-ecotone: adapt to field type change
* Resolve remaining TODOs
* op-program: remove json-pretty formatting option from test
* go: update to latest op-geth v1.101308.0-rc.1
* op-dispute-mon: Fix logger setup
* log: improve LevelFromString docs
* op-e2e/config: treat EthNodeVerbosity as legacy log level
* all: fix order of imports
* ci: Skip flaky test (#9437)
* op-ufm: Update mod tidy again (#9456)
* op-ufm: mod tidy (#9537)
* op-ufm: Update go.mod (#9631)
* op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
* Fix check-changed for cannon and op-ufm go.mod checks (#9733)
* cannon: Update go mod in examples and fix check-changed to catch this in future
* Break op-ufm go.sum to work out what fails when it's out of date.
* Update go.sum
* op-ufm: Switch back to using latest monorepo code in op-ufm.
* op-ufm: Include op-ufm in mod tidy checks
* Remove hardfork activation time overrides (#9642)
* go get github.com/ethereum-optimism/superchain-registry/superchain@1203fe7 && go mod tidy
* update op-geth dependency
* remove hardfork activation time overrides
* remove unused consts
* Revert "remove hardfork activation time overrides"
This reverts commit 34b761f267aa3bbeaaa16f4d328ad91dec20d4e9.
* update superchain
* Revert "remove unused consts"
This reverts commit d1fca170f24f608f75d0d9ca8c12597bffd9df83.
* get Canyon,Delta and EcotoneTime fron superchain chain config
* remove sepolia devnet specialcase (will be moved to superchain registry)
* update op-geth
* add oplabs-devnet-0-sepolia-dev-0 to chains_test
* fix correct DeltaTime for sepoliaDev0Cfg
* go get github.com/ethereum-optimism/superchain-registry/superchain@2dcb036 && go mod tidy
* remove TODO
* go get github.com/ethereum-optimism/superchain-registry/superchain@c2e25cc && go mod tidy
* update dependency on op-geth
* update expected CanyonTime for oplabs-devnet-0-sepolia-dev-0
* update dependency on superchain and op-geth
* make mod-tidy
* go get github.com/ethereum-optimism/superchain-registry/superchain@c557df8 && go mod tidy
* update op-geth to v1.101308.3-rc.1 && go mod tidy
* make mod-tidy
* Update dependency on superchain-registry (#9929)
* go get github.com/ethereum-optimism/superchain-registry/superchain@52d3dbd1605dd43f419e838584abd0ec163d462b
* make mod-tidy
* remove goerli chaincfg
* op-program: replace references to goerli with sepolia
* op-node: remove references to goerli or replace with sepolia
* remove unused var
* go: update op-geth to latest v1.101308.4-rc.1
* op-node: remove Goerli references & config overrides
---------
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
* build(deps): bump google.golang.org/protobuf in /op-ufm (#9854)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update op-geth dependency to v1.101309.0-rc.2 (#9935)
* use updated op-geth
* update geth moar
* resource usage cleanup
* remove sleeping
* go: fix broken indirect dependency of github.com/kataras/iris/v12
* proxyd: update to geth v1.13.10
* proxyd: update to geth v1.13.14
* op-chain-ops: reduce diff, utilize chainID from caller to make Permit2 path use correct chainID during deployment
* op-chain-ops: L2 backend only, enable shanghai/canyon by default, fix doc comments
* op-chain-ops: simulator without L2 features, to support op-upgrade
---------
Co-authored-by: protolambda <proto@protolambda.com>
* update geth dependency to version w/ v1.13.11 upstream commits (#10041)
* update geth dependency to version with upstream updates to v1.13.11
* fix op-program tests
* update op-geth dep to tagged commit
* op-plasma: basic da server with S3 and leveldb storage (#9813)
* feat: basic plasma da server
* catch all not found errors
* feat: switch to minio and file server
* add file
* fix: handle feedback
* fix: tidy
* fix: tidy mods again
* chore: add S3 config info
* Update dependency on `superchain` package (#10204)
* pin superchain registry
to a commit on https://github.com/ethereum-optimism/superchain-registry/pull/190
* slice into mapping with superchain name
* update superchain-registry to latest commit on main
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /op-ufm (#10233)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* geth: update to v1.13.15 (#10353)
* point at op-geth v1.13.13
* update triedb import path
* update deprecated core structs to types package
* Update op-geth with tx pool fix.
* point at v1.13.14
* point at geth v1.13.15
* fix NewStackTrie call
* remove pin
* use op-geth v1.101315.0-rc.1
---------
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 (#10420)
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* op-node: Add dedicated PlasmaConfig struct to rollup.Config (#10499)
* op-node: Add dedicated PlasmaConfig struct to rollup.Config
This commit adds a dedicated PlasmaConfig section to the rollup
config. This collects all Plasma Mode configuration to the same place
and enables future expansion of Plasma Mode configuration to be confined
to a single location.
In the interim, the op-node can read from both the legacy fields and the
dedicated struct. If both are set, they must be consistent. The genesis
creation tooling currently only writes with the new config.
* Set plasma mode from superchain registry
* Remove LegacyUsePlasma usage
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 from 4.2.0 to 4.3.0 (#10009)
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4
Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/decred/dcrd/releases)
- [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES)
- [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0)
---
updated-dependencies:
- dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation
* chaincfg: add Fjord time to sepolia-devnet-0
* Activate Fjord on Sepolia (#10610)
* feat: circle ci configurations for op-ufm
* feat: updated go.mod to contain remote reference github.com/ethereum-optimism/optimism
* feat: fix linting errors, and add golangci-lint config
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Felipe Andrade <felipe@oplabs.co>
Co-authored-by: OptimismBot <112345690+OptimismBot@users.noreply.github.com>
Co-authored-by: felipe andrade <130432649+felipe-op@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sabnock01 <24715302+Sabnock01@users.noreply.github.com>
Co-authored-by: Raffaele <151576068+raffaele-oplabs@users.noreply.github.com>
Co-authored-by: Taeguk Kwon <xornrbboy@gmail.com>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: George C. Knee <georgeknee@googlemail.com>
Co-authored-by: Roberto Bayardo <roberto.bayardo@coinbase.com>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: tdot <tdotchardin@gmail.com>
Co-authored-by: Axel Kingsley <axel.kingsley@gmail.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
2024-05-30 22:33:46 +03:00
|
|
|
run-build-op-ufm:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-06-11 22:10:20 +03:00
|
|
|
run-build-proxyd:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-05-25 00:34:07 +03:00
|
|
|
run-all:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
|
|
|
commands:
|
|
|
|
gcp-oidc-authenticate:
|
|
|
|
description: "Authenticate with GCP using a CircleCI OIDC token."
|
|
|
|
parameters:
|
|
|
|
project_id:
|
|
|
|
type: env_var_name
|
|
|
|
default: GCP_PROJECT_ID
|
|
|
|
workload_identity_pool_id:
|
|
|
|
type: env_var_name
|
|
|
|
default: GCP_WIP_ID
|
|
|
|
workload_identity_pool_provider_id:
|
|
|
|
type: env_var_name
|
|
|
|
default: GCP_WIP_PROVIDER_ID
|
|
|
|
service_account_email:
|
|
|
|
type: env_var_name
|
|
|
|
default: GCP_SERVICE_ACCOUNT_EMAIL
|
|
|
|
gcp_cred_config_file_path:
|
|
|
|
type: string
|
|
|
|
default: /home/circleci/gcp_cred_config.json
|
|
|
|
oidc_token_file_path:
|
|
|
|
type: string
|
|
|
|
default: /home/circleci/oidc_token.json
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
name: "Create OIDC credential configuration"
|
|
|
|
command: |
|
|
|
|
# Store OIDC token in temp file
|
|
|
|
echo $CIRCLE_OIDC_TOKEN > << parameters.oidc_token_file_path >>
|
|
|
|
# Create a credential configuration for the generated OIDC ID Token
|
|
|
|
gcloud iam workload-identity-pools create-cred-config \
|
|
|
|
"projects/${<< parameters.project_id >>}/locations/global/workloadIdentityPools/${<< parameters.workload_identity_pool_id >>}/providers/${<< parameters.workload_identity_pool_provider_id >>}"\
|
|
|
|
--output-file="<< parameters.gcp_cred_config_file_path >>" \
|
|
|
|
--service-account="${<< parameters.service_account_email >>}" \
|
|
|
|
--credential-source-file=<< parameters.oidc_token_file_path >>
|
|
|
|
- run:
|
|
|
|
name: "Authenticate with GCP using OIDC"
|
|
|
|
command: |
|
|
|
|
# Configure gcloud to leverage the generated credential configuration
|
|
|
|
gcloud auth login --brief --cred-file "<< parameters.gcp_cred_config_file_path >>"
|
|
|
|
# Configure ADC
|
|
|
|
echo "export GOOGLE_APPLICATION_CREDENTIALS='<< parameters.gcp_cred_config_file_path >>'" | tee -a "$BASH_ENV"
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
2024-06-27 20:44:06 +03:00
|
|
|
log-config-results:
|
|
|
|
docker:
|
|
|
|
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest # only used to enable codecov.
|
2024-06-29 02:37:10 +03:00
|
|
|
environment:
|
|
|
|
CURRENT_TAG: << pipeline.git.tag >>
|
2024-06-27 20:44:06 +03:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Log Configuration Results
|
|
|
|
command: |
|
|
|
|
echo "Configuration Results:"
|
|
|
|
echo "run-build-op-conductor-mon: << pipeline.parameters.run-build-op-conductor-mon >>"
|
2024-09-10 22:01:09 +03:00
|
|
|
echo "run-build-op-signer: << pipeline.parameters.run-build-op-signer >>"
|
2024-06-27 20:44:06 +03:00
|
|
|
echo "run-build-op-ufm: << pipeline.parameters.run-build-op-ufm >>"
|
|
|
|
echo "run-build-proxyd: << pipeline.parameters.run-build-proxyd >>"
|
|
|
|
echo "run-all: << pipeline.parameters.run-all >>"
|
|
|
|
echo ""
|
|
|
|
echo "Pipeline Trigger Information:"
|
|
|
|
echo "pipeline.trigger_source: << pipeline.trigger_source >>"
|
|
|
|
echo "Is not a scheduled pipeline: $([ "<< pipeline.trigger_source >>" != "scheduled_pipeline" ] && echo "true" || echo "false")"
|
|
|
|
echo ""
|
|
|
|
echo "Tag Information:"
|
|
|
|
echo "Current tag: $CURRENT_TAG"
|
|
|
|
|
|
|
|
# Use the same regex patterns as defined in the YAML anchors
|
|
|
|
if [[ $CURRENT_TAG =~ ^proxyd/v.* ]]; then
|
|
|
|
echo "proxyd tag regex match: true"
|
|
|
|
else
|
|
|
|
echo "proxyd tag regex match: false"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ $CURRENT_TAG =~ ^op-conductor-mon/v.* ]]; then
|
|
|
|
echo "op-conductor-mon tag regex match: true"
|
|
|
|
else
|
|
|
|
echo "op-conductor-mon tag regex match: false"
|
|
|
|
fi
|
|
|
|
|
2024-09-10 22:01:09 +03:00
|
|
|
if [[ $CURRENT_TAG =~ ^op-signer/v.* ]]; then
|
|
|
|
echo "op-signer tag regex match: true"
|
|
|
|
else
|
|
|
|
echo "op-signer tag regex match: false"
|
|
|
|
fi
|
|
|
|
|
2024-06-27 20:44:06 +03:00
|
|
|
if [[ $CURRENT_TAG =~ ^op-ufm/v.* ]]; then
|
|
|
|
echo "op-ufm tag regex match: true"
|
|
|
|
else
|
|
|
|
echo "op-ufm tag regex match: false"
|
|
|
|
fi
|
2024-05-25 00:34:07 +03:00
|
|
|
docker-build:
|
|
|
|
environment:
|
|
|
|
DOCKER_BUILDKIT: 1
|
|
|
|
parameters:
|
|
|
|
docker_name:
|
|
|
|
description: Docker image name
|
|
|
|
type: string
|
|
|
|
docker_tags:
|
|
|
|
description: Docker image tags as csv
|
|
|
|
type: string
|
|
|
|
docker_file:
|
|
|
|
description: Path to Dockerfile
|
|
|
|
type: string
|
|
|
|
docker_context:
|
|
|
|
description: Docker build context
|
|
|
|
type: string
|
|
|
|
registry:
|
|
|
|
description: Docker registry
|
|
|
|
type: string
|
|
|
|
default: "us-docker.pkg.dev"
|
|
|
|
repo:
|
|
|
|
description: Docker repo
|
|
|
|
type: string
|
|
|
|
default: "oplabs-tools-artifacts/images"
|
|
|
|
machine:
|
|
|
|
image: default
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
command: mkdir -p /tmp/docker_images
|
|
|
|
- run:
|
|
|
|
name: Build
|
|
|
|
command: |
|
|
|
|
# Check to see if DOCKER_HUB_READ_ONLY_TOKEN is set (i.e. we are in repo) before attempting to use secrets.
|
|
|
|
# Building should work without this read only login, but may get rate limited.
|
|
|
|
if [[ -v DOCKER_HUB_READ_ONLY_TOKEN ]]; then
|
|
|
|
echo "$DOCKER_HUB_READ_ONLY_TOKEN" | docker login -u "$DOCKER_HUB_READ_ONLY_USER" --password-stdin
|
|
|
|
fi
|
|
|
|
IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
|
|
|
|
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|-t ${IMAGE_BASE}:|")
|
|
|
|
docker build \
|
|
|
|
$(echo -ne $DOCKER_TAGS | tr '\n' ' ') \
|
|
|
|
-f <<parameters.docker_file>> \
|
|
|
|
<<parameters.docker_context>>
|
|
|
|
- run:
|
|
|
|
name: Save
|
|
|
|
command: |
|
|
|
|
IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
|
|
|
|
DOCKER_LABELS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g")
|
|
|
|
echo -ne $DOCKER_LABELS | tr ' ' '\n' | xargs -I {} docker save -o /tmp/docker_images/<<parameters.docker_name>>_{}.tar $IMAGE_BASE:{}
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: /tmp/docker_images
|
|
|
|
paths:
|
|
|
|
- "."
|
|
|
|
|
|
|
|
docker-publish:
|
|
|
|
parameters:
|
|
|
|
docker_name:
|
|
|
|
description: Docker image name
|
|
|
|
type: string
|
|
|
|
docker_tags:
|
|
|
|
description: Docker image tags as csv
|
|
|
|
type: string
|
|
|
|
registry:
|
|
|
|
description: Docker registry
|
|
|
|
type: string
|
|
|
|
default: "us-docker.pkg.dev"
|
|
|
|
repo:
|
|
|
|
description: Docker repo
|
|
|
|
type: string
|
|
|
|
default: "oplabs-tools-artifacts/images"
|
|
|
|
machine:
|
|
|
|
image: default
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: /tmp/docker_images
|
|
|
|
- run:
|
|
|
|
name: Docker load
|
|
|
|
command: |
|
|
|
|
DOCKER_LABELS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g")
|
|
|
|
echo -ne $DOCKER_LABELS | tr ' ' '\n' | xargs -I {} docker load -i /tmp/docker_images/<<parameters.docker_name>>_{}.tar
|
|
|
|
- gcp-oidc-authenticate
|
|
|
|
# Below is CircleCI recommended way of specifying nameservers on an Ubuntu box:
|
|
|
|
# https://support.circleci.com/hc/en-us/articles/7323511028251-How-to-set-custom-DNS-on-Ubuntu-based-images-using-netplan
|
|
|
|
- run: sudo sed -i '13 i \ \ \ \ \ \ \ \ \ \ \ \ nameservers:' /etc/netplan/50-cloud-init.yaml
|
|
|
|
- run: sudo sed -i '14 i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ addresses:' /etc/netplan/50-cloud-init.yaml
|
|
|
|
- run: sudo sed -i "s/addresses:/ addresses":" [8.8.8.8, 8.8.4.4] /g" /etc/netplan/50-cloud-init.yaml
|
2024-06-11 22:42:35 +03:00
|
|
|
- run: sudo cat /etc/netplan/50-cloud-init.yaml
|
2024-05-25 00:34:07 +03:00
|
|
|
- run: sudo netplan apply
|
|
|
|
- run:
|
|
|
|
name: Publish
|
|
|
|
command: |
|
|
|
|
gcloud auth configure-docker <<parameters.registry>>
|
|
|
|
IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
|
|
|
|
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|${IMAGE_BASE}:|")
|
|
|
|
echo -ne $DOCKER_TAGS | tr ' ' '\n' | xargs -L1 docker push
|
|
|
|
|
|
|
|
- when:
|
|
|
|
condition:
|
|
|
|
equal: ['main', <<pipeline.git.branch>>]
|
|
|
|
steps:
|
|
|
|
- gcp-oidc-authenticate:
|
|
|
|
service_account_email: GCP_SERVICE_ATTESTOR_ACCOUNT_EMAIL
|
|
|
|
- run:
|
|
|
|
name: Sign
|
|
|
|
command: |
|
|
|
|
git clone --branch v1.0.3 --depth 1 https://github.com/ethereum-optimism/binary_signer
|
|
|
|
cd binary_signer/signer
|
|
|
|
|
|
|
|
IMAGE_PATH="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>:<<pipeline.git.revision>>"
|
|
|
|
echo $IMAGE_PATH
|
|
|
|
pip3 install -r requirements.txt
|
|
|
|
|
|
|
|
python3 ./sign_image.py --command="sign"\
|
|
|
|
--attestor-project-name="$ATTESTOR_PROJECT_NAME"\
|
|
|
|
--attestor-name="$ATTESTOR_NAME"\
|
|
|
|
--image-path="$IMAGE_PATH"\
|
|
|
|
--signer-logging-level="INFO"\
|
|
|
|
--attestor-key-id="//cloudkms.googleapis.com/v1/projects/$ATTESTOR_PROJECT_NAME/locations/global/keyRings/$ATTESTOR_NAME-key-ring/cryptoKeys/$ATTESTOR_NAME-key/cryptoKeyVersions/1"
|
|
|
|
|
|
|
|
|
|
|
|
docker-tag-op-stack-release:
|
|
|
|
parameters:
|
|
|
|
registry:
|
|
|
|
description: Docker registry
|
|
|
|
type: string
|
|
|
|
default: "us-docker.pkg.dev"
|
|
|
|
repo:
|
|
|
|
description: Docker repo
|
|
|
|
type: string
|
|
|
|
default: "oplabs-tools-artifacts/images"
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.7
|
|
|
|
resource_class: small
|
|
|
|
steps:
|
|
|
|
- gcp-cli/install
|
|
|
|
- gcp-oidc-authenticate
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Tag
|
|
|
|
command: |
|
|
|
|
gcloud auth configure-docker <<parameters.registry>>
|
2024-07-24 20:55:35 +03:00
|
|
|
./ops/ci-tag-docker-release/ci-docker-tag-op-stack-release.sh <<parameters.registry>>/<<parameters.repo>> $CIRCLE_TAG $CIRCLE_SHA1
|
2024-05-25 00:34:07 +03:00
|
|
|
|
|
|
|
go-lint:
|
|
|
|
parameters:
|
|
|
|
module:
|
|
|
|
description: Go Module Name
|
|
|
|
type: string
|
|
|
|
docker:
|
|
|
|
- image: cimg/go:1.21
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: run generate
|
|
|
|
command: |
|
|
|
|
make generate || go generate ./...
|
|
|
|
working_directory: <<parameters.module>>
|
|
|
|
- run:
|
|
|
|
name: run tidy
|
|
|
|
command: |
|
|
|
|
go mod tidy && git diff --exit-code
|
|
|
|
working_directory: <<parameters.module>>
|
|
|
|
- run:
|
|
|
|
name: run lint
|
|
|
|
command: |
|
feat: Merge op ufm into infra (#3)
* skeleton, poll, heartbeat, configs, healthz, dockerfile
* signer tls, send tx on heartbeat
* round trip receipt
* tx_pool, heartbeat
* example.config.toml
* add .
* addr semgrep
* metrics, instrumented clients, already known nonce handling and retry
* refactor metrics, add metric debug
* metric with error details
* fix imports
* fixes, deployed to dev
* semgrep
* lint
* add kmstool
* lint err
* fix(ufm): betterer error metric label (#6535)
* fix(ufm): betterer error metric label
* remove commented code
* feat(ufm): track nonce locally
* format log ctx
* build(deps): bump github.com/ethereum/go-ethereum in /op-ufm
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.12.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* add cooldown
* config update
* improve error metrics
* use network nonce
* use network gas
* remove gas configs
* send mutex
* add debug tools to docker file
* update example.config.toml
* remove gas configs
* timeout metrics
* build(deps): bump github.com/supranational/blst in /op-ufm
Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: golang 1.21
Updates the go version used to 1.21
* modify external files
* build(deps): bump github.com/consensys/gnark-crypto in /op-ufm
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.10.0...v0.12.0)
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 in /op-ufm
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(ufm): gracefully handle failed tx creation
* chore(ufm): update deps
* address rabbits concerns
* address mr rabbits concerns part ii
* extract gas tip cap const
* fix: resolving dependabot vulnerabilities. (#8643)
* resolving dependabot vulnerabilities.
setting go-ethereum v.1.13.5 everywhere and grpc to v1.56.3
* fixing sum sha
* build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-ufm (#8672)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-ufm: use `fmt.Errorf()` for `panic()` (#8754)
* chore: clean up makefiles across the monorepo (#8862)
* Update op-geth dependency to upstream geth v1.13.8 and migrate to slog (#8917)
* Update op-geth dependency (v1.13.8) & migrate to slog
* op-e2e: format system_test.go
* op-chain-ops/genesis: Ignore nil addresses in BuildL1DeveloperGenesis
* go: Update to latest op-geth
commit fb90ca39bc5c4f45e99ef320abfab85eeb56c561
* update latest op-geth dependency
* op-program,op-wheel: Use new StateDB.OpenStorageTrie
* all: fix more slog stuff after merging
* proxyd: update geth 1.13.8 & migrate to slog
* op-ufm: update monorepo dependency to prev commit
* testlog: Return pointer with FindLog
* genesis: Parse addresses from dump string keys in BuildL1DeveloperGenesis
* op-ufm: go mod tidy
* update to latest op-geth
* genesis: Update ForgeDump.UnmarshalJSON to latest geth types
* eth: Use hexutils.U256 instead of uint256.Int as type in ExecutionPayload
This fixes JSON mashaling.
* op-e2e: fix usage of legacy geth levels
* go: update latest op-geth dependency
* check-ecotone: adapt to field type change
* Resolve remaining TODOs
* op-program: remove json-pretty formatting option from test
* go: update to latest op-geth v1.101308.0-rc.1
* op-dispute-mon: Fix logger setup
* log: improve LevelFromString docs
* op-e2e/config: treat EthNodeVerbosity as legacy log level
* all: fix order of imports
* ci: Skip flaky test (#9437)
* op-ufm: Update mod tidy again (#9456)
* op-ufm: mod tidy (#9537)
* op-ufm: Update go.mod (#9631)
* op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
* Fix check-changed for cannon and op-ufm go.mod checks (#9733)
* cannon: Update go mod in examples and fix check-changed to catch this in future
* Break op-ufm go.sum to work out what fails when it's out of date.
* Update go.sum
* op-ufm: Switch back to using latest monorepo code in op-ufm.
* op-ufm: Include op-ufm in mod tidy checks
* Remove hardfork activation time overrides (#9642)
* go get github.com/ethereum-optimism/superchain-registry/superchain@1203fe7 && go mod tidy
* update op-geth dependency
* remove hardfork activation time overrides
* remove unused consts
* Revert "remove hardfork activation time overrides"
This reverts commit 34b761f267aa3bbeaaa16f4d328ad91dec20d4e9.
* update superchain
* Revert "remove unused consts"
This reverts commit d1fca170f24f608f75d0d9ca8c12597bffd9df83.
* get Canyon,Delta and EcotoneTime fron superchain chain config
* remove sepolia devnet specialcase (will be moved to superchain registry)
* update op-geth
* add oplabs-devnet-0-sepolia-dev-0 to chains_test
* fix correct DeltaTime for sepoliaDev0Cfg
* go get github.com/ethereum-optimism/superchain-registry/superchain@2dcb036 && go mod tidy
* remove TODO
* go get github.com/ethereum-optimism/superchain-registry/superchain@c2e25cc && go mod tidy
* update dependency on op-geth
* update expected CanyonTime for oplabs-devnet-0-sepolia-dev-0
* update dependency on superchain and op-geth
* make mod-tidy
* go get github.com/ethereum-optimism/superchain-registry/superchain@c557df8 && go mod tidy
* update op-geth to v1.101308.3-rc.1 && go mod tidy
* make mod-tidy
* Update dependency on superchain-registry (#9929)
* go get github.com/ethereum-optimism/superchain-registry/superchain@52d3dbd1605dd43f419e838584abd0ec163d462b
* make mod-tidy
* remove goerli chaincfg
* op-program: replace references to goerli with sepolia
* op-node: remove references to goerli or replace with sepolia
* remove unused var
* go: update op-geth to latest v1.101308.4-rc.1
* op-node: remove Goerli references & config overrides
---------
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
* build(deps): bump google.golang.org/protobuf in /op-ufm (#9854)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update op-geth dependency to v1.101309.0-rc.2 (#9935)
* use updated op-geth
* update geth moar
* resource usage cleanup
* remove sleeping
* go: fix broken indirect dependency of github.com/kataras/iris/v12
* proxyd: update to geth v1.13.10
* proxyd: update to geth v1.13.14
* op-chain-ops: reduce diff, utilize chainID from caller to make Permit2 path use correct chainID during deployment
* op-chain-ops: L2 backend only, enable shanghai/canyon by default, fix doc comments
* op-chain-ops: simulator without L2 features, to support op-upgrade
---------
Co-authored-by: protolambda <proto@protolambda.com>
* update geth dependency to version w/ v1.13.11 upstream commits (#10041)
* update geth dependency to version with upstream updates to v1.13.11
* fix op-program tests
* update op-geth dep to tagged commit
* op-plasma: basic da server with S3 and leveldb storage (#9813)
* feat: basic plasma da server
* catch all not found errors
* feat: switch to minio and file server
* add file
* fix: handle feedback
* fix: tidy
* fix: tidy mods again
* chore: add S3 config info
* Update dependency on `superchain` package (#10204)
* pin superchain registry
to a commit on https://github.com/ethereum-optimism/superchain-registry/pull/190
* slice into mapping with superchain name
* update superchain-registry to latest commit on main
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /op-ufm (#10233)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* geth: update to v1.13.15 (#10353)
* point at op-geth v1.13.13
* update triedb import path
* update deprecated core structs to types package
* Update op-geth with tx pool fix.
* point at v1.13.14
* point at geth v1.13.15
* fix NewStackTrie call
* remove pin
* use op-geth v1.101315.0-rc.1
---------
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 (#10420)
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* op-node: Add dedicated PlasmaConfig struct to rollup.Config (#10499)
* op-node: Add dedicated PlasmaConfig struct to rollup.Config
This commit adds a dedicated PlasmaConfig section to the rollup
config. This collects all Plasma Mode configuration to the same place
and enables future expansion of Plasma Mode configuration to be confined
to a single location.
In the interim, the op-node can read from both the legacy fields and the
dedicated struct. If both are set, they must be consistent. The genesis
creation tooling currently only writes with the new config.
* Set plasma mode from superchain registry
* Remove LegacyUsePlasma usage
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 from 4.2.0 to 4.3.0 (#10009)
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4
Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/decred/dcrd/releases)
- [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES)
- [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0)
---
updated-dependencies:
- dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation
* chaincfg: add Fjord time to sepolia-devnet-0
* Activate Fjord on Sepolia (#10610)
* feat: circle ci configurations for op-ufm
* feat: updated go.mod to contain remote reference github.com/ethereum-optimism/optimism
* feat: fix linting errors, and add golangci-lint config
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Felipe Andrade <felipe@oplabs.co>
Co-authored-by: OptimismBot <112345690+OptimismBot@users.noreply.github.com>
Co-authored-by: felipe andrade <130432649+felipe-op@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sabnock01 <24715302+Sabnock01@users.noreply.github.com>
Co-authored-by: Raffaele <151576068+raffaele-oplabs@users.noreply.github.com>
Co-authored-by: Taeguk Kwon <xornrbboy@gmail.com>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: George C. Knee <georgeknee@googlemail.com>
Co-authored-by: Roberto Bayardo <roberto.bayardo@coinbase.com>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: tdot <tdotchardin@gmail.com>
Co-authored-by: Axel Kingsley <axel.kingsley@gmail.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
2024-05-30 22:33:46 +03:00
|
|
|
if [ -f .golangci.yml ]; then
|
|
|
|
golangci-lint run -c .golangci.yml -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint -e "errors.As" -e "errors.Is" --timeout "3m0s" ./...
|
|
|
|
else
|
|
|
|
golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint -e "errors.As" -e "errors.Is" --timeout "3m0s" ./...
|
|
|
|
fi
|
2024-05-25 00:34:07 +03:00
|
|
|
working_directory: <<parameters.module>>
|
|
|
|
|
|
|
|
go-test:
|
|
|
|
parameters:
|
|
|
|
module:
|
|
|
|
description: Go Module Name
|
|
|
|
type: string
|
|
|
|
docker:
|
|
|
|
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest # only used to enable codecov.
|
|
|
|
- image: cimg/postgres:14.6
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: opc
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
|
|
resource_class: small
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: go version
|
|
|
|
command: go version
|
|
|
|
- run:
|
|
|
|
name: prep results dir
|
|
|
|
command: mkdir -p /tmp/test-results
|
|
|
|
- run:
|
|
|
|
name: run generate
|
|
|
|
command: |
|
|
|
|
make generate || go generate ./...
|
|
|
|
working_directory: <<parameters.module>>
|
|
|
|
- run:
|
|
|
|
name: run tests
|
|
|
|
command: |
|
|
|
|
gotestsum --format=standard-verbose --junitfile=/tmp/test-results/<<parameters.module>>.xml \
|
|
|
|
-- -coverpkg=github.com/ethereum-optimism/infrastructure-services/... -coverprofile=coverage.out ./...
|
|
|
|
working_directory: <<parameters.module>>
|
|
|
|
- run:
|
|
|
|
name: upload coverage
|
|
|
|
command: codecov --verbose --clean --flags <<parameters.module>>
|
|
|
|
- store_test_results:
|
|
|
|
path: /tmp/test-results
|
|
|
|
|
|
|
|
py-presubmit:
|
|
|
|
parameters:
|
|
|
|
poetry_root:
|
|
|
|
description: Root of the Poetry project directory.
|
|
|
|
type: string
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.11
|
|
|
|
resource_class: small
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: prep results dir
|
|
|
|
command: mkdir -p /tmp/test-results
|
|
|
|
- run:
|
|
|
|
name: run presubmit
|
|
|
|
command: |
|
|
|
|
poetry install
|
|
|
|
poetry run presubmit
|
|
|
|
working_directory: <<parameters.poetry_root>>
|
|
|
|
|
|
|
|
build-release:
|
|
|
|
parameters:
|
|
|
|
package_name:
|
|
|
|
description: Package to build
|
|
|
|
type: string
|
|
|
|
artifact_path:
|
|
|
|
description: Path to build artifact
|
|
|
|
type: string
|
|
|
|
default: ./bin
|
|
|
|
release_env:
|
|
|
|
description: Release environment
|
|
|
|
type: string
|
|
|
|
default: prod
|
|
|
|
docker:
|
|
|
|
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Build
|
|
|
|
command: |
|
|
|
|
VERSION=$(echo "$CIRCLE_TAG" | grep -Eow 'v.*' || true)
|
|
|
|
make build-release VERSION=$VERSION RELEASE_ENV=<<parameters.release_env>>
|
|
|
|
working_directory: <<parameters.package_name>>
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: <<parameters.package_name>>/<<parameters.artifact_path>>
|
|
|
|
paths:
|
|
|
|
- "."
|
|
|
|
|
|
|
|
publish-release:
|
|
|
|
parameters:
|
|
|
|
package_name:
|
|
|
|
description: Package to publish
|
|
|
|
type: string
|
|
|
|
artifact_path:
|
|
|
|
description: Path to build artifact
|
|
|
|
type: string
|
|
|
|
default: ./bin
|
|
|
|
docker:
|
|
|
|
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: <<parameters.package_name>>/<<parameters.artifact_path>>
|
|
|
|
- run:
|
|
|
|
name: "Publish Release on GitHub"
|
|
|
|
command: |
|
|
|
|
go install github.com/tcnksm/ghr@v0.16.2
|
|
|
|
ghr -t "$GITHUB_TOKEN" -u "$CIRCLE_PROJECT_USERNAME" -r "$CIRCLE_PROJECT_REPONAME" -c "$CIRCLE_SHA1" -delete "$CIRCLE_TAG" <<parameters.package_name>>/<<parameters.artifact_path>>
|
|
|
|
|
|
|
|
workflows:
|
2024-06-27 20:44:06 +03:00
|
|
|
logging:
|
|
|
|
jobs:
|
2024-06-29 02:37:10 +03:00
|
|
|
- log-config-results:
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
2024-05-25 00:34:07 +03:00
|
|
|
op-conductor-mon:
|
|
|
|
when:
|
|
|
|
or: [<< pipeline.parameters.run-build-op-conductor-mon >>, << pipeline.parameters.run-all >>]
|
|
|
|
jobs:
|
|
|
|
- go-lint:
|
|
|
|
name: op-conductor-mon-lint
|
|
|
|
module: op-conductor-mon
|
|
|
|
- go-test:
|
|
|
|
name: op-conductor-mon-tests
|
|
|
|
module: op-conductor-mon
|
|
|
|
- docker-build:
|
|
|
|
name: op-conductor-mon-docker-build
|
|
|
|
docker_file: op-conductor-mon/Dockerfile
|
|
|
|
docker_name: op-conductor-mon
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
2024-09-10 22:01:09 +03:00
|
|
|
op-signer:
|
|
|
|
when:
|
|
|
|
or: [<< pipeline.parameters.run-build-op-signer >>, << pipeline.parameters.run-all >>]
|
|
|
|
jobs:
|
|
|
|
- go-lint:
|
|
|
|
name: op-signer-lint
|
|
|
|
module: op-signer
|
|
|
|
- go-test:
|
|
|
|
name: op-signer-tests
|
|
|
|
module: op-signer
|
|
|
|
- docker-build:
|
|
|
|
name: op-signer-docker-build
|
|
|
|
docker_file: op-signer/Dockerfile
|
|
|
|
docker_name: op-signer
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
2024-09-30 23:43:34 +03:00
|
|
|
op-txproxy:
|
|
|
|
when:
|
|
|
|
or: [<< pipeline.parameters.run-build-op-txproxy >>, << pipeline.parameters.run-all >>]
|
|
|
|
jobs:
|
|
|
|
- go-lint:
|
|
|
|
name: op-txproxy-lint
|
|
|
|
module: op-txproxy
|
|
|
|
- go-test:
|
|
|
|
name: op-txproxy-tests
|
|
|
|
module: op-txproxy
|
|
|
|
- docker-build:
|
|
|
|
name: op-txproxy-docker-build
|
|
|
|
docker_file: op-txproxy/Dockerfile
|
|
|
|
docker_name: op-txproxy
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
feat: Merge op ufm into infra (#3)
* skeleton, poll, heartbeat, configs, healthz, dockerfile
* signer tls, send tx on heartbeat
* round trip receipt
* tx_pool, heartbeat
* example.config.toml
* add .
* addr semgrep
* metrics, instrumented clients, already known nonce handling and retry
* refactor metrics, add metric debug
* metric with error details
* fix imports
* fixes, deployed to dev
* semgrep
* lint
* add kmstool
* lint err
* fix(ufm): betterer error metric label (#6535)
* fix(ufm): betterer error metric label
* remove commented code
* feat(ufm): track nonce locally
* format log ctx
* build(deps): bump github.com/ethereum/go-ethereum in /op-ufm
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.12.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* add cooldown
* config update
* improve error metrics
* use network nonce
* use network gas
* remove gas configs
* send mutex
* add debug tools to docker file
* update example.config.toml
* remove gas configs
* timeout metrics
* build(deps): bump github.com/supranational/blst in /op-ufm
Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: golang 1.21
Updates the go version used to 1.21
* modify external files
* build(deps): bump github.com/consensys/gnark-crypto in /op-ufm
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.10.0...v0.12.0)
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 in /op-ufm
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(ufm): gracefully handle failed tx creation
* chore(ufm): update deps
* address rabbits concerns
* address mr rabbits concerns part ii
* extract gas tip cap const
* fix: resolving dependabot vulnerabilities. (#8643)
* resolving dependabot vulnerabilities.
setting go-ethereum v.1.13.5 everywhere and grpc to v1.56.3
* fixing sum sha
* build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-ufm (#8672)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-ufm: use `fmt.Errorf()` for `panic()` (#8754)
* chore: clean up makefiles across the monorepo (#8862)
* Update op-geth dependency to upstream geth v1.13.8 and migrate to slog (#8917)
* Update op-geth dependency (v1.13.8) & migrate to slog
* op-e2e: format system_test.go
* op-chain-ops/genesis: Ignore nil addresses in BuildL1DeveloperGenesis
* go: Update to latest op-geth
commit fb90ca39bc5c4f45e99ef320abfab85eeb56c561
* update latest op-geth dependency
* op-program,op-wheel: Use new StateDB.OpenStorageTrie
* all: fix more slog stuff after merging
* proxyd: update geth 1.13.8 & migrate to slog
* op-ufm: update monorepo dependency to prev commit
* testlog: Return pointer with FindLog
* genesis: Parse addresses from dump string keys in BuildL1DeveloperGenesis
* op-ufm: go mod tidy
* update to latest op-geth
* genesis: Update ForgeDump.UnmarshalJSON to latest geth types
* eth: Use hexutils.U256 instead of uint256.Int as type in ExecutionPayload
This fixes JSON mashaling.
* op-e2e: fix usage of legacy geth levels
* go: update latest op-geth dependency
* check-ecotone: adapt to field type change
* Resolve remaining TODOs
* op-program: remove json-pretty formatting option from test
* go: update to latest op-geth v1.101308.0-rc.1
* op-dispute-mon: Fix logger setup
* log: improve LevelFromString docs
* op-e2e/config: treat EthNodeVerbosity as legacy log level
* all: fix order of imports
* ci: Skip flaky test (#9437)
* op-ufm: Update mod tidy again (#9456)
* op-ufm: mod tidy (#9537)
* op-ufm: Update go.mod (#9631)
* op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
* Fix check-changed for cannon and op-ufm go.mod checks (#9733)
* cannon: Update go mod in examples and fix check-changed to catch this in future
* Break op-ufm go.sum to work out what fails when it's out of date.
* Update go.sum
* op-ufm: Switch back to using latest monorepo code in op-ufm.
* op-ufm: Include op-ufm in mod tidy checks
* Remove hardfork activation time overrides (#9642)
* go get github.com/ethereum-optimism/superchain-registry/superchain@1203fe7 && go mod tidy
* update op-geth dependency
* remove hardfork activation time overrides
* remove unused consts
* Revert "remove hardfork activation time overrides"
This reverts commit 34b761f267aa3bbeaaa16f4d328ad91dec20d4e9.
* update superchain
* Revert "remove unused consts"
This reverts commit d1fca170f24f608f75d0d9ca8c12597bffd9df83.
* get Canyon,Delta and EcotoneTime fron superchain chain config
* remove sepolia devnet specialcase (will be moved to superchain registry)
* update op-geth
* add oplabs-devnet-0-sepolia-dev-0 to chains_test
* fix correct DeltaTime for sepoliaDev0Cfg
* go get github.com/ethereum-optimism/superchain-registry/superchain@2dcb036 && go mod tidy
* remove TODO
* go get github.com/ethereum-optimism/superchain-registry/superchain@c2e25cc && go mod tidy
* update dependency on op-geth
* update expected CanyonTime for oplabs-devnet-0-sepolia-dev-0
* update dependency on superchain and op-geth
* make mod-tidy
* go get github.com/ethereum-optimism/superchain-registry/superchain@c557df8 && go mod tidy
* update op-geth to v1.101308.3-rc.1 && go mod tidy
* make mod-tidy
* Update dependency on superchain-registry (#9929)
* go get github.com/ethereum-optimism/superchain-registry/superchain@52d3dbd1605dd43f419e838584abd0ec163d462b
* make mod-tidy
* remove goerli chaincfg
* op-program: replace references to goerli with sepolia
* op-node: remove references to goerli or replace with sepolia
* remove unused var
* go: update op-geth to latest v1.101308.4-rc.1
* op-node: remove Goerli references & config overrides
---------
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
* build(deps): bump google.golang.org/protobuf in /op-ufm (#9854)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update op-geth dependency to v1.101309.0-rc.2 (#9935)
* use updated op-geth
* update geth moar
* resource usage cleanup
* remove sleeping
* go: fix broken indirect dependency of github.com/kataras/iris/v12
* proxyd: update to geth v1.13.10
* proxyd: update to geth v1.13.14
* op-chain-ops: reduce diff, utilize chainID from caller to make Permit2 path use correct chainID during deployment
* op-chain-ops: L2 backend only, enable shanghai/canyon by default, fix doc comments
* op-chain-ops: simulator without L2 features, to support op-upgrade
---------
Co-authored-by: protolambda <proto@protolambda.com>
* update geth dependency to version w/ v1.13.11 upstream commits (#10041)
* update geth dependency to version with upstream updates to v1.13.11
* fix op-program tests
* update op-geth dep to tagged commit
* op-plasma: basic da server with S3 and leveldb storage (#9813)
* feat: basic plasma da server
* catch all not found errors
* feat: switch to minio and file server
* add file
* fix: handle feedback
* fix: tidy
* fix: tidy mods again
* chore: add S3 config info
* Update dependency on `superchain` package (#10204)
* pin superchain registry
to a commit on https://github.com/ethereum-optimism/superchain-registry/pull/190
* slice into mapping with superchain name
* update superchain-registry to latest commit on main
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /op-ufm (#10233)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* geth: update to v1.13.15 (#10353)
* point at op-geth v1.13.13
* update triedb import path
* update deprecated core structs to types package
* Update op-geth with tx pool fix.
* point at v1.13.14
* point at geth v1.13.15
* fix NewStackTrie call
* remove pin
* use op-geth v1.101315.0-rc.1
---------
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 (#10420)
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* op-node: Add dedicated PlasmaConfig struct to rollup.Config (#10499)
* op-node: Add dedicated PlasmaConfig struct to rollup.Config
This commit adds a dedicated PlasmaConfig section to the rollup
config. This collects all Plasma Mode configuration to the same place
and enables future expansion of Plasma Mode configuration to be confined
to a single location.
In the interim, the op-node can read from both the legacy fields and the
dedicated struct. If both are set, they must be consistent. The genesis
creation tooling currently only writes with the new config.
* Set plasma mode from superchain registry
* Remove LegacyUsePlasma usage
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 from 4.2.0 to 4.3.0 (#10009)
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4
Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/decred/dcrd/releases)
- [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES)
- [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0)
---
updated-dependencies:
- dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation
* chaincfg: add Fjord time to sepolia-devnet-0
* Activate Fjord on Sepolia (#10610)
* feat: circle ci configurations for op-ufm
* feat: updated go.mod to contain remote reference github.com/ethereum-optimism/optimism
* feat: fix linting errors, and add golangci-lint config
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Felipe Andrade <felipe@oplabs.co>
Co-authored-by: OptimismBot <112345690+OptimismBot@users.noreply.github.com>
Co-authored-by: felipe andrade <130432649+felipe-op@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sabnock01 <24715302+Sabnock01@users.noreply.github.com>
Co-authored-by: Raffaele <151576068+raffaele-oplabs@users.noreply.github.com>
Co-authored-by: Taeguk Kwon <xornrbboy@gmail.com>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: George C. Knee <georgeknee@googlemail.com>
Co-authored-by: Roberto Bayardo <roberto.bayardo@coinbase.com>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: tdot <tdotchardin@gmail.com>
Co-authored-by: Axel Kingsley <axel.kingsley@gmail.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
2024-05-30 22:33:46 +03:00
|
|
|
op-ufm:
|
|
|
|
when:
|
|
|
|
or: [<< pipeline.parameters.run-build-op-ufm >>, << pipeline.parameters.run-all >>]
|
|
|
|
jobs:
|
|
|
|
- go-lint:
|
2024-06-13 22:22:23 +03:00
|
|
|
name: op-ufm-lint
|
feat: Merge op ufm into infra (#3)
* skeleton, poll, heartbeat, configs, healthz, dockerfile
* signer tls, send tx on heartbeat
* round trip receipt
* tx_pool, heartbeat
* example.config.toml
* add .
* addr semgrep
* metrics, instrumented clients, already known nonce handling and retry
* refactor metrics, add metric debug
* metric with error details
* fix imports
* fixes, deployed to dev
* semgrep
* lint
* add kmstool
* lint err
* fix(ufm): betterer error metric label (#6535)
* fix(ufm): betterer error metric label
* remove commented code
* feat(ufm): track nonce locally
* format log ctx
* build(deps): bump github.com/ethereum/go-ethereum in /op-ufm
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.12.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* add cooldown
* config update
* improve error metrics
* use network nonce
* use network gas
* remove gas configs
* send mutex
* add debug tools to docker file
* update example.config.toml
* remove gas configs
* timeout metrics
* build(deps): bump github.com/supranational/blst in /op-ufm
Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: golang 1.21
Updates the go version used to 1.21
* modify external files
* build(deps): bump github.com/consensys/gnark-crypto in /op-ufm
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.10.0...v0.12.0)
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 in /op-ufm
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(ufm): gracefully handle failed tx creation
* chore(ufm): update deps
* address rabbits concerns
* address mr rabbits concerns part ii
* extract gas tip cap const
* fix: resolving dependabot vulnerabilities. (#8643)
* resolving dependabot vulnerabilities.
setting go-ethereum v.1.13.5 everywhere and grpc to v1.56.3
* fixing sum sha
* build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-ufm (#8672)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-ufm: use `fmt.Errorf()` for `panic()` (#8754)
* chore: clean up makefiles across the monorepo (#8862)
* Update op-geth dependency to upstream geth v1.13.8 and migrate to slog (#8917)
* Update op-geth dependency (v1.13.8) & migrate to slog
* op-e2e: format system_test.go
* op-chain-ops/genesis: Ignore nil addresses in BuildL1DeveloperGenesis
* go: Update to latest op-geth
commit fb90ca39bc5c4f45e99ef320abfab85eeb56c561
* update latest op-geth dependency
* op-program,op-wheel: Use new StateDB.OpenStorageTrie
* all: fix more slog stuff after merging
* proxyd: update geth 1.13.8 & migrate to slog
* op-ufm: update monorepo dependency to prev commit
* testlog: Return pointer with FindLog
* genesis: Parse addresses from dump string keys in BuildL1DeveloperGenesis
* op-ufm: go mod tidy
* update to latest op-geth
* genesis: Update ForgeDump.UnmarshalJSON to latest geth types
* eth: Use hexutils.U256 instead of uint256.Int as type in ExecutionPayload
This fixes JSON mashaling.
* op-e2e: fix usage of legacy geth levels
* go: update latest op-geth dependency
* check-ecotone: adapt to field type change
* Resolve remaining TODOs
* op-program: remove json-pretty formatting option from test
* go: update to latest op-geth v1.101308.0-rc.1
* op-dispute-mon: Fix logger setup
* log: improve LevelFromString docs
* op-e2e/config: treat EthNodeVerbosity as legacy log level
* all: fix order of imports
* ci: Skip flaky test (#9437)
* op-ufm: Update mod tidy again (#9456)
* op-ufm: mod tidy (#9537)
* op-ufm: Update go.mod (#9631)
* op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
* Fix check-changed for cannon and op-ufm go.mod checks (#9733)
* cannon: Update go mod in examples and fix check-changed to catch this in future
* Break op-ufm go.sum to work out what fails when it's out of date.
* Update go.sum
* op-ufm: Switch back to using latest monorepo code in op-ufm.
* op-ufm: Include op-ufm in mod tidy checks
* Remove hardfork activation time overrides (#9642)
* go get github.com/ethereum-optimism/superchain-registry/superchain@1203fe7 && go mod tidy
* update op-geth dependency
* remove hardfork activation time overrides
* remove unused consts
* Revert "remove hardfork activation time overrides"
This reverts commit 34b761f267aa3bbeaaa16f4d328ad91dec20d4e9.
* update superchain
* Revert "remove unused consts"
This reverts commit d1fca170f24f608f75d0d9ca8c12597bffd9df83.
* get Canyon,Delta and EcotoneTime fron superchain chain config
* remove sepolia devnet specialcase (will be moved to superchain registry)
* update op-geth
* add oplabs-devnet-0-sepolia-dev-0 to chains_test
* fix correct DeltaTime for sepoliaDev0Cfg
* go get github.com/ethereum-optimism/superchain-registry/superchain@2dcb036 && go mod tidy
* remove TODO
* go get github.com/ethereum-optimism/superchain-registry/superchain@c2e25cc && go mod tidy
* update dependency on op-geth
* update expected CanyonTime for oplabs-devnet-0-sepolia-dev-0
* update dependency on superchain and op-geth
* make mod-tidy
* go get github.com/ethereum-optimism/superchain-registry/superchain@c557df8 && go mod tidy
* update op-geth to v1.101308.3-rc.1 && go mod tidy
* make mod-tidy
* Update dependency on superchain-registry (#9929)
* go get github.com/ethereum-optimism/superchain-registry/superchain@52d3dbd1605dd43f419e838584abd0ec163d462b
* make mod-tidy
* remove goerli chaincfg
* op-program: replace references to goerli with sepolia
* op-node: remove references to goerli or replace with sepolia
* remove unused var
* go: update op-geth to latest v1.101308.4-rc.1
* op-node: remove Goerli references & config overrides
---------
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
* build(deps): bump google.golang.org/protobuf in /op-ufm (#9854)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update op-geth dependency to v1.101309.0-rc.2 (#9935)
* use updated op-geth
* update geth moar
* resource usage cleanup
* remove sleeping
* go: fix broken indirect dependency of github.com/kataras/iris/v12
* proxyd: update to geth v1.13.10
* proxyd: update to geth v1.13.14
* op-chain-ops: reduce diff, utilize chainID from caller to make Permit2 path use correct chainID during deployment
* op-chain-ops: L2 backend only, enable shanghai/canyon by default, fix doc comments
* op-chain-ops: simulator without L2 features, to support op-upgrade
---------
Co-authored-by: protolambda <proto@protolambda.com>
* update geth dependency to version w/ v1.13.11 upstream commits (#10041)
* update geth dependency to version with upstream updates to v1.13.11
* fix op-program tests
* update op-geth dep to tagged commit
* op-plasma: basic da server with S3 and leveldb storage (#9813)
* feat: basic plasma da server
* catch all not found errors
* feat: switch to minio and file server
* add file
* fix: handle feedback
* fix: tidy
* fix: tidy mods again
* chore: add S3 config info
* Update dependency on `superchain` package (#10204)
* pin superchain registry
to a commit on https://github.com/ethereum-optimism/superchain-registry/pull/190
* slice into mapping with superchain name
* update superchain-registry to latest commit on main
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /op-ufm (#10233)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* geth: update to v1.13.15 (#10353)
* point at op-geth v1.13.13
* update triedb import path
* update deprecated core structs to types package
* Update op-geth with tx pool fix.
* point at v1.13.14
* point at geth v1.13.15
* fix NewStackTrie call
* remove pin
* use op-geth v1.101315.0-rc.1
---------
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 (#10420)
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* op-node: Add dedicated PlasmaConfig struct to rollup.Config (#10499)
* op-node: Add dedicated PlasmaConfig struct to rollup.Config
This commit adds a dedicated PlasmaConfig section to the rollup
config. This collects all Plasma Mode configuration to the same place
and enables future expansion of Plasma Mode configuration to be confined
to a single location.
In the interim, the op-node can read from both the legacy fields and the
dedicated struct. If both are set, they must be consistent. The genesis
creation tooling currently only writes with the new config.
* Set plasma mode from superchain registry
* Remove LegacyUsePlasma usage
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 from 4.2.0 to 4.3.0 (#10009)
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4
Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/decred/dcrd/releases)
- [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES)
- [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0)
---
updated-dependencies:
- dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation
* chaincfg: add Fjord time to sepolia-devnet-0
* Activate Fjord on Sepolia (#10610)
* feat: circle ci configurations for op-ufm
* feat: updated go.mod to contain remote reference github.com/ethereum-optimism/optimism
* feat: fix linting errors, and add golangci-lint config
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Felipe Andrade <felipe@oplabs.co>
Co-authored-by: OptimismBot <112345690+OptimismBot@users.noreply.github.com>
Co-authored-by: felipe andrade <130432649+felipe-op@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sabnock01 <24715302+Sabnock01@users.noreply.github.com>
Co-authored-by: Raffaele <151576068+raffaele-oplabs@users.noreply.github.com>
Co-authored-by: Taeguk Kwon <xornrbboy@gmail.com>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: George C. Knee <georgeknee@googlemail.com>
Co-authored-by: Roberto Bayardo <roberto.bayardo@coinbase.com>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: tdot <tdotchardin@gmail.com>
Co-authored-by: Axel Kingsley <axel.kingsley@gmail.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
2024-05-30 22:33:46 +03:00
|
|
|
module: op-ufm
|
|
|
|
- go-test:
|
2024-06-13 22:22:23 +03:00
|
|
|
name: op-ufm-tests
|
feat: Merge op ufm into infra (#3)
* skeleton, poll, heartbeat, configs, healthz, dockerfile
* signer tls, send tx on heartbeat
* round trip receipt
* tx_pool, heartbeat
* example.config.toml
* add .
* addr semgrep
* metrics, instrumented clients, already known nonce handling and retry
* refactor metrics, add metric debug
* metric with error details
* fix imports
* fixes, deployed to dev
* semgrep
* lint
* add kmstool
* lint err
* fix(ufm): betterer error metric label (#6535)
* fix(ufm): betterer error metric label
* remove commented code
* feat(ufm): track nonce locally
* format log ctx
* build(deps): bump github.com/ethereum/go-ethereum in /op-ufm
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.12.1)
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* add cooldown
* config update
* improve error metrics
* use network nonce
* use network gas
* remove gas configs
* send mutex
* add debug tools to docker file
* update example.config.toml
* remove gas configs
* timeout metrics
* build(deps): bump github.com/supranational/blst in /op-ufm
Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)
---
updated-dependencies:
- dependency-name: github.com/supranational/blst
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: golang 1.21
Updates the go version used to 1.21
* modify external files
* build(deps): bump github.com/consensys/gnark-crypto in /op-ufm
Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.10.0 to 0.12.0.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/consensys/gnark-crypto/compare/v0.10.0...v0.12.0)
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 in /op-ufm
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(ufm): gracefully handle failed tx creation
* chore(ufm): update deps
* address rabbits concerns
* address mr rabbits concerns part ii
* extract gas tip cap const
* fix: resolving dependabot vulnerabilities. (#8643)
* resolving dependabot vulnerabilities.
setting go-ethereum v.1.13.5 everywhere and grpc to v1.56.3
* fixing sum sha
* build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-ufm (#8672)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-ufm: use `fmt.Errorf()` for `panic()` (#8754)
* chore: clean up makefiles across the monorepo (#8862)
* Update op-geth dependency to upstream geth v1.13.8 and migrate to slog (#8917)
* Update op-geth dependency (v1.13.8) & migrate to slog
* op-e2e: format system_test.go
* op-chain-ops/genesis: Ignore nil addresses in BuildL1DeveloperGenesis
* go: Update to latest op-geth
commit fb90ca39bc5c4f45e99ef320abfab85eeb56c561
* update latest op-geth dependency
* op-program,op-wheel: Use new StateDB.OpenStorageTrie
* all: fix more slog stuff after merging
* proxyd: update geth 1.13.8 & migrate to slog
* op-ufm: update monorepo dependency to prev commit
* testlog: Return pointer with FindLog
* genesis: Parse addresses from dump string keys in BuildL1DeveloperGenesis
* op-ufm: go mod tidy
* update to latest op-geth
* genesis: Update ForgeDump.UnmarshalJSON to latest geth types
* eth: Use hexutils.U256 instead of uint256.Int as type in ExecutionPayload
This fixes JSON mashaling.
* op-e2e: fix usage of legacy geth levels
* go: update latest op-geth dependency
* check-ecotone: adapt to field type change
* Resolve remaining TODOs
* op-program: remove json-pretty formatting option from test
* go: update to latest op-geth v1.101308.0-rc.1
* op-dispute-mon: Fix logger setup
* log: improve LevelFromString docs
* op-e2e/config: treat EthNodeVerbosity as legacy log level
* all: fix order of imports
* ci: Skip flaky test (#9437)
* op-ufm: Update mod tidy again (#9456)
* op-ufm: mod tidy (#9537)
* op-ufm: Update go.mod (#9631)
* op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
* Fix check-changed for cannon and op-ufm go.mod checks (#9733)
* cannon: Update go mod in examples and fix check-changed to catch this in future
* Break op-ufm go.sum to work out what fails when it's out of date.
* Update go.sum
* op-ufm: Switch back to using latest monorepo code in op-ufm.
* op-ufm: Include op-ufm in mod tidy checks
* Remove hardfork activation time overrides (#9642)
* go get github.com/ethereum-optimism/superchain-registry/superchain@1203fe7 && go mod tidy
* update op-geth dependency
* remove hardfork activation time overrides
* remove unused consts
* Revert "remove hardfork activation time overrides"
This reverts commit 34b761f267aa3bbeaaa16f4d328ad91dec20d4e9.
* update superchain
* Revert "remove unused consts"
This reverts commit d1fca170f24f608f75d0d9ca8c12597bffd9df83.
* get Canyon,Delta and EcotoneTime fron superchain chain config
* remove sepolia devnet specialcase (will be moved to superchain registry)
* update op-geth
* add oplabs-devnet-0-sepolia-dev-0 to chains_test
* fix correct DeltaTime for sepoliaDev0Cfg
* go get github.com/ethereum-optimism/superchain-registry/superchain@2dcb036 && go mod tidy
* remove TODO
* go get github.com/ethereum-optimism/superchain-registry/superchain@c2e25cc && go mod tidy
* update dependency on op-geth
* update expected CanyonTime for oplabs-devnet-0-sepolia-dev-0
* update dependency on superchain and op-geth
* make mod-tidy
* go get github.com/ethereum-optimism/superchain-registry/superchain@c557df8 && go mod tidy
* update op-geth to v1.101308.3-rc.1 && go mod tidy
* make mod-tidy
* Update dependency on superchain-registry (#9929)
* go get github.com/ethereum-optimism/superchain-registry/superchain@52d3dbd1605dd43f419e838584abd0ec163d462b
* make mod-tidy
* remove goerli chaincfg
* op-program: replace references to goerli with sepolia
* op-node: remove references to goerli or replace with sepolia
* remove unused var
* go: update op-geth to latest v1.101308.4-rc.1
* op-node: remove Goerli references & config overrides
---------
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
* build(deps): bump google.golang.org/protobuf in /op-ufm (#9854)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update op-geth dependency to v1.101309.0-rc.2 (#9935)
* use updated op-geth
* update geth moar
* resource usage cleanup
* remove sleeping
* go: fix broken indirect dependency of github.com/kataras/iris/v12
* proxyd: update to geth v1.13.10
* proxyd: update to geth v1.13.14
* op-chain-ops: reduce diff, utilize chainID from caller to make Permit2 path use correct chainID during deployment
* op-chain-ops: L2 backend only, enable shanghai/canyon by default, fix doc comments
* op-chain-ops: simulator without L2 features, to support op-upgrade
---------
Co-authored-by: protolambda <proto@protolambda.com>
* update geth dependency to version w/ v1.13.11 upstream commits (#10041)
* update geth dependency to version with upstream updates to v1.13.11
* fix op-program tests
* update op-geth dep to tagged commit
* op-plasma: basic da server with S3 and leveldb storage (#9813)
* feat: basic plasma da server
* catch all not found errors
* feat: switch to minio and file server
* add file
* fix: handle feedback
* fix: tidy
* fix: tidy mods again
* chore: add S3 config info
* Update dependency on `superchain` package (#10204)
* pin superchain registry
to a commit on https://github.com/ethereum-optimism/superchain-registry/pull/190
* slice into mapping with superchain name
* update superchain-registry to latest commit on main
* build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /op-ufm (#10233)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* geth: update to v1.13.15 (#10353)
* point at op-geth v1.13.13
* update triedb import path
* update deprecated core structs to types package
* Update op-geth with tx pool fix.
* point at v1.13.14
* point at geth v1.13.15
* fix NewStackTrie call
* remove pin
* use op-geth v1.101315.0-rc.1
---------
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0 (#10420)
* dependabot(gomod): bump golang.org/x/crypto from 0.21.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* op-node: Add dedicated PlasmaConfig struct to rollup.Config (#10499)
* op-node: Add dedicated PlasmaConfig struct to rollup.Config
This commit adds a dedicated PlasmaConfig section to the rollup
config. This collects all Plasma Mode configuration to the same place
and enables future expansion of Plasma Mode configuration to be confined
to a single location.
In the interim, the op-node can read from both the legacy fields and the
dedicated struct. If both are set, they must be consistent. The genesis
creation tooling currently only writes with the new config.
* Set plasma mode from superchain registry
* Remove LegacyUsePlasma usage
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4 from 4.2.0 to 4.3.0 (#10009)
* dependabot(gomod): bump github.com/decred/dcrd/dcrec/secp256k1/v4
Bumps [github.com/decred/dcrd/dcrec/secp256k1/v4](https://github.com/decred/dcrd) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/decred/dcrd/releases)
- [Changelog](https://github.com/decred/dcrd/blob/master/CHANGES)
- [Commits](https://github.com/decred/dcrd/compare/dcrec/secp256k1/v4.2.0...dcrec/secp256k1/v4.3.0)
---
updated-dependencies:
- dependency-name: github.com/decred/dcrd/dcrec/secp256k1/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* deps: update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
* Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation
* chaincfg: add Fjord time to sepolia-devnet-0
* Activate Fjord on Sepolia (#10610)
* feat: circle ci configurations for op-ufm
* feat: updated go.mod to contain remote reference github.com/ethereum-optimism/optimism
* feat: fix linting errors, and add golangci-lint config
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Felipe Andrade <felipe@oplabs.co>
Co-authored-by: OptimismBot <112345690+OptimismBot@users.noreply.github.com>
Co-authored-by: felipe andrade <130432649+felipe-op@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sabnock01 <24715302+Sabnock01@users.noreply.github.com>
Co-authored-by: Raffaele <151576068+raffaele-oplabs@users.noreply.github.com>
Co-authored-by: Taeguk Kwon <xornrbboy@gmail.com>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Sebastian Stammler <seb@oplabs.co>
Co-authored-by: Matthew Slipper <me@matthewslipper.com>
Co-authored-by: Adrian Sutton <adrian@oplabs.co>
Co-authored-by: George C. Knee <georgeknee@googlemail.com>
Co-authored-by: Roberto Bayardo <roberto.bayardo@coinbase.com>
Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: tdot <tdotchardin@gmail.com>
Co-authored-by: Axel Kingsley <axel.kingsley@gmail.com>
Co-authored-by: Joshua Gutow <jgutow@oplabs.co>
2024-05-30 22:33:46 +03:00
|
|
|
module: op-ufm
|
|
|
|
- docker-build:
|
|
|
|
name: op-ufm-docker-build
|
|
|
|
docker_file: op-ufm/Dockerfile
|
|
|
|
docker_name: op-ufm
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
2024-06-11 22:10:20 +03:00
|
|
|
op-proxyd:
|
|
|
|
when:
|
|
|
|
or: [<< pipeline.parameters.run-build-proxyd >>, << pipeline.parameters.run-all >>]
|
|
|
|
jobs:
|
|
|
|
- go-lint:
|
|
|
|
name: proxyd-lint
|
|
|
|
module: proxyd
|
|
|
|
- go-test:
|
|
|
|
name: proxyd-tests
|
|
|
|
module: proxyd
|
|
|
|
- docker-build:
|
|
|
|
name: proxyd-docker-build
|
|
|
|
docker_file: proxyd/Dockerfile
|
|
|
|
docker_name: proxyd
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
2024-06-12 02:27:05 +03:00
|
|
|
release:
|
|
|
|
jobs:
|
2024-06-29 02:37:10 +03:00
|
|
|
- log-config-results:
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^(proxyd|ufm-[a-z0-9\-]*|op-[a-z0-9\-]*)\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
2024-06-12 02:27:05 +03:00
|
|
|
- hold:
|
|
|
|
type: approval
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^(proxyd|ufm-[a-z0-9\-]*|op-[a-z0-9\-]*)\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
2024-09-10 22:01:09 +03:00
|
|
|
- docker-build:
|
|
|
|
name: op-signer-docker-build
|
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-signer\/v.*/
|
|
|
|
docker_name: op-signer
|
|
|
|
docker_tags: <<pipeline.git.revision>>
|
|
|
|
docker_context: .
|
|
|
|
docker_file: op-signer/Dockerfile
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- hold
|
|
|
|
- docker-publish:
|
|
|
|
name: op-signer-docker-publish
|
2024-09-10 23:12:10 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-signer\/v.*/
|
2024-09-10 22:01:09 +03:00
|
|
|
docker_name: op-signer
|
|
|
|
docker_tags: <<pipeline.git.revision>>
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- op-signer-docker-build
|
|
|
|
- docker-tag-op-stack-release:
|
2024-09-10 23:12:10 +03:00
|
|
|
name: op-signer-docker-tag
|
2024-09-10 22:01:09 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-signer\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- op-signer-docker-publish
|
2024-06-12 02:27:05 +03:00
|
|
|
- docker-build:
|
2024-06-12 02:48:11 +03:00
|
|
|
name: op-ufm-docker-build
|
2024-06-12 02:27:05 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-ufm\/v.*/
|
|
|
|
docker_name: op-ufm
|
|
|
|
docker_tags: <<pipeline.git.revision>>
|
2024-06-12 02:37:00 +03:00
|
|
|
docker_context: .
|
|
|
|
docker_file: op-ufm/Dockerfile
|
2024-06-12 02:27:05 +03:00
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- hold
|
2024-06-12 02:44:07 +03:00
|
|
|
- docker-publish:
|
|
|
|
name: op-ufm-docker-publish
|
2024-09-10 23:12:10 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-ufm\/v.*/
|
2024-06-12 02:44:07 +03:00
|
|
|
docker_name: op-ufm
|
|
|
|
docker_tags: <<pipeline.git.revision>>
|
|
|
|
context:
|
2024-06-29 02:37:10 +03:00
|
|
|
- oplabs-gcr-release
|
2024-06-12 02:44:07 +03:00
|
|
|
requires:
|
|
|
|
- op-ufm-docker-build
|
2024-07-24 20:55:35 +03:00
|
|
|
- docker-tag-op-stack-release:
|
2024-09-10 23:12:10 +03:00
|
|
|
name: op-ufm-docker-tag
|
2024-07-24 20:55:35 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-ufm\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- op-ufm-docker-publish
|
2024-06-12 02:27:05 +03:00
|
|
|
- docker-build:
|
2024-06-12 02:48:11 +03:00
|
|
|
name: proxyd-docker-build
|
2024-06-12 00:57:32 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^proxyd\/v.*/
|
2024-06-11 22:10:20 +03:00
|
|
|
docker_name: proxyd
|
2024-06-12 02:27:05 +03:00
|
|
|
docker_tags: <<pipeline.git.revision>>
|
2024-06-12 02:37:00 +03:00
|
|
|
docker_context: .
|
|
|
|
docker_file: proxyd/Dockerfile
|
2024-06-11 22:10:20 +03:00
|
|
|
context:
|
2024-06-12 00:08:34 +03:00
|
|
|
- oplabs-gcr-release
|
2024-06-11 22:10:20 +03:00
|
|
|
requires:
|
2024-06-12 02:27:05 +03:00
|
|
|
- hold
|
2024-06-12 02:44:07 +03:00
|
|
|
- docker-publish:
|
2024-09-10 23:12:10 +03:00
|
|
|
name: proxyd-docker-publish
|
2024-06-12 02:44:07 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^proxyd\/v.*/
|
|
|
|
docker_name: proxyd
|
|
|
|
docker_tags: <<pipeline.git.revision>>
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- proxyd-docker-build
|
2024-07-24 20:55:35 +03:00
|
|
|
- docker-tag-op-stack-release:
|
2024-09-10 23:12:10 +03:00
|
|
|
name: proxyd-docker-tag
|
2024-07-24 20:55:35 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^proxyd\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
2024-09-10 23:12:10 +03:00
|
|
|
- proxyd-docker-publish
|
2024-06-13 22:22:23 +03:00
|
|
|
- docker-build:
|
|
|
|
name: op-conductor-mon-docker-build
|
2024-06-29 02:37:10 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-conductor-mon\/v.*/
|
2024-06-13 22:22:23 +03:00
|
|
|
docker_file: op-conductor-mon/Dockerfile
|
|
|
|
docker_name: op-conductor-mon
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
docker_context: .
|
2024-06-29 02:37:10 +03:00
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
2024-06-26 23:54:53 +03:00
|
|
|
requires:
|
|
|
|
- hold
|
2024-06-13 22:22:23 +03:00
|
|
|
- docker-publish:
|
|
|
|
name: op-conductor-mon-docker-publish
|
2024-09-10 23:12:10 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-conductor-mon\/v.*/
|
2024-06-13 22:22:23 +03:00
|
|
|
docker_name: op-conductor-mon
|
|
|
|
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
|
|
|
|
context:
|
2024-06-29 02:37:10 +03:00
|
|
|
- oplabs-gcr-release
|
2024-06-13 22:22:23 +03:00
|
|
|
requires:
|
|
|
|
- op-conductor-mon-docker-build
|
2024-07-24 20:55:35 +03:00
|
|
|
- docker-tag-op-stack-release:
|
2024-09-10 23:12:10 +03:00
|
|
|
name: op-conductor-mon-docker-tag
|
2024-07-24 20:55:35 +03:00
|
|
|
filters:
|
|
|
|
tags:
|
|
|
|
only: /^op-conductor-mon\/v.*/
|
|
|
|
branches:
|
|
|
|
ignore: /.*/
|
|
|
|
context:
|
|
|
|
- oplabs-gcr-release
|
|
|
|
requires:
|
|
|
|
- op-conductor-mon-docker-publish
|