Commit Graph

458 Commits

Author SHA1 Message Date
Jacob Elias
58dde68c86 Merge remote-tracking branch 'op-ufm/develop' into merge-op-ufm 2024-05-30 10:49:26 -05:00
felipe
28bb7461e9
feat: op-conductor-mon (#1)
* feat: op-conductor-mon

* Update CODEOWNERS
2024-05-24 14:34:07 -07:00
Sebastian Stammler
efeafadbca Activate Fjord on Sepolia (#10610) 2024-05-22 15:45:56 +00:00
felipe
286dc71134
Initial commit 2024-05-21 12:42:55 -07:00
Sebastian Stammler
cec8223721 Enable Fjord devnet activation (#10573)
* Enable Fjord devnet activation

* chaincfg: add Fjord time to sepolia-devnet-0
2024-05-16 22:25:20 +00:00
dependabot[bot]
0e45c9c70c 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>
2024-05-16 20:35:30 +00:00
Joshua Gutow
7e028e6287 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
2024-05-16 09:10:12 +00:00
dependabot[bot]
68fe8cab8a 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>
2024-05-09 22:40:43 +00:00
Hteev Oli
2f424fd5c6 proxyd: remove unused error (#10444) 2024-05-08 16:20:35 +00:00
dependabot[bot]
0a2c79cafa build(deps): bump github.com/ethereum/go-ethereum in /proxyd (#10413)
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.13.14 to 1.13.15.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.13.14...v1.13.15)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 17:24:36 +00:00
Axel Kingsley
bd91a332e9 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>
2024-05-02 20:42:05 +00:00
dependabot[bot]
ecf4cd3683 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>
2024-04-19 14:56:18 +00:00
George C. Knee
cc341c54c5 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
2024-04-18 17:04:36 +00:00
Danyal Prout
f2e64d3c28 Update proxyd blacklist status to match geth not found status (#10052) 2024-04-17 02:42:13 +00:00
tdot
094edc4fc6 feat(proxyd): customise poller interval and enable cross origin check on web socket upgrader (#10107)
* feat: poller interval arg

* fix: websocket check origin

* fix: check origin behind flag

* fix: rename poller default interval
2024-04-11 22:07:16 +00:00
tdot
16233d85ef 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
2024-04-10 21:53:59 +00:00
sellskin
3a1b2633bb refactor: Optimize code by using built-in constants in the standard library (#9963)
Signed-off-by: sellskin <mydesk@yeah.net>
2024-04-09 16:54:15 +00:00
Roberto Bayardo
c755018400 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
2024-04-08 16:25:24 +00:00
Roberto Bayardo
82b11f53b2 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>
2024-04-04 02:15:15 +00:00
Roberto Bayardo
7470b2c10a 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>
2024-04-04 02:15:15 +00:00
dependabot[bot]
7ac1fc4eb6 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>
2024-04-01 16:51:14 +00:00
George C. Knee
117a2eae13 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>
2024-03-26 19:46:56 +00:00
felipe
84a504dc39 feat(proxyd): ha redis namespace should be both backend group name and the namespace itself (#9955) 2024-03-25 18:10:11 +00:00
felipe
94c236b467 feat(proxyd): add smoke test (#9875) 2024-03-18 18:26:59 +00:00
felipe
fcf6e3323d feat(proxyd): use a specific redis instance for consensus_ha (#9877) 2024-03-18 18:26:39 +00:00
dependabot[bot]
89cb5f5057 build(deps): bump google.golang.org/protobuf in /proxyd (#9851)
Bumps google.golang.org/protobuf from 1.31.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>
2024-03-14 00:37:24 +00:00
felipe
08b38db217 fix(proxyd): log initialization (#9785)
* fix(proxyd): log initialization

* update integration test as well
2024-03-08 00:29:59 +00:00
George C. Knee
854598434c 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
2024-03-06 11:20:11 +00:00
Adrian Sutton
c9a7a93b82 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
2024-03-05 11:30:55 +00:00
Sebastian Stammler
0c5040b2dd op-ufm: pin monorepo dependency, remove replace (#9641)
also udpate op-geth dependency while we're at it
2024-02-24 16:03:28 +00:00
felipe
f44f147313 feat(proxyd): change default cache ttl to 2 hours and make it configurable (#9645) 2024-02-23 21:58:00 +00:00
felipe
a6c9489376 feat(proxyd): improved consensus HA error reporting (#9647)
* feat(proxyd): improved consensus HA error reporting

* error metric should be a counter
2024-02-23 21:17:07 +00:00
Adrian Sutton
0e79b757e2 op-ufm: Update go.mod (#9631) 2024-02-23 00:02:09 +00:00
Adrian Sutton
26628691e4 op-ufm: mod tidy (#9537) 2024-02-14 18:13:25 +00:00
Oak
97767bcfa3 fix: typo on cache_test eth_call (#9462) 2024-02-09 18:11:30 +00:00
Adrian Sutton
01c5c5f62d op-ufm: Update mod tidy again (#9456) 2024-02-09 01:53:00 +00:00
Matthew Slipper
e936116fd5 ci: Skip flaky test (#9437) 2024-02-08 04:05:49 +00:00
Sebastian Stammler
6eaf7ee2b4 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
2024-02-06 21:02:02 +00:00
Sebastian Stammler
d0965178f3 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
2024-02-06 21:02:02 +00:00
refcell.eth
767c040734 chore: clean up makefiles across the monorepo (#8862) 2024-01-06 00:00:03 +00:00
Taeguk Kwon
aa3fef1ef0 op-ufm: use fmt.Errorf() for panic() (#8754) 2024-01-01 22:10:30 +00:00
dependabot[bot]
c1a4964c13 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>
2023-12-19 14:59:06 +00:00
dependabot[bot]
f635c50eb5 build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /proxyd (#8674)
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>
2023-12-18 23:59:12 +00:00
felipe
b1522ace51 feat(proxyd): impl proxyd_healthz method (#8658) 2023-12-18 18:58:18 +00:00
Raffaele
7783eff030 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
2023-12-15 22:46:37 +00:00
Raffaele
ca17102998 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
2023-12-15 22:46:37 +00:00
Joshua Gutow
55757dfacd Aggregate typo fixes 2023-12-13 09:50:18 -08:00
Felipe Andrade
08d64c9c3f extract gas tip cap const 2023-12-12 17:40:45 -08:00
Felipe Andrade
ab7b570df0 address mr rabbits concerns part ii 2023-12-12 17:33:35 -08:00
Felipe Andrade
80ba367c85 address rabbits concerns 2023-12-12 16:43:42 -08:00