Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Zero Intergration #1751

Closed
wants to merge 25 commits into from
Closed

Zero Intergration #1751

wants to merge 25 commits into from

Conversation

vcastellm
Copy link
Contributor

Description

Please provide a detailed description of what was done in this PR

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

Please complete this section if you ran manual tests for this functionality, otherwise delete it

Documentation update

Please link the documentation update PR in this section if it's present, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

ferranbt and others added 25 commits December 12, 2022 11:30
* Info about code access is added to the trace

* test fix - init snapshot with empty trace
* Setting parent state root in the trace
* Fix minor punctuation mistakes (#1343)

* EVM-533 Nightly slack notificatinos (#1341)

* Add e2e test for allowlist proxy (#1338)

* Add docs/sequences.md with deposit, withdraw, and exit sequences (#1354)

* Add docs/sequences.md with deposit, withdraw, and exit sequences

* Add more detail to exit sequence

* Fix StateSyncResult Event typo

Co-authored-by: Stefan Negovanović <[email protected]>

* Fix arrow typo

Co-authored-by: Stefan Negovanović <[email protected]>

* Rm imx reference

Co-authored-by: Stefan Negovanović <[email protected]>

* Rename NativeERC20.sol to ChildERC20.sol

Co-authored-by: Stefan Negovanović <[email protected]>

* Move sequences.md to docs/bridge

* Rephrase sequence explanation sentences

* Rename Client to User

* Fix deposit sequence and specifer spender in approve()

* Add mapToken() flow

* Add DEPOSIT_SIG flow

Co-authored-by: Goran Rojovic <[email protected]>

* Rm duplicate rows in deposit

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>

* Deploy NFT contracts (#1322)

* Deploy NFT contracts

* Provide flags for existing tokens on the root chain

* Linters fix

* Transactions allow list (#1349)

* Implement transactions allow list

* Evm 505: fuzz tests in nightly build (#1353)

add slack notification for fuzz tests

Co-authored-by: Victor Castell <[email protected]>

* Add receivers to sync state actions (#1358)

* Use buffered channel (#1361)

* EVM-584 Panic -> send on closed channel inside syncer (#1364)

* Obsolete block time flag from server command (#1365)

* refactor(server): remove block time configuration from raw config and server params (#1363)

The block time configuration was removed from the raw config and server params. The initBlockTime function was also removed from the server params.

* Resolve block time from consensus engine parameters

* Provide zero value for block time for dummy and dev consensuses

* Move DefaultBlockTime to IBFT E2E tests

* Make sure that block time is not less than 1 second

---------

Co-authored-by: Flavor Town <[email protected]>

* Deprecate L2 to L1 e2e tests (#1369)

* Update TestIntegratoin_PerformExit

* deposit + widthdraw signature

* Add minting and approval steps in TestIntegratoin_PerformExit

* Obsolete TestL1StateReceiver SC and L2 to L1 E2E tests which were using it

* some comments added

* lint fix

* deployer address

---------

Co-authored-by: Igor Crevar <[email protected]>
Co-authored-by: Nemanja0x <[email protected]>

* Shorten execution time of E2E tests (#1360)

* Provide epoch size to consensus tests

* Fix failing tests

* Rename tests

* Fix comment

* Rely on epoch sizes in TestE2E_Bridge_ChangeVotingPower

* Move getCheckpointBlockNumber to helpers_test

* Introduce waitForRootchainEpoch helper fn

* Consolidate deposit and withdrawal erc20 with multiple commitments per epoch tests

* Consolidate deposit and withdrawals transactions and multiple commitments into single test

* Minor improvements to documentation

* Rootchain fund command minor change

* Try to stabilize ERC 20 deposit and withdrawal test

* Test hardening cont.

* Consolidate basic consensus and sync tests into the one

* Stop timer and create single ticker instance for recurrent checking

* Add eth_call override (#1337)

* Add eth_call override

* Pass lint

* Apply feedback

---------

Co-authored-by: Victor Castell <[email protected]>

* Eth_call override unit test lint fix (#1374)

* Change folders hierarchy for property tests logs (#1371)

* Change folders hierarchy for property tests logs

* Remove unnecessary env variable

* Update yml and Make files

* Comments fix

* Add logging of test parameters

* Comments fix

* Lint fix

* SLACK_TEST_WEBHOOK_URL -> SLACK_EDGE_GITHUB_URL (#1380)

* Move IBFT E2E tests to nighly builds (#1382)

* Support non-validator nodes in e2e tests (#1378)

* Support non-validator nodes in e2e tests

* Comments fix

* Comments fix

* Fix

* Remove validator-set-size from cluster script (#1384)

* "native-token-config" flag added to genesis command (#1376)

"native-token-config" flag added to genesis command
Co-authored-by: Stefan Negovanović <[email protected]>

* Remove unused `Seal` field from the extra data (#1379)

* Remove unused Seal field from the extra data

* Fix tests

* Update field comments

* Typo in e2e workflow file name (#1387)

* Provide correct state sync event logs filter in `TestE2E_Bridge_Transfers` (#1381)

* Fix TestE2E_Bridge_Transfers

* Extract finalBlockNum variable

* Harden TestPeerConnectionUpdateEventCh

* Inline WriteTx invocation

* `eth_getBlockByHash` and `eth_getBlockByNumber` JSON RPC endpoints should omit `Committed` field (#1383)

* Filter extra Committed field in jsonRPC endpoints

* UT

* Fix UTs

* Lint fix

* Comments fix

* Comments fix

* Append `ExtraVanity` to the beginning of the marshaled `ExtraData` (#1391)

* Append ExtraVanity to the beginning of the marshaled extra data

* Build unit tests fix

* Fix test

* Fix by not adding ExtraVanity twice

* Bump github.com/prometheus/client_golang from 1.13.1 to 1.15.0 (#1395)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.1 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.1...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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/hashicorp/go-hclog from 1.3.1 to 1.5.0 (#1393)

Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v1.3.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-hclog
  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>

* [EVM-586]: Paralelize fund transactions sending (#1399)

* Parallelize execution of fund commands on root

* Use errgroup

* Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.43.1 to 1.49.1 (#1398)

Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.43.1 to 1.49.1.

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  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/libp2p/go-libp2p-pubsub from 0.8.1 to 0.9.3 (#1397)

* Bump github.com/libp2p/go-libp2p-pubsub from 0.8.1 to 0.9.3

Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.8.1 to 0.9.3.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.8.1...v0.9.3)

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

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

* Small adaptation due to dependency change

---------

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

* Bump google.golang.org/grpc from 1.50.1 to 1.54.0 (#1396)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.50.1 to 1.54.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.1...v1.54.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/multiformats/go-multiaddr from 0.7.0 to 0.9.0 (#1394)

Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.7.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multiaddr
  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>

* Remove manifest init step from network bootstrap workflow (#1389)

* Remove manifest init step from bootstraping

* Merge premine-validators with premine flag in genesis command

* Remove event tracker start blocks flag
from genesis cmd

* Premine validators fix

* Add comment

* Rename initcontracts to deploy

* Print JSON RPC address to rootchain deployment

* Remove manifest command from cluster script

* Remove leftover manifest flag and update docs

* Fix MD violations in the Regenesis procedure doc

* Merge logical conditions

* Address comments

* Address comment

* Handle all errors when validating genesis path in the rootchain deploy cmd

* Allowlist package refactor and blocklist implementation (#1388)

* Allowlist package refactor and blocklist implementation

This is a refactor of the allowlist package to make it more generic as it's now used for both allowlist and blocklist. It also adds the blocklist implementation.

* Bump golang version to 1.19 (#1402)

* Bump golang version to 1.19

* Update docs, Dockerfile and goreleaser version

* Bump github.com/hashicorp/vault/api from 1.8.2 to 1.9.1 (#1405)

Bumps [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) from 1.8.2 to 1.9.1.
- [Release notes](https://github.com/hashicorp/vault/releases)
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault/compare/v1.8.2...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault/api
  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 go.etcd.io/bbolt from 1.3.6 to 1.3.7 (#1197)

Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.6...v1.3.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
  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>

* ERC 1155 tokens bridge integration (#1332)

* Generate ERC1155 bindings

* Initialize contracts

* Deposit ERC1155 tokens

* Withdraw ERC1155 tokens

* ERC1155 E2E test

* Rename withdraw result

* Provide corret child predicate address to the root predicate

* Pass E2E test

* Refactor commands and E2E test a bit

* Simplifications

* Simplify ERC 20 bridge commands

* Address comment

* Comment

* Move disabled root predicate dummy address to a const

* Update SC spec

* Fix ERC-1155 bridge e2e test

* Regenerate SC without logs

* Allow usage of localstack AWS SSM Parameter Store (#1327)

* allow aws localstack connection

* fix linter

* ERC 721 tokens bridge integration (#1348)

* Integrate ERC 721

* Simplify ERC721 parameters

* Fix initialization of ChildERC721Predicate contract

* Minor fixes

* More fixes...

* Pass e2e test

* Sanitize smart contracts from debug logs

* Add owner of assertions for rootchain ERC 721

* Use constants for default JSON RPC addresses

* Rebase fix

* WriteFailedReceipt removed (#1403)

* WriteFailedReceipt removed
Co-authored-by: Stefan Negovanović <[email protected]>

* Bump cloud.google.com/go/secretmanager from 1.8.0 to 1.10.0 (#1102)

Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.8.0 to 1.10.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/dlp/v1.8.0...asset/v1.10.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/secretmanager
  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.1 to 1.8.2 (#1419)

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

---
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>

* Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1416)

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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>

* Resolve todo comments in json rpc test (#1400)

* Resolve todo comments in json rpc test

* Bump golang.org/x/tools from 0.6.0 to 0.8.0 (#1414)

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.6.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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>

* enabling nightly builds - nightly devnets & loadtests (#1359)

* DVT-561 Add nightly build loadtest workflow

* keep state for now

* add loadtest to the nightly flow

* trigger with PR

* fix input runner situation

* add some comments

* rename

* added output of load test to the nightly build notification

* changes to the nightly flow for new edge version

* more changes for the new template

* fix to work with the latest version of edge

* change branch to develop

* do not build manual PR

* Bump github.com/umbracle/fastrlp (#1413)

Bumps [github.com/umbracle/fastrlp](https://github.com/umbracle/fastrlp) from 0.0.0-20220527094140-59d5dd30e722 to 0.1.0.
- [Release notes](https://github.com/umbracle/fastrlp/releases)
- [Commits](https://github.com/umbracle/fastrlp/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: github.com/umbracle/fastrlp
  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.6.0 to 0.8.0 (#1415)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.8.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>

* Implement EIP-1559 feature (#1120)

* Utilize typed atomics (#1407)

* Utilize atomic.Bool

* Use atomic.Pointer

* Address comments

* Cleanup `build` and `fuzz-test` GH workflows (#1410)

* Remove redundant steps and add names to steps which were missing it

* Add workflow_dispatch to E2E tests and property tests

* Remove helper scripts from git index

* fix for nightly load test - unit test not working (#1430)

* remove manual flow for nightly load test

* output fix

* fix nightly.yml merge error

* Fix txpool unit tests (#1429)

* Enable all forks at genesis and add unit test which checks that dynamic fee tx gets rejected if london hardfork is not enabled

* Minor change

* Fix

* Add precompiles for Bridge Allow/Block lists (#1422)

* Bump github.com/envoyproxy/protoc-gen-validate from 0.9.1 to 1.0.0 (#1428)

Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 0.9.1 to 1.0.0.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases)
- [Changelog](https://github.com/bufbuild/protoc-gen-validate/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v0.9.1...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump github.com/dave/jennifer from 1.6.0 to 1.6.1 (#1420)

Bumps [github.com/dave/jennifer](https://github.com/dave/jennifer) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/dave/jennifer/releases)
- [Commits](https://github.com/dave/jennifer/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/dave/jennifer
  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>

* Add burn contract address in the cluster script (#1441)

* fix broken unit test due to changed loadtest inputs (#1432)

* revert loadtest argument variables

* fix: rpc_url.txt file name

* --burn-contract

* keep manual flow in for the time being

* final test on manual flow

* block out manual flow

* Update .github/workflows/manual.deploy.nightly.devnet.yml

Co-authored-by: Victor Castell <[email protected]>

---------

Co-authored-by: Victor Castell <[email protected]>

* fix the unit test  (#1444)

* add runner name

* add back runner workflow call input

* disable manual flow and fix nightly.yml

* Bump google.golang.org/grpc from 1.53.0-dev to 1.56.0-dev (#1437)

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

---
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 pgregory.net/rapid from 0.5.5 to 0.5.7 (#1451)

Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid) from 0.5.5 to 0.5.7.
- [Release notes](https://github.com/flyingmutant/rapid/releases)
- [Commits](https://github.com/flyingmutant/rapid/compare/v0.5.5...v0.5.7)

---
updated-dependencies:
- dependency-name: pgregory.net/rapid
  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>

* Disable london hardfork if burn contract address is not provided (#1454)

* Fix test timeout  related to min connected peers (#1443)

* TxnType is not returned in JSON-RPC response (#1440)

* bug: returning txn.Type in rpc response

* tests: TxType being read as argUint64

* formatting: linting fixes

* tests: dyanamic tx

* [RFC-201/205] Staking and validator storage rework (#1442)

* Use rework branch on core-contracts

* EVM-578: Deploy new contracts for staking and supernets (#1368)

* Deploy root contracts

* New child contracts deployment

* Lint fix

* nil reference exception fix

* Comments fix

* Rebase fix

* [RFC-201/205]: EVM-596-Change whitelist and register commands (#1404)

* Change whitelist and register commands

* Build fix

* Lint fix

* Include submodule fix

* Remove leftover const

* Minor change

* Minor updates

* Check error before checking doesMatch flag

* Add private key flag to whitelist command

* two new GetXYZFromSecret methods

* Change whitelist command for secrets

* Lint fix

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Igor Crevar <[email protected]>

* [RFC-201/205]: EVM-603-Register supernet and child chain (#1406)

* Register child chain to StakeManager

* Lint fix

* Small fix

* Comments fix

* [RFC-201/205]: EVM-606-Change stake command (#1408)

* Change stake command

* Build fix

* Bring commands back to polybft command

* Validate jsonRPC address

* Comments fix

* Build fix

* Lint fix

* [RFC-201/205]: EVM-608-Supernet command (#1409)

* Supernet command

* Use GetECDSAKey in whitelist command

* Validate jsonRPC address

* Comments fix

* Comments fix

* Rebase fix

* [RFC201/205]: EVM-613-Change validator info command (#1421)

* Change validator info command

* Lint fix

* [RFC-201/205]: EVM-582-Validate validator set delta (#1423)

* Validate validator set delta

* Lint fix

* Remove comment

* Add test

* [RFC-201/205]: EVM-580-Update validator set in stake manager (#1431)

* Initial changes

* Lint fix

* Comments fix

* Comments fix

* Remove comment

* Comments fix

* Improve sorted map

* Comments fix

* Lint fix

* Add comments in code

* Comments fix

* New UT

* Lint fix

* Call stakeManager in consensus runtime

* Testing deterministic behavior of sort by stake

* simple changes

* even simplier things

* different stakeMap and some refactoring

* lower number of execution times for test

* fix

---------

Co-authored-by: Igor Crevar <[email protected]>

* [RFC-201/205]: EVM-619-Commit-epoch-on-new-ValidatorSet-contract (#1436)

* Initial changes

* Change withdraw command

* Unstake command change

* Remove ChildValidatorSet

* Deploy MockRewardContract

* Deploy contract fix

* Lint fix

* Fix sc_integration_test

* Separate unstake and withdraw

* Comments fix

* [RFC-201/205]: EVM-622-Save full validator set in db (#1445)

* Save full validator set in db

* Lint fix

* Fix

* Test fix

* validatorStakeMap refactor

* lint fix

---------

Co-authored-by: Igor Crevar <[email protected]>

* [RFC-201/205]: EVM-579-Change deployment steps in e2e tests (#1446)

* Add whitelist and register validator steps to e2e tests

* Initial staking on genesis

* Finalize genesis set on supernet manager

* Parallelize register and stake commands

* Lint fix

* Small optimization

* Comments fix

* Return negative case MakeKOSKSignature test

* Lint fix

* [RFC-201/205]: Reward token configuration (#1453)

* New init of contracts

* Reward token configuration

* Rebase fix

* Lint fix

* Validate wallet amount in genesis

* Comments fix

* Comments fix

* Comments fix

* Return chainId in KOSK signature

* Fix KOSK signature

* [RFC-201/205] E2E test fixing (#1452)

* WithoutBridge

* fix fund command test

* Remove WithBridge invocation

* Rename error message

* Rename to initializeNew (unblock whitelist)

* kosk refactor

* Kosk key fix

* Lint fix

* Kosk signature print

* Remove chainID from register command

* Remove leftovers and lint fixes

* Remove chain-id flag from register validator command

* Remove feat-polybft-release for core-contracts submodule

* Remove delegation e2e test

* GetValidatorInfo refactor

* Remove comments

* Latest SC spec

* Leftover and comment

* Fix Test_MakeKOSKSignature

* Fix GetValidatorInfo, partially fix stake function

* RewardPool updates

* Withdraw child and withdraw root functions, obsolete e2e test with delegate

* Increase timeout to 1.5h

* Lint fix

* Register and white list validators

* Fix typo

* ChangeVotingPower test fix

* Lint fix

* Fund per validator

* Unstake test fix

* amount should be big.Int

* Update SCs and lint fix

* Fix TestE2E_Consensus_MintableERC20NativeToken

* Fix TestE2E_Consensus_Validator_Unstake

* Unstake test fix

* Fix RegisterValidator test

* Lint fix

* ChangeVotingPower test modification

* TestIntegration_CommitEpoch fix

* Fix TestE2E_Bridge_ChangeVotingPower

* Minor fixes

* Fix TestE2E_Bridge_ChangeVotingPower (part 2)

* Update smart contracts

* Remove commented code

* RFC-201-205 Stake manager db fix (#1457)

* stake manager db fix

* bls key

* Fix with Data field error on logs

* Fix timeout

* Fix test timeout

* Copy data array

* Remove log copying from bindings generator

* Wait for epoch ending block in ChangeVotingPower e2e test

* Persist initial validator set as epoch id 0

---------

Co-authored-by: Goran Rojovic <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>

* Update README

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>

* Update stake in genesis based on finalized stake on StakeManager

* Lint fix

* Remove init function from consensus_test.go

* Small code cleanup

* Reward config fix

* E2E test for custom reward token

* Lint fix

* New stake manager UTs

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Igor Crevar <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>

* Remove AddLog function and add comments (#1465)

* Integrate bridge access list contracts (#1456)

* Integrate AccessLists predicates

In the same address as the alternative ERC20/721/1155 Predicates

* New docker login for release

* Relase action

* Fix secrets

* Fix release

* Fix release

* Global DOCKER_CONFIG

* Parallelize bootstrap rootchain CLI commands (#1468)

* Paralelize fund command

* Paralelize rootchain contract deployment

* Parallelize rootchain contracts initialization

* Decrease timeout to 1h

* Rootchain CLI commands parallelization follow up (#1473)

* Small refactor of IsValidAddress

* Output successful results even in case of errors for rootchain fund and rootchain deploy commands

* Misspelling fix

* Remove leftover

* Filter out nil results

* Make error msg more verbose

* Fix timeout in register validator e2e test

* Provide mintable parameter as a part of native token config (#1472)

* Provide mintable parameter as a part of native token config

* Change mintable flag to boolean and make it mandatory

* Minor change

* Remove check for zerohash (#1481)

* Remove bridge allow/block list admin vars (#1482)

* Specific error for bridge test
* Remove BridgeAllowListAdmin BridgeBlockListAdmin param
It's redundant as we already have all necessary data in chain config.
* Update core-contracts branch

* Bump golang.org/x/sync from 0.1.0 to 0.2.0 (#1480)

Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/golang/sync/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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>

* nightly with v0.9 (#1484)

* nightly with v0.9

* add the premine wallet

* back to main branch

* remove manual flow

* Explicitly notify about chain id usage (#1494)

Include comment in flag help and verify it when building genesis for Polybft

* update README for Edge v0.9.0 (#1498)

* Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1 (#1478)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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 gopkg.in/DataDog/dd-trace-go.v1 from 1.49.1 to 1.50.1 (#1479)

Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.49.1 to 1.50.1.

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  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/tools from 0.8.0 to 0.9.1 (#1486)

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.8.0...v0.9.1)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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 RLP marshal byte array and enhancements to stake manager (#1461)

* different stake in stake manager handling + marshal fix + additional logs

* cr fixes

* additional

* cr fix

* Fix timeout in test

* new fastrlp

* Use NewBytes instead of NewCopyBytes as it is wrapper around NewCopyBytes

* Use NewCopyBytes in rlp_marshal.go

---------

Co-authored-by: Igor Crevar <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>

* Bump cloud.google.com/go/secretmanager from 1.10.0 to 1.10.1 (#1490)

Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.10.0...kms/v1.10.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/secretmanager
  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/envoyproxy/protoc-gen-validate from 1.0.0 to 1.0.1 (#1488)

Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases)
- [Changelog](https://github.com/bufbuild/protoc-gen-validate/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
  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.8.0 to 0.9.0 (#1489)

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>

* Extracted validator related structures into consensus/polybft/validator package (#1493)

* Extracted validator related structures into consensus/polybft/validator package

* Extracted ValidatorSetDelta tests into separate file

* Restore running edge in local (#1502)

* Restore cluster script

* Additional header validations (#1508)

Additional header validations
Co-authored-by: Stefan Negovanović <[email protected]>

* Fix `TestProperty_DifferentVotingPower` by providing randomized stake amounts (#1507)

* Fix test by providing randomized stake amount to different validators

* Provide count flag instead of timeout

* Provide rapid.checks flag

* Fix `eth_getCode` for non-empty accounts without code (#1474)

* Fix eth_getCode for non-empty accounts without code (#1238)

* Fix and debugging logs

* remove debugging logs

* Move to types.EmptyCodeHash

* nit

---------

Co-authored-by: Stefan Negovanović <[email protected]>

* Lint fix

* Test get code for empty code hash

Foo

* Cleanups

* Simplify

* Add comment in test

* Add test for SetCode and GetCode functions

---------

Co-authored-by: Trevor Porter <[email protected]>

* Fix Lint GH workflow (#1512)

* Remove ignored branches and increase timeout

* Broader triggers

* Add verbose output

* Bump cloud.google.com/go/secretmanager from 1.10.0 to 1.10.1 (#1505)

Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.10.0...kms/v1.10.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/secretmanager
  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>

* Differentiate `chain-id` and `supernet-id` (#1521)

* Differentiate chain id and supernet id

* Small change

* De-clutter devnet/testnet deployment workflows (#1514)

* Remove build and push container from devnet deployment workflow

* Remove build and publish docker container from devnets deployment workflows

* Remove unit test execution from devnets deployment workflows

* Fix indentation and add events to pull request trigger (#1526)

* Update Ethereum tests spec to v10.4 (#1466)

* Add common.RetryForever() and use for concurrent sync operations (#1503)

* Add common.RetryForever() and use for concurrent block/event synchronisation operations that can take a long time and fail at any point.

* EVM-666: Fix `eth_getLogs` index issue (#1533)

* Fix logIndex value setting

* Comments fix

* Exclude ethereum tests folder from sonar

* Change chain ID to supernet ID (#1536)

* Move dispatcher failed dispatch method from ERROR to WARN log severity (#1525)

* fix benchmarking results (#1522)

* manual deploy nightly

* set up test devnet

* run load test

* run ansible

* one-liner

* final run with properly premined test account

* delete the test state and do final run

* remove 1559 stuff that is not needed for nightly

* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#1532)

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

* Fix cluster script (#1539)

* EVM-525 Write load test for adding peers (#1537)

* Allow min commitment of single state sync event (#1475)

* Allow min commitment of single state sync event

* Fix assertion in checkStateSyncResultLogs

* Change assertions so that multiple deposit batches test can be run independently

* Remove unnecesary cast

* Add UT

* Reorganize files

* Fix UT

* Remove constant

* Fix

---------

Co-authored-by: Goran Rojovic <[email protected]>

* Renamed base fee json field (#1538)

* Add a flag to `deploy` command for stake manager address (#1520)

* Do not deploy stake manager if already deployed

* Command for deploying stake manager

* Parallel deployment in stake-manager-deploy command

* Comments fix

* Added Stake Manager fuzz tests (#1500)

* Added Stake Manager fuzz tests

* Changed helper functions to receive interface common to T, B, and F

* Use json.Unmarshal instead of go_fuzz_utils. Added seed corpus

* CR changes

* Introduce BASEFEE opcode (#1469)

* Modify rootchain command to use the provided private key to fund validators (#1540)

* Modified rootchain command to use the provided private key to fund validators

* EVM-665 No Log Bloom (#1550)

* EVM-671 Fix block tracker WithBlockMaxBacklog for state_sync_relayer (#1543)

* Reject future blocks  (#1509)

* Additional header validations

* blocks from the future forbidden

* lint fix

* log improved

* ut fixed

* ut fixed

* UT fixes

* Added block time drift in the genesis command

* CR changes

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Marko Jelaca <[email protected]>

* Fix Subnet Genesis Finalize (#1545)

* Revert to previous Umbracle to fix eth_call. Attempt to make finalize gensis idempotent so it can be re-run.

* Pull in fix from ethgo.

* Update cluster script for new stake manager deploy flow (#1553)

* Fix `eth_getStorageAt` always returning 0 (#1558)

* fix eth_getStorageAt always returning 0 (#1546)

* Fix failing unit tests

---------

Co-authored-by: typestring <[email protected]>

* Return hex encoded number in eth_getBlockTransactionCountByNumber endpoint (#1559)

* Write minValidatorCount to genesis.json (#1547)

* Write the value from the genesis '--min-validator-count' flag to the genesis.json output

* Update comment on MinValidatorSetSize

Co-authored-by: Stefan Negovanović <[email protected]>

---------

Co-authored-by: Stefan Negovanović <[email protected]>

* Deploy child chain mintable predicates (#1516)

* Introduce mintable predicates

* Introduce new contracts and deploy rootchain ones

* Simplify and unify all initializers to use initContract function

* Update SC spec

* Initialize child chain mintable predicates

* Rebase fix

* Remove dead code

* Bump github.com/hashicorp/vault/api from 1.9.1 to 1.9.2 (#1562)

Bumps [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/hashicorp/vault/releases)
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault/api
  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>

* Introduce access list child chain mintable predicates (#1549)

* Introduce ACL mintable predicates

* Deploy and initialize ACL miintable predicates

* Fix e2e tests

* Fix dependabot PRs reviewers (#1563)

* Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.50.1 to 1.51.0 (#1555)

Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.50.1 to 1.51.0.

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  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>

* Restore logs output functionality in cluster script (#1561)

* Remove legacy contract deployment whitelisting mechanism (#1556)

* Remove legacy contract deployment whitelisting mechanism

* Lint fix

* Rename unit test

* Additional EIP-1559 transaction unit tests

* Introduce a new version of go ibft (#1392)

 introduce a new version of go-ibft (HasQuorum is a part of go-ibft)


Co-authored-by: Stefan Negovanović <[email protected]>

* Bump golang.org/x/tools from 0.9.1 to 0.9.2 (#1575)

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.9.1...v0.9.2)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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/stretchr/testify from 1.8.3 to 1.8.4 (#1574)

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>

* Bump pgregory.net/rapid from 0.5.7 to 0.6.1 (#1573)

Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid) from 0.5.7 to 0.6.1.
- [Commits](https://github.com/flyingmutant/rapid/compare/v0.5.7...v0.6.1)

---
updated-dependencies:
- dependency-name: pgregory.net/rapid
  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 cloud.google.com/go/secretmanager from 1.10.1 to 1.11.0 (#1572)

Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.10.1...kms/v1.11.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/secretmanager
  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>

* EVM-677: Fix log index issue on `eth_getTransactionReceipt` (#1576)

* Fix log index issue

* Comments fix

* jesse/fix-nightly-latest (#1570)

* jesse/fix-nightly-latest

* fix nightly script

* enhance script

* Revise and fix cluster script when ran in docker mode (#1571)

* Return Revert result as Data (#1566)

* Return Revet result as Data

This allows returning custom revert errors from solidity, they are ABI encoded functions that can represent rich and gas efficient revert messages.

* EVM-607 Hard-forking PoC (#1544)

* EVM-519 Resolve slashing related TODOs in the code (#1581)

* Prevent ACL admins to remove themselves (#1578)

* As an admin I can not change my own role

* EVM-523 Fix race condition in gas estimation (#1583)

* Bump pgregory.net/rapid from 0.6.1 to 0.6.2 (#1586)

Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid) from 0.6.1 to 0.6.2.
- [Commits](https://github.com/flyingmutant/rapid/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: pgregory.net/rapid
  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>

* Child chain mintable predicates E2E tests (#1560)

* Simplify helper bridge commands

* Prevent mapping childchain mintable native token on non-mintable predicate

* Provide stake token address to rootchain deploy command

* WIP

* Revert not needed changes

* Mintable native token bridge transfer E2E test

* Wrap up bridge native erc20 mintable e2e test

* Update smart contracts spec

* Register bridge common flags at once

* Provide stake token address where missing

* Fix E2E tests

* Remove isExitEventProcessed helper function

* E2E tests for access list mintable predicates

* ERC-721 tokens bridging E2E test WIP

* Fix warnings

* Decouple minter and sender key in deposit commands

* Update README

* ERC-721 owner of helper function

* Fix deposit commands

* Update to the latest SC spec and remove not needed bindings

* Wrap up ERC721 tokens bridging E2E test

* Fix unit test

* Comment

* Comments

* Change exit event ids from string to big int in deposit and withdraw results

* Update to the latest SC spec

* Fix race condition

* Introduce buffered channel

* Consolidate bridge transaction result structs (#1584)

* Consolidate bridge transaction result into single struct

* Update SC to the latest spec

* Fix

* Add json tag to title field

* fixed error handling for op code CREATE2 (#1587)

* EVM-675 Implement additional metrics (#1564)

* Consensus metrics

* P2P and Syncer metrics

* TxPool metrics

* JsonRpc metrics

* Small fix

* Lint fix

* Comments fix

* Comments fix

* Comments fix

* Transaction relayer fetching gas price from current eth client instead of using hardcoded value (#1589)

* modified txRelayer to fetch gasprice from current eth client instead of hardcoded one

* fetch gas price only if default is 0

* Don't set gas price explicitly when using tx relayer

* unexported defaultGasPrice constant

---------

Co-authored-by: adirola <[email protected]>

* EVM-437 Batch calls over websockets not working properly (#1588)

* Extract reward token approve transaction to a separate function (#1594)

* Remove Prometheus metrics expiration time (#1592)

* Remove Prometheus metrics expiration time

* Minor param related fixes (#1596)

* tx pool debug level logging optimizations (#1609)

* Update smart contracts (#1602)

* Update smart contracts

* Generate SC bindings

* [EVM-528]: Resolve TODOs in state code (#1597)

* Resolve TODOs

* Try to reuse single arena pool instance

* Get rid of some panics in state/txn.go

* Fix block builder UT

---------

Co-authored-by: Stefan Negovanović <[email protected]>

* Improve TestStateSyncerManager_EventTracker_Sync (#1608)

* jesse/fix-nightly-v1.0.0-rc1 (#1600)

* jesse/fix-nightly-v1.0.0-rc1

* add back wallet creation

* setup node

* install node

* remove node and npm stuff

* Allow providing mintable native token owner account (#1603)

* Allow providing mintable native token owner account

* Fix test

* Fix

* Add extractNativeTokenMetadata unit test

* Introduce new version of go-ibft (#1611)

* Fix (#1612)

* [EVM-685]: Remove premining of validator balances on L2 for non-mintable tokens (#1598)

* Remove premining of balance of validators on L2

* Don't allow premine if native token is non-mintable

* E2E tests fix

* Rebase fix

* Lint fix

* Fix (#1614)

* remove unnecessary flags (#1615)

* remove unnecessary flags

* add back native token config as its required for staking

* EVM-689 The impact of database saving failures on Stake Manager functionality (#1607)

* Print child token address as part of deposit commands (#1616)

* fix deposit_erc20 send with channel

* Extract child token address and print it in the bridge deposit command

* Filter nil exit event ids

* Remove Event interface

---------

Co-authored-by: Igor Crevar <[email protected]>

* Bump pgregory.net/rapid from 0.6.2 to 1.0.0 (#1613)

Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid) from 0.6.2 to 1.0.0.
- [Release notes](https://github.com/flyingmutant/rapid/releases)
- [Commits](https://github.com/flyingmutant/rapid/compare/v0.6.2...v1.0.0)

---
updated-dependencies:
- dependency-name: pgregory.net/rapid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Validate commitment bridge transactions for finalized blocks (#1599)

* Cluster script fix (#1622)

* [EVM-706]: Provide native token initial total supply (#1623)

* Add initial total supply to native erc20 tokens

* Comments fix

* UT fix

* allow bridge ACLs to be updated without checking if sender has permission to send other txs (#1625)

* feat: match runtime errors with geth (#1619)

* feat: match runtime errors with geth

* chore: linting fixes

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

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>

* Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#1634)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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/sync from 0.2.0 to 0.3.0 (#1632)

Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/golang/sync/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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/libp2p/go-libp2p-kbucket from 0.5.0 to 0.6.3 (#1633)

Bumps [github.com/libp2p/go-libp2p-kbucket](https://github.com/libp2p/go-libp2p-kbucket) from 0.5.0 to 0.6.3.
- [Release notes](https://github.com/libp2p/go-libp2p-kbucket/releases)
- [Commits](https://github.com/libp2p/go-libp2p-kbucket/compare/v0.5.0...v0.6.3)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p-kbucket
  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/tools from 0.9.2 to 0.10.0 (#1631)

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.9.2...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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>

* [EVM-701]: Validate `ExitRootHash` in `CheckpointData` (#1638)

* Initial changes

* Comments fix

* Modified the cluster script to log message when jq is not installed (#1626)

* EVM-709 Log contract deployment transaction details (#1627)

* Log contract deployment transaction details

* Changed log message

* Changed log message

* Log transaction used gas

* Bump Go version to 1.20 (#1636)

* Bump Go version to 1.20

* refernece the latest ethgo (#1641)

* [EVM-697]: Implement `eth_maxPriorityFeePerGas` (#1629)

* Initial change

* UTs

* Small fix

* Small fix

* Comments fix

* Comments fix

* Comments fix

* Comments fix

* Fix (#1646)

* e2e fixed (#1639)

* Execute nightlies on demand (#1650)

* Reference latest ethgo (#1653)

* set latest ethgo

* Remove default mock tokens deployment from rootchain deploy command (#1642)

* Remove default mock tokens deployment from rootchain deploy command

* Fix E2E tests

* Remove unused flag names

* EVM-713 Fork manager params (#1645)

* go.mod fix (#1658)

* TestPeerConnectionUpdateEventCh (#1662)

* Ensure that the same child token addresses are calculated on both chains (#1621)

* Provide correct addresses for child token templates to predicates

* Assert that rootTokenToChildToken exists in the provided predicate ABI

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

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 gopkg.in/DataDog/dd-trace-go.v1 from 1.51.0 to 1.52.0 (#1659)

Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.51.0 to 1.52.0.

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  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 cloud.google.com/go/secretmanager from 1.11.0 to 1.11.1 (#1643)

Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.11.0...asset/v1.11.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/secretmanager
  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>

* added jq dependency (#1666)

* Print additional fields in the withdraw CLI command (#1663)

* Deploy burn contract by default on EIP-1559 enabled (#1648)

* Update README for release (#1644)

* Apply trace patch for CALL trace issue (#1654)

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

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>

* Bump github.com/envoyproxy/protoc-gen-validate from 1.0.1 to 1.0.2 (#1670)

Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases)
- [Changelog](https://github.com/bufbuild/protoc-gen-validate/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
  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>

* Added DEBUG logs to executor in order to track allow and block lists  (#1664)

* Added DEBUG level log lines when the transaction or deployment allowlists are applied to reject a transaction

* Added blank lines for linting

* Fix flaky ERC721 and ERC1155 bridge tests (#1671)

* Invoke estimate gas limit if gas limit not already provided (#1582)

* Invoke estimate gas limit if gas limit not already provided

* Added sender address in txn. Needed for estimateGasLimit

* Fixed failing e2e tests

* Provide fix gas limit for exit transaction (pass child chain mintable e2e test)

* Fix failing E2E tests

* uint64 to big.int change

---------

Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Igor Crevar <[email protected]>

* Upgraded script to check both dependencies and display all missing ones at the same time (#1667)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Sebastian Supreme <[email protected]>
Co-authored-by: Nemanja Nedic <[email protected]>
Co-authored-by: Ferran Borreguero <[email protected]>
Co-authored-by: Serge Radinovich <[email protected]>
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>
Co-authored-by: Victor Castell <[email protected]>
Co-authored-by: Igor Crevar <[email protected]>
Co-authored-by: Flavor Town <[email protected]>
Co-authored-by: Nemanja0x <[email protected]>
Co-authored-by: Victor Castell <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Negovanović <[email protected]>
Co-authored-by: Kamil Paśko <[email protected]>
Co-authored-by: Jesse Lee <[email protected]>
Co-authored-by: Roman Behma <[email protected]>
Co-authored-by: jhkimqd <[email protected]>
Co-authored-by: Rachit Sonthalia <[email protected]>
Co-authored-by: Goran Rojovic <[email protected]>
Co-authored-by: dusan-maksimovic <[email protected]>
Co-authored-by: Trevor Porter <[email protected]>
Co-authored-by: Marko Jelača <[email protected]>
Co-authored-by: Paul O'Leary <[email protected]>
Co-authored-by: typestring <[email protected]>
Co-authored-by: jp-imx <[email protected]>
Co-authored-by: adirola <[email protected]>
Co-authored-by: Sameer C <[email protected]>
Co-authored-by: Alejandro Criado-Pérez <[email protected]>
@vcastellm vcastellm closed this Sep 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 4, 2023
@vcastellm
Copy link
Contributor Author

Superseded by #1775

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants