Commit graph

72 commits

Author SHA1 Message Date
Péter Garamvölgyi
4797ee9565
ci: update Rust version for build-geth workflow (#1131) 2025-03-04 08:55:02 +01:00
Ömer Faruk Irmak
e426d4bffa
fix: ignore RC check if force committing (#1029)
* fix: ignore RC check if force committing

* rename force to reorging

* use prev goimports version
2024-09-09 18:31:22 +02:00
Ömer Faruk Irmak
2411ae063e
refactor: rename CCC package for less repetition (#967) 2024-08-09 08:21:14 +03:00
Nazarii Denha
e30e1f16fd
feat: Configure l2geth Docker pipeline to push latest tag (#831)
* push latest tag

* push latest tag on release published

* use metadata-action to define tags

* test

* push ref name on push tag or push latest tag on publishing release
2024-07-03 21:47:55 +02:00
colin
4e8468fdb7
fix(CI): remove libzktrie.so (#878)
* remove libzktrie in CI

* remove condition temporarily to trigger testing

* Revert "remove condition temporarily to trigger testing"

This reverts commit ab527adb59ac5e4d7978955bd7e57e37dca4344f.
2024-07-03 16:01:46 +02:00
sbaizet
517e5b4b07
Support arm64 dedicated workflow (#841)
* add self hosted runner to publish arm64 images

* test build with macos and ubuntu arm64

* Add docker to mac runner and remove qemu

* dedicated workflow for arm64 image

* cleaning

* ci: add a different name for workflow docker arm64

* clean workflow

* only build arm64 image and make tag configurable
2024-06-21 15:34:06 +02:00
sbaizet
f2efa44e11
ci: Support arm64 dedicated workflow (#840)
* add self hosted runner to publish arm64 images

* test build with macos and ubuntu arm64

* Add docker to mac runner and remove qemu

* dedicated workflow for arm64 image

* cleaning
2024-06-20 11:07:14 +02:00
colin
60bbfc1c2c
fix(ci): make geth (#801)
* fix(ci): make geth

* fix typo

* revert CI changes

* fix
2024-06-05 19:41:52 +08:00
colin
ab349d6443
ci: fix make geth (#786)
* fix CI

* trigger CI

* add sudo

* use absolute path

* remove libzktrie

* revert CI change
2024-05-30 14:45:13 +08:00
colin
b091e4f9c9
feat(rollup-sync-service): support codecv2 (#726)
* feat(codecv1): support zstd compression

* revert .gitignore changes

* change dependency

* add zstd compression

* bump golang version to 1.21.x

* use codecv2

* remove an invalid command

* tweak

* tweak

* remove libzstd, use .so files in da-codec release instead

* fix CI

* fix CI

* try fix CI

* fix CI

* tweak

* fix

* fix CI

* tweak

* tweak

* address comments

* tweak

* remove cp to /usr/local/lib

* fix CI

* remove cp to /usr/local/lib in CI

* try fix

* fix

* fix

* fix

* remove env GO111MODULE=on

* add .so files to Dockerfiles

* revert make geth changes

* fix Dockerfile changes

* tweak

* revert changes

* tweak

* trigger ci

* update Dockerfiles

* fix

* add codecv2 in decode block ranges from encoded chunks

* address comment

* nit

* update dependencies

* use /scroll/lib/ in testing

* trigger ci

* add unit tests

* chore: auto version bump [bot]

* remove zkp-builder in Dockerfile.mockccc

* fix Dockerfile

* Update Makefile

Co-authored-by: Péter Garamvölgyi <peter@scroll.io>

* use -Wl,-rpath,/scroll/lib/

* change some static values to env var

* update dependency

* change pwd to scroll_lib_path

* fix

* add sudo in mkdir

* add sudo

* update da-codec dependency

* chore: auto version bump [bot]

* chore: auto version bump [bot]

* chore: auto version bump [bot]

* update zstd dependency

* update libscroll_zstd.so and remove libzktrie.so related to zstd

* chore: auto version bump [bot]

* uncomment ./rollup tests

* fix CI

* fix CI

* upgrade libzkp to v0.11.0rc2 (#773)

* upgrade libzkp

* remove zktrie.so

* done

* fix build

---------

Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>

---------

Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
2024-05-30 11:03:31 +08:00
semgrep.dev on behalf of @spilehchiha
34162effbc Add Semgrep CI 2024-05-28 20:46:11 +00:00
semgrep.dev on behalf of @spilehchiha
d81a5387b4 Add Semgrep CI 2024-05-28 19:08:07 +00:00
semgrep.dev on behalf of @spilehchiha
4f9d34b3a4 Add Semgrep CI 2024-05-28 18:57:42 +00:00
sbaizet
6220695d8d
ci - remove arm64 from supported platform (#719)
remove arm64 from supported platform
2024-04-24 11:12:16 +02:00
HAOYUatHZ
bf22663ed6
fix(ci): fix version bot (#705)
* fix(ci): fix version bot

* test

* improve

* Revert "test"

This reverts commit 397b4b236ecf36e546d79e6fd2d104f51ca6e602.
2024-04-17 11:23:00 +08:00
sbaizet
d1055b164b
Ci add support for arm64 platform (#703)
* CI: build image which support arm64 platform

* add qemu on docker workflow
2024-04-17 10:15:23 +08:00
sbaizet
347a0c4d8b
CI: build image which supports arm64 platform (#702)
CI: build image which support arm64 platform
2024-04-16 17:09:46 +08:00
HAOYUatHZ
06f4573e49
ci: add bump_version bot (#538) 2024-03-31 14:56:56 +08:00
Péter Garamvölgyi
7e3a7ae744
ci: fix goimports lint in CI (#628)
* ci: fix goimports lint in CI

* use different go versions for goimports and go mod tidy

* goimports
2024-02-09 13:25:59 +01:00
HAOYUatHZ
88349c600d
feat: add mux tracer for native call tracer and native prestate tracers (#615)
* hack to use native tracers

* update

* fix

* add prestate

* fix marshal

* format

* draft

* move

* separate `MuxTracer`

* fix

* update miner/worker.go

* update api

* rename

* remove

* bump go version

* bump golangci

* goimports lint

* fix tests

* minor

* clean up

* fix tests

* sync error handling

* bump go version in Dockerfiles

* bump version

* lint: disable `goconst` & `goimports`

* bump version again

* add comments

---------

Co-authored-by: lightsing <light.tsing@gmail.com>
2024-01-18 14:58:27 +08:00
HAOYUatHZ
096e7b527a
ci(github): fix geth build workflow (#427)
fix
2023-08-03 10:24:15 +08:00
Xinran
d771db964e
ci(github): fix geth build workflow (#420) 2023-08-03 10:08:53 +08:00
HAOYUatHZ
2f9edf73ca
feat(rollup): add circuits capacity checker (#321)
* add proof for predeployed storages

* reverse inneeded code

* update for mainbranch merging

* add pertx storage trace

* dummy tx proof

* add txstorage trace

* add coinbase storage as trace

* enable (sync) tracing by default

* basic

* init cgo framework

* fix break loop

* integrate the right zkevm version (#323)

* finish rust codes

* use dylib (#325)

* flip

* ?

* use cdylib

* revert

* fix

* apply_tx

* rename

* fixing types

fixing types

fixing types

* clean up

* ExecutionResults (#328)

* filling

* filling

* more

* clean up

* filling

* coinbase

* add

* MPTWitness

* ExecutionResults WIP

* L1fee

L1fee

* sender

* to

* Failed & ReturnValue

* createdAcc & after

* remove MPTWitness

* txStorageTrace

* add FeeRecipient

* add StorageTrace

* fix FFI types

* better logger

* cargo fmt

* fix

* add build tags

* update Makefile

* fix library

* improve ld path

* correctly deal with circuit_capacity_checker returned result

* fix return value

* update cargo (#333)

* update cargo

* update

* update go

* refactor

* raname `circuits capacity checker` to `circuit capacity checker`

* some refactorings

* [Fix] storage proof generation in capacity checker (#348)

* make per-tx storage and deletion proof work

* format

* fix misplaced markdeletion

---------

Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>

* docker (#363)

* update Dockerfile

* build: update go version to 1.19

* update

* fix

* fix

* try

* simplify

* revert go version

update l2geth Dockerfiles

* fix

* fix coinbase

* fix (#369)

* format

* Update version.go

* address comments

* Capacity refactor (#374)

* init

* id

* support multiple instances

* fix id

* fix conflicts

* refactor to use same codes (#379)

* re-init

* WIP

* WIP

* refactor

* go

* minor

* fix storage proof of l1gas price oracle

* move 1

* move 2

* move 3

* move 4

* move 5

move 5

* move 6

move 6

* move 7

* move 8

* move 9

* move 10

* clean up

clean up

---------

Co-authored-by: Ho Vei <noelwei@gmail.com>

* finish basic

* minor

* config capacity check in block_validator (#380)

* init

* done

ref

* fix tests

fix tests

fix tests

fix tests

* add more comments

* apply_block

* improve logs

* cargo fmt

* Capacity big refactor (#383)

* CreateTraceEnv

* WIP

* draft

more

fix

* for test

* fortet

* clean up

* add more comments

* goimports -local github.com/scroll-tech/go-ethereum -w .

* fix typos

* attempt 1

* attempt 2

* attempt 3

* gogogo

* clean up

* fix

* fix

* rename

* minor

* fix

* minor

* minor

* improve doc

* use dedicated `checkCircuitCapacity` flag (#394)

* refactor

* fix

* add lock

* [feat] capacity checking: upgrade libzkp (#395)

* upgrade

* upgrade libzkp

* write RowConsumption (#396)

* write RowConsumption

* name alignments

* revert some formatting

* add lock to CircuitCapacityChecker in BlockValidator

* remove mutex pointer

* improve github workflow

* improve

* store row consumption in mining (#397)

* prepare

* finish

* add more logs

* mark `ApplyBlock` as ready

* update libzkp (#401)

* fix

* Capacity detail (#402)

* fix(block-validation): consider skipping in ValidateL1Messages (#405)

* fix(block-validation): consider skipping in ValidateL1Messages

* fix(block): consider skipping in L1MessageCount

* fix l1 validation tests

* fix NumL1Messages

* fix impl.go return types

fix

* better error handling (#407)

* add

add

* add

* add

* add

* add

* cargo fmt

* add

* update

* add

* WIP

* minor

* gogogo

* gogogo

* fix

* fix

* fix

* cargo clippy

* improve

* improve

* creation lock (#408)

* creation lock

* update

* Debug log (#409)

* add more logs

* more

* more

* fix

* improve

* Update cmd/utils/flags.go

Co-authored-by: Péter Garamvölgyi <peter@scroll.io>

* refactor worker.commit()

* avoid re-calculate

* txpool ccc err handling (#411)

* more explicit error comments

* add more logs

* fix unnecessary commit

* add more logs

* fix `ineffassign`

* add more comments

* log id for `NewCircuitCapacityChecker` (#414)

add log to `NewCircuitCapacityChecker`

* Persist skip info for block where all L1 msgs are skipped (#415)

persist skip info for block where all L1 msgs are skipped

* Update version.go

---------

Co-authored-by: Ho Vei <noelwei@gmail.com>
Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-08-01 13:52:31 +08:00
HAOYUatHZ
fb570dc8c7
ci(github): update pull request template (#349)
* chore(github): update pull request template

* Update pull_request_template.md
2023-05-24 14:50:37 +08:00
HAOYUatHZ
9f981c5713
build(github): update github action yaml (#347)
* build(github): update github action yaml

* fix
2023-05-24 08:15:06 +08:00
Orest Tarasiuk
e1fb1955a0
chore(github): Add PR template to ask for rationale and version update (#327)
Create pull_request_template.md
2023-05-15 17:59:13 +08:00
HAOYUatHZ
49192260a1
build: update github CI trigger conditions (#313) 2023-05-04 21:51:10 +08:00
HAOYUatHZ
60ced6cf4d
build: remove jenkins scripts (#295)
* update github workflow

* update github workflow

* update github workflow
2023-04-20 18:12:46 +08:00
HAOYUatHZ
909fe1d3ec
build(docker): update docker trigger tag prefix (#259) 2023-04-03 17:22:45 +08:00
HAOYUatHZ
c5ad2abe64
build(docker): auto docker push when pushing git tags (#258) 2023-04-03 15:45:55 +08:00
maskpp
d1f9523b08
feat(build): Upgrade go version to 1.18 (#241)
* update go version

* update go version

* format code by goimports

* format code by goimports

* go mod tidy

* update go version

* update go version

* upgrade linter

* add exclude rule

* fix golangci exclude

---------

Co-authored-by: vincent <419436363@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-03-06 13:32:39 +08:00
HAOYUatHZ
bb17b87f71
Update l2geth_ci.yml 2022-03-25 12:08:49 +08:00
Steven
b6cc89fabe
Add goimports lint (#54)
* Add `goimports` lint.

* Fix `goimports` issue.

* Fix group to `github.com/scroll-tech/go-thereum`.
2022-03-24 16:53:59 +08:00
maskpp
20ce5c09fb Enable CI with github actions 2022-01-12 19:34:55 -08:00
ligi
b50b17ac69
github: add note about screenshots in issue template (#22764) 2021-04-29 19:30:37 +02:00
Guillaume Ballet
793c8f889f
add myself as code owner for catalyst (#22778) 2021-04-29 18:36:22 +02:00
Suriyaa Sundararuban
47820ef726
.github: Replace wiki links with new doc pages (#22065) (#22068) 2021-01-04 11:58:51 +01:00
ligi
7e7a3f0f71
github: Remove vulnerability.md (#21894)
This type is automatically offered by github after changing to the new style and a security.md being present
2020-11-24 16:02:53 +01:00
ligi
f6e1aed504
github: Add new style of issue-templates
closes #20024
2020-11-23 13:12:42 +01:00
Guillaume Ballet
86bcbb0d79
.github: remove whisper from CODEOWNERS (#21527) 2020-09-08 23:02:14 +03:00
rene
7d5267e3a2
.github: Change Code Owners (#21326)
* modify code owners

* add marius
2020-07-13 16:20:20 +02:00
Adam Schmideg
6a3daa2a4e
.github: change gitter reference to discord link in issue template (#20896) 2020-04-07 12:16:35 +02:00
Guillaume Ballet
3b0f3483c4 .github: remove 'nonsense' from CODEOWNERS (#20329) 2019-11-19 17:13:42 +01:00
kikilass
b2f696e025 github: Added capital P (#20139) 2019-09-30 22:57:20 +03:00
Adam Schmideg
3d58268bba github: update code owners (#19638)
* Update codeowners

* Add karalabe to clique

* remove codeowner for consensus/clique
2019-05-30 15:34:44 +03:00
Guillaume Ballet
28c8f41b90 Set gballet as codeowner of the smartcard wallet dir 2019-04-08 13:21:22 +02:00
Guillaume Ballet
04a4a23c2d graphql: make gballet codeowner for review notifications (#19251) 2019-03-12 08:42:01 +01:00
Anton Evangelatov
c512d6054d
github: codeowners for p2p/testing (#18517) 2019-01-24 17:22:46 +01:00
Janoš Guljaš
ad849c01d3 .github: add @janos as codeowner for p2p/simulations and p2p/protocols (#18506) 2019-01-23 14:23:45 +01:00
Elad
a6e0285320 .github: reinstate swarm codeowners to p2p package submodules (#18466) 2019-01-22 14:28:28 +01:00