Skip to content

Commit

Permalink
V0.5.0 to main (#683)
Browse files Browse the repository at this point in the history
* feat: add benchmark tests (#280)

* wip

* config scirpt

* add ga

* improve mt db operations

* lint fixing

* refactor the mt

* dbTx from synchronizer

* reflect suggestions

* feat: separate the service from the bridge controller (#289)

* separate bridge service interface from ctrl

* wip

* fix test

* comments

* small fix

* Feature/#291 smc (#292)

* new smc without genesis

* fix node conf

* genesis + network update

* fix config

* fix accounts

* fix node version

* linter

* Refactor the merkle tree to refactor the last siblings in memory (#294)

* update the sibling

* small updates

* more comments

* remove unnecessary comments

* indexes + migration test utils (#295)

* indexes + migration test utils

* uncomment migration helper

* add migration tests

* sepcify schema

---------

Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: cool-developer <[email protected]>

* fix local l1 bridge address (#300)

* refactor the merkle tree

* Refactor the merkle tree to store the updates in the bulk set (#301)

* bulk insert in merkle  tree

* small fix

* add cache to the service

* update github workflows

* Feature/fork (#310)

* 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

* tidy

* support new smc and node fflonk (#315)

* 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 <[email protected]>

* Merge v0.0.2 (#319)

* 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 <[email protected]>

---------

Co-authored-by: Cool Developer <[email protected]>

* Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.14.0 to 2.15.1 (#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](https://github.com/grpc-ecosystem/grpc-gateway/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Pr against develop (#326)

* wip

* add claimtxman

* Fix synchronization when bridge is ahead of the trusted state (#345)

Fix synchronization when bridge is ahead of the trusted state due to a forkID

* fix e2e tests

* add migration tests

* fix duplicate key issue

* Update claimtxman.go

* create claimtx keystore

* update migration sql

* update deposit goroutine

* fix migration

* Feature/#357 rpc (#358)

* sync rpc trusted state + url

* versions

* New event + fix test

* remove broadcast config

* suggestion to avoid duplication in config file

* go mod tidy

* fix tests failures

* Feature/#363 sync (#365)

* remove fatals to handle errors

* log level and refactor

* fix error handling

* Fix/migracion (#368)

* migrations

* fix test

* fix

* fix migrations

* update migrations

* fix invalid nonce

* fix the wrong network ID in the claimtxman

* fix the nonce issue

* Release/v0.0.4 (#385)

* fix retry synchronization after an error (#371)

* fix retry synchronization after an error

* synchronizer test

* create index before delete duplicates (#379)

* create index before delete duplicates

* fix tests

* fix gasprice (#384)

* fix gasprice

* fix e2e tests

* log

* release --clean

---------

Co-authored-by: Cool Developer <[email protected]>

* update versions and go 1.19 (#392)

* update versions and go 1.19

* new conf

* log fix

* reset once in a cycle

* Bump github.com/iden3/go-iden3-crypto from 0.0.14 to 0.0.15 (#402)

Bumps [github.com/iden3/go-iden3-crypto](https://github.com/iden3/go-iden3-crypto) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/iden3/go-iden3-crypto/releases)
- [Commits](https://github.com/iden3/go-iden3-crypto/compare/v0.0.14...v0.0.15)

---
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/lib/pq from 1.10.7 to 1.10.9 (#401)

Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.7 to 1.10.9.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.7...v1.10.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.3 (#397)

Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.1 to 2.25.3.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.1...v2.25.3)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.1 to 2.0.2 (#395)

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* initClaim script (#405)

* initClaim script

* readme

* typo

* Removed the e2e table test as it wasn't being used

* logs (#409)

* logs

* fix log

* fix nonce update (#410)

* Bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#411)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.9.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.54.0 to 1.55.0 (#407)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.55.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.0.7 to 0.0.8 (#406)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.0.7...v0.0.8)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Renames references to smart contracts to a more descriptive name

* Update network config defaults

* Require either network section in config or flag

* Make ClaimTxManager optional

* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Enable/Disable the claimtxmanager explicitly

* Enabled autoclaim in the debug config

* Copied versioning system from zkevm-node

* Use the network ID when updating L2 deposits

* Update db/pgstorage/pgstorage.go

Co-authored-by: Alonso Rodriguez <[email protected]>

* Tested upgrade L2 deposit with different rollups

* fix ignore deposit if fails during gasestimation (#424)

* fix ignore deposit if fails during gasestimation

* log

* suggestion

* fix (#428)

* fix node config (#429)

* Bump github.com/0xPolygonHermez/zkevm-node from 0.0.8 to 0.1.0 (#427)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.0.8 to 0.1.0.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/commits)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/ethereum/go-ethereum from 1.11.6 to 1.12.0 (#426)

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.11.6 to 1.12.0.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.11.6...v1.12.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix initClaim (#431)

* fix initClaim

* linter

* metadata fix (#433)

* Bump github.com/urfave/cli/v2 from 2.25.3 to 2.25.5 (#434)

Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.3 to 2.25.5.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.3...v2.25.5)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix/gha (#383)

* Fix gha

* remove ok-to-test

---------

Co-authored-by: Cool Developer <[email protected]>

* Bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#435)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#436)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Refactor required by zklidium(#437)

* retry if error is different of execution reverted (#446)

* retry if error is different of execution reverted

* linter

* for suggestion

* Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.15.1 to 2.16.0 (#439)

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

---
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.2 to 2.0.3 (#442)

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.1.0 to 0.1.2 (#443)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.1.0 to 0.1.2.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.1.0...v0.1.2)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/urfave/cli/v2 from 2.25.5 to 2.25.6 (#444)

Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.5 to 2.25.6.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.5...v2.25.6)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#447)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Bump google.golang.org/grpc from 1.55.0 to 1.56.0 (#448)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* logs (#449)

* Bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 (#451)

Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.6 to 2.25.7.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.6...v2.25.7)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.3 to 2.0.4 (#452)

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.56.0 to 1.56.1 (#453)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.0 to 1.56.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.0...v1.56.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/rubenv/sql-migrate from 1.4.0 to 1.5.1 (#456)

Bumps [github.com/rubenv/sql-migrate](https://github.com/rubenv/sql-migrate) from 1.4.0 to 1.5.1.
- [Commits](https://github.com/rubenv/sql-migrate/compare/v1.4.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/rubenv/sql-migrate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>

* Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 (#457)

Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add docs on how to fund local L2 account (#455)

* Bump github.com/0xPolygonHermez/zkevm-node from 0.1.2 to 0.1.3 (#458)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.1.2...v0.1.3)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.1.3 to 0.1.4 (#459)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.1.3...v0.1.4)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#460)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.10.0...v0.11.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#461)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/rubenv/sql-migrate from 1.5.1 to 1.5.2 (#474)

Bumps [github.com/rubenv/sql-migrate](https://github.com/rubenv/sql-migrate) from 1.5.1 to 1.5.2.
- [Commits](https://github.com/rubenv/sql-migrate/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/rubenv/sql-migrate
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1 (#475)

Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.14.0 to 1.14.1.
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#480)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.2 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.57.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.16.0 to 2.16.2 (#482)

Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.16.0 to 2.16.2.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.16.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.1.4 to 0.2.2 (#483)

* Bump github.com/0xPolygonHermez/zkevm-node from 0.1.4 to 0.2.2

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.1.4 to 0.2.2.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.1.4...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix script

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.2.2 to 0.2.3 (#485)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.2.2...v0.2.3)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#489)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.12.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.2.3 to 0.2.4 (#490)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.4 to 2.0.5 (#491)

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Feature/#486 update versions (#487)

* Update versions

* Remove log that shows the configuration

* docker compose command

* fix

* remove log db config

* Release/v0.2.0 (#495)

* Remove MaticAddr (#464)

* Increase gasPrice (#466)

* Fix channel listener when claimTxManager is disabled (#468)

* remove unused config param (#470)

* Fix revert check and max rety mechanism (#472)

* Fix revert check and max rety mechanism

* Add maxRetries and retry interval as config params

* force gha

* fix config (#473)

* Check in claimtxmanager to block until l2network is synced (#498)

* Check in claimtxmanager to block until l2network is synced

* Fix monitoring

* fix unit test

* synced log

* remove alice and bob from pr template

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.5 to 2.0.6 (#500)

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.5...v2.0.6)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#506)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/0xPolygonHermez/zkevm-node from 0.2.4 to 0.3.1 (#508)

Bumps [github.com/0xPolygonHermez/zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) from 0.2.4 to 0.3.1.
- [Release notes](https://github.com/0xPolygonHermez/zkevm-node/releases)
- [Changelog](https://github.com/0xPolygonHermez/zkevm-node/blob/develop/.goreleaser.yaml)
- [Commits](https://github.com/0xPolygonHermez/zkevm-node/compare/v0.2.4...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/0xPolygonHermez/zkevm-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.16.2 to 2.18.0 (#507)

Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.16.2 to 2.18.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.16.2...v2.18.0)

---
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/ethereum/go-ethereum from 1.12.0 to 1.13.0 (#509)

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.12.0...v1.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Rodriguez <[email protected]>
Co-authored-by: Alonso <[email protected]>

* Primary keys in db tables (#511)

* Primary keys in db tables

* linter

* TestMTAddLeaf

* linter

* fix benchmarks

* Bump google.golang.org/grpc from 1.58.0 to 1.58.1 (#512)

* Bump google.golang.org/grpc from 1.58.0 to 1.58.1

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.0 to 1.58.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.0...v1.58.1)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* New indexes + tests (#515)

* Bump github.com/ethereum/go-ethereum from 1.13.0 to 1.13.1 (#513)

* Bump github.com/ethereum/go-ethereum from 1.13.0 to 1.13.1

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.13.0...v1.13.1)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Fix/#478 tx history (#517)

* Fix duplicated tx hash in the tx history

* Retry if error getting txByHash

* linter

* fix test

* linter

* log

* Bump google.golang.org/grpc from 1.58.1 to 1.58.2 (#518)

* Bump google.golang.org/grpc from 1.58.1 to 1.58.2

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.1 to 1.58.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.1...v1.58.2)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* autoclaim bridge msg for authorized addrs (#519)

* autoclaim bridge msg for authorized addrs

* variable name

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.6 to 2.0.7 (#521)

* Bump github.com/hashicorp/golang-lru/v2 from 2.0.6 to 2.0.7

Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/ethereum/go-ethereum from 1.13.1 to 1.13.2 (#520)

* Bump github.com/ethereum/go-ethereum from 1.13.1 to 1.13.2

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.13.1...v1.13.2)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Remove blockid (#524)

* Remove blockid

* Set blockID by default to 0 in migration down

* new docker image versions (#526)

* new docker image versions

* Update configuration files

* Bump golang.org/x/crypto from 0.13.0 to 0.14.0 (#527)

* Bump golang.org/x/crypto from 0.13.0 to 0.14.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/crypto/compare/v0.13.0...v0.14.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#528)

* Bump github.com/spf13/viper from 1.16.0 to 1.17.0

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>
Co-authored-by: Alonso Rodriguez <[email protected]>

* remove deposit counter from mt.root table (#531)

* remove deposit counter from mt.root table

* linter

* fix queries

* fix unit test

* fix migration (#549)

* Feature/#533 lx ly (#546)

* update rollup mt

* go 1.21

* MockBridge

* Simulated

* Etherman WIP

* mockBridge with paris

* VerifyBatches

* Addresses, config, docker image, many other little changes

* getRollupID and get mt leaves

* Wip

* decode GlobalIndex

* isLxLy

* RollupProof

* API

* generate globalIndex + test

* tools

* new genesis and docker

* fix

* addresses and genesis fix

* CheckMerkleProof

* e2e

* linter

* linter version

* unit test

* forkID 6

* new smc + genesis + docker image

* new bridge address

* minor fix

* Feature/#555 smc etrog (#556)

* etherman + tests

* smc image

* linter

* Trusted ger sync using l2Blocks + genesis

* new trusted endpoints

* wip

* fixes

* node docker image

* linter + fix unit test

* Feature/v1tov2 (#573)

* update smc + v1tov2 environment

* Events

* logs

* New lastGer custom endpoint implemented

* linter

* Feature/v1to v2 (#576)

* wip

* activate lxly logs

* fix + minor refactor (#577)

* New docker versions of prover + node (#578)

* network bigint

* fix unittest and lint

* fix release

* change github_token

* add goreleaser.yml

* only launch release process if tag is vx.y.z

* Fix wrong relation of claim_tx_hash

* remove binary

* uniitest + skip deposits that the destination is not our rollup

* fix unittest

* revert directives, fix lint

* revert change on GetClaim function

* revert change on release tags

* build docker

* build docker

* build docker

* build docker

* fix push-docker

* stop using log from zkevm-node and imported to brdige service the log class to set the right version

* ignore claims from another rollups

* add log

* Create SECURITY.md

* Bump google.golang.org/grpc from 1.59.0 to 1.60.1 (#563)

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](https://github.com/grpc/grpc-go/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/ethereum/go-ethereum from 1.13.2 to 1.13.8 (#566)

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](https://github.com/ethereum/go-ethereum/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* feat: add default fn to parse default config file (#609)

* auto-claim: group and compress claim transactions (#600)

* 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 <[email protected]>

* Bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.3 (#608)

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](https://github.com/jackc/pgx/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/jackc/pgconn from 1.14.1 to 1.14.3 (#607)

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](https://github.com/jackc/pgconn/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/iden3/go-iden3-crypto from 0.0.15 to 0.0.16 (#605)

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](https://github.com/iden3/go-iden3-crypto/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#604)

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](https://github.com/stretchr/testify/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso <[email protected]>

* Bump google.golang.org/grpc from 1.60.1 to 1.63.2 (#615)

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](https://github.com/grpc/grpc-go/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/protobuf from 1.32.0 to 1.34.0 (#613)

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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump golang.org/x/crypto from 0.20.0 to 0.22.0 (#614)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix nil pointer

* fix slice position (#617)

* gas offset (#623)

* gas offset

* linter

* fix (#625)

* Feature/#612 reorg (#630)

* 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/auth estimage gas (#631)

* fix

* log

* fix chain ID (#636)

* fix chain ID

* fix getSigner

* Feature/optimizations (#663)

* sync optimizations

* topics optimization + logs

* Sync unit tests

* linter

* fix gha

* Fix/check verify batches (#665)

* Fix root check in verifyBatches

* fix

* ignore empty local exit root

* Feature/allow bridges between l2 networks (#669)

* docker image + make + some other modifications

* Mutilpe rollup and L2-L2 bridges support

* gha tests

* linter

* minor refactor

* linter

* remove imports

* Feature/multi net support (#670)

* 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

* fix (#675)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: cool-developer <[email protected]>
Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cool Developer <[email protected]>
Co-authored-by: Albert Callarisa <[email protected]>
Co-authored-by: Albert Callarisa <[email protected]>
Co-authored-by: Arnau Bennassar <[email protected]>
Co-authored-by: Daniel Dimitrov <[email protected]>
Co-authored-by: Thiago Coimbra Lemos <[email protected]>
Co-authored-by: Toni Ramírez <[email protected]>
Co-authored-by: joanestebanr <[email protected]>
Co-authored-by: mtpoly <[email protected]>
Co-authored-by: Léo Vincent <[email protected]>
  • Loading branch information
16 people authored Sep 19, 2024
1 parent d771f80 commit fe741f0
Show file tree
Hide file tree
Showing 145 changed files with 18,738 additions and 2,059 deletions.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Codeowner reviewers:

<!-- Codeowners should review only the part of code that they own, they're added automatically as reviewers and it's good to let them know that they shouldn't do a full review -->

- @Alice
- @Bob
- @-Alice
- @-Bob
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.19.x
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v2
- name: Lint
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/push-docker.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
on:
push:
branches:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*' # this action will only run on tags that follow semver

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
hermeznetwork/zkevm-bridge-service
hermeznetwork/zkevm-bridge-service:2.0
hermeznetwork/zkevm-bridge-service:${{ github.ref_name }}
build-args: |
PRIVATE_TOKEN=${{secrets.GIT_TOKEN}}
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ name: goreleaser
on:
push:
tags:
- 'v*.*.*'
- 'v[0-9]+.[0-9]+.[0-9]+' # this action will only run on tags that follow semver

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.21

- name: Get packr
run: go get -u github.com/gobuffalo/packr/v2/packr2
run: go install github.com/gobuffalo/packr/v2/packr2@v2.8.3

- name: Prepare
run: git reset --hard

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_RELEASE }}
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test-e2e:
strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test-e2ecompress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test
on:
push:
branches:
- main
- master
- develop
- update-external-dependencies
pull_request:
jobs:
test-e2ecompress:
strategy:
matrix:
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}
- name: Test
run: make test-e2ecompress
2 changes: 1 addition & 1 deletion .github/workflows/test-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test-edge:
strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test-l2l2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test
on:
push:
branches:
- main
- master
- develop
- update-external-dependencies
pull_request:
jobs:
test-l2l2:
strategy:
matrix:
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}
- name: Test
run: make test-l2l2
27 changes: 27 additions & 0 deletions .github/workflows/test-multiplerollups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test
on:
push:
branches:
- main
- master
- develop
- update-external-dependencies
pull_request:
jobs:
test-multiplerollups:
strategy:
matrix:
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}
- name: Test
run: make test-multiplerollups
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatedeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: "1.19.x"
go-version: "1.21.x"
env:
GOARCH: "amd64"
- name: Install Protoc
Expand Down
22 changes: 22 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .goreleaser.yaml
builds:
- main: ./cmd/
goos:
- linux
- darwin
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -X github.com/0xPolygonHermez/zkevm-bridge-service.Version={{.Version}}
- -X github.com/0xPolygonHermez/zkevm-bridge-service.GitRev={{.Commit}}
- -X github.com/0xPolygonHermez/zkevm-bridge-service.BuildDate={{.Date}}
- -X github.com/0xPolygonHermez/zkevm-bridge-service.GitBranch={{.Branch}}
release:
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: true
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CONTAINER FOR BUILDING BINARY
FROM golang:1.19 AS build
FROM golang:1.21 AS build

ENV CGO_ENABLED=0
# INSTALL DEPENDENCIES
Expand All @@ -15,6 +15,7 @@ RUN cd /src && make build
# CONTAINER FOR RUNNING BINARY
FROM alpine:3.16.0
COPY --from=build /src/dist/zkevm-bridge /app/zkevm-bridge
COPY --from=build /src/dist/test-deploy-claimcompressor /app/test-deploy-claimcompressor
COPY --from=build /src/test/vectors /app/test/vectors
EXPOSE 8080
EXPOSE 9090
Expand Down
Loading

0 comments on commit fe741f0

Please sign in to comment.