Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.5.0 to main #683

Merged
merged 208 commits into from
Sep 19, 2024
Merged

V0.5.0 to main #683

merged 208 commits into from
Sep 19, 2024

Conversation

ARR552
Copy link
Contributor

@ARR552 ARR552 commented Sep 19, 2024

What does this PR do?

Moves version 0.5.0 to main

cool-develope and others added 30 commits January 19, 2023 05:42
* wip

* config scirpt

* add ga

* improve mt db operations

* lint fixing

* refactor the mt

* dbTx from synchronizer

* reflect suggestions
* separate bridge service interface from ctrl

* wip

* fix test

* comments

* small fix
* new smc without genesis

* fix node conf

* genesis + network update

* fix config

* fix accounts

* fix node version

* linter
* update the sibling

* small updates

* more comments

* remove unnecessary comments
* indexes + migration test utils

* uncomment migration helper

* add migration tests

* sepcify schema

---------

Co-authored-by: Cool Developer <cool199966@outlook.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
* new smc

* update docker images

* linter

* fix e2e

* fix genesis + prover conf

* new genesis and addresses

* genesis fix

* fix node GenBlockNum

* fix proxy event executor

* node version

* mtHeight as constant
Add a cache to the bridge service to reduce read accesses in getProof
* support new smc and node fflonk

* etherman test

* node config

* addresses + node v0.0.3-RC4

* new config values

* revert time increase

---------

Co-authored-by: Cool Developer <kevin@polygon.technology>
* Feature/smc fork (#304)

* new smc

* update docker images

* linter

* fix e2e

* fix genesis + prover conf

* new genesis and addresses

* genesis fix

* fix node GenBlockNum

* fix proxy event executor

* node version

* mtHeight as constant

* fix forced batches check (#314)

* fix forced batches check

* fix test

* release workflow (#305)

* Feature/fflonk smc (#316)

* support new smc and node fflonk

* etherman test

* go 1.18

* fix node config

* addresses + node v0.0.3-RC4

* new config values

* increase timeouts

* revert time increase

---------

Co-authored-by: Cool Developer <kevin@polygon.technology>

---------

Co-authored-by: Cool Developer <kevin@polygon.technology>
…320)

Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.14.0 to 2.15.1.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](grpc-ecosystem/grpc-gateway@v2.14.0...v2.15.1)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix synchronization when bridge is ahead of the trusted state due to a forkID
mt-polygon-technology and others added 25 commits March 13, 2024 17:16
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.59.0 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.59.0...v1.60.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.13.2 to 1.13.8.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.13.2...v1.13.8)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
* add smartcontract, and refactor claimtxmanager

* fix errors

* first running version, happy path

* implement trigger conditions

* fix some errors

* New architecture

* mocks

* fix claimcompressed smart contract

* script to deploy claimCompressor smc

* claim compressor deployment automated

* FIxes

* new images node + contracts

* new structure

* Wip

* Fix

* db tests + ger

* linter fixes

* e2e

* unit tests

* e2e test

* linter

* add e2e-compress to gha

* extra log

* Extra check

* linter

---------

Co-authored-by: Alonso <ARR551@protonmail.com>
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.3.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.3/CHANGELOG.md)
- [Commits](jackc/pgx@v4.18.1...v4.18.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.14.1 to 1.14.3.
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](jackc/pgconn@v1.14.1...v1.14.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Bumps [github.com/iden3/go-iden3-crypto](https://github.com/iden3/go-iden3-crypto) from 0.0.15 to 0.0.16.
- [Release notes](https://github.com/iden3/go-iden3-crypto/releases)
- [Commits](iden3/go-iden3-crypto@v0.0.15...v0.0.16)

---
updated-dependencies:
- dependency-name: github.com/iden3/go-iden3-crypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <ARR551@protonmail.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.1 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.60.1...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps google.golang.org/protobuf from 1.32.0 to 1.34.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.22.0.
- [Commits](golang/crypto@v0.20.0...v0.22.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* gas offset

* linter
* new reorg implementation

* cleaning empty blocks

* old unit test fixed

* improvement

* testReorg

* latestSyncedBlockEmpty

* Regular reorg

* Latest synced block empty with extra reorg

* Call from empty block and reorg Test

* linter

* isClaimed script

* fix delete script + edge reorg in L2

* Fix unit tests

* linter

* fix tests
* fix chain ID

* fix getSigner
* sync optimizations

* topics optimization + logs

* Sync unit tests

* linter

* fix gha
* Fix root check in verifyBatches

* fix

* ignore empty local exit root
* docker image + make + some other modifications

* Mutilpe rollup and L2-L2 bridges support

* gha tests

* linter

* minor refactor

* linter

* remove imports
* multi autoclaim support + api

* Check reorg fix

* scripts + mt extra test

* e2e test

* AutoClaim Compressor working with multi rollup

* refactor + unit tests + compressor e2e using multi-single-bridge

* linter

* fix e2e

* fix unit tests

* Fix db

* fix tests

* fix e2e

* fix benchmark test

* remove TODO

* comment
@ARR552 ARR552 self-assigned this Sep 19, 2024
Copy link

cla-bot bot commented Sep 19, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Cool Developer.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

sonarcloud bot commented Sep 19, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
23.9% Duplication on New Code (required ≤ 20%)

See analysis details on SonarCloud

@krlosMata krlosMata merged commit fe741f0 into main Sep 19, 2024
8 of 10 checks passed
@krlosMata krlosMata deleted the v0.5.0_to_main branch September 19, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.