Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactor: remove chain id from index for observer set (temporary) #1439

Closed
wants to merge 42 commits into from

Conversation

lumtis
Copy link
Member

@lumtis lumtis commented Dec 19, 2023

Description

Opening PR from https://github.com/zeta-chain/node-private/pull/102 to visualize commits to be cherry picked

brewmaster012 and others added 30 commits November 29, 2023 00:37
* add tests fro out ts tracker

* use getEthereumChainID function in tests

---------

Co-authored-by: Lucas Bertrand <[email protected]>
…erwriting. (#13)

* add check for existing contract address to avoid overwriting.

* Added check for redeployment of gas and asset token contracts
Added unit test for this scenario

* update changelog

---------

Co-authored-by: Lucas Bertrand <[email protected]>
* add pause check

* revert on paused

* update tests

* add smoke test check

* goimports

* changelog

* Update x/crosschain/keeper/evm_deposit.go

Co-authored-by: Charlie Chen <[email protected]>

---------

Co-authored-by: Charlie Chen <[email protected]>
… allow for rollback (#23)

* code hash request

* make generate

* udpate message

* add cli command

* udpate smoke tests

* changelog

* update message name

* add check for length

* replace log with event

* add is contract check
* remove begin block

* remove build from smoketest

* deploy system contracts message

* msg tx

* add system contract deployment in smoke tests

* start core params refactor

* changelog

* refactor chains

* config refactor

* remaining build tags

* lint issues

* lint issues 2

* gen docs

* gen docs 2

* gosec issues 1

* fix cosmos nosec

* lint issues

* fix core params check

* make generate

* fix assign

* use privnet chains by default

* fix chain fetching

* use local goerli for smoke tests

* remove unamed gosec

* address nosec

* other goerli net to rename in smoketests

* gosec

* nosec alerts

* nosec alert 2

* use Bitcoin specific network

* fix address system contracts

* add logs in test

* Add more logs

* test remaining smoke tests

* remove hardcoded ZetaChain chain ID

* remove bitcoin hardcoded values

* add back smoketests

* fix smoke test except cross chain swap

* make generate

* add log message

* fix evm swap contract

* fix unit test 1

* fix CLI tests

* make generate

* fix log error

* fix Bitcoin proof test

* fix address test

* remove network flag and improve smoke tests

* add admin group

* move core params out of genesis

* remove unnecessary RemoveInTxTrackerIfExists

* add check for contract failure

* Update x/crosschain/keeper/keeper_cross_chain_tx_vote_inbound_tx.go

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

* fix install in action

* improve events for system contract deploy

* error handling for bitcoin net params

* add utility functions in common

* add stateful smoketest from source

* try test fix

* fix unit test

* fix tests

---------

Co-authored-by: Tanmay <[email protected]>
* avoid posting uncessary outtx confirmation

* updated changelog.md

* added ballot identifier in log prints

* unified tx hash variable names

* updated changelog

* updated changelog
* masked zetaclient config at startup.

* fix lint error

* add changelog entry

* added deep copy

---------

Co-authored-by: Lucas Bertrand <[email protected]>
* separated evm/btc cctx schedulers in two different functions

* resolve PR comments

* sync with develop

---------

Co-authored-by: Tanmay <[email protected]>
Co-authored-by: Lucas Bertrand <[email protected]>
* add min gas price to feemarket module at genesis

* make zetaclient respect feemarket base fee

* add min gas price to feemarket module at genesis

* add a nil check

* add a default base gas price

* rename GetGasPrice

* fix build flag in smoketest

* fix fee in smoketest broadcast

* special ante handler for tx with only 1 msg

* add changelog

* make linter happy

* allow MsgCreateValidator to bypass min gas price check only at genesis time

* add more gas limit to address out of gas in smoketest

* fix linter complaint

* uncomment multiple deposit smoketest

* increase smoketest timeout to 35min

---------

Co-authored-by: brewmaster012 <>
…ery` and `msg_server` (#60)

* out tx tracker

* gas price

* chain nonces

* refactor nonces

* last block height

* rename some files

* add comment

* some changes in fungible module

* observer part 1

* remaining queries

* remove unused messages

* fix errors from removed messages

* update changelog

* remove grpc zevm
* fix sqlite3 errors in docker file builds

* add changelog
…on count (#64)

* fixed incorrect pending-tx inclusion; fixed incorrect confirmation count

* updated changelog

---------

Co-authored-by: Lucas Bertrand <[email protected]>
* fixed incorrect pending-tx inclusion; fixed incorrect confirmation count

* resolved go-staticcheck warnings in zetaclient

* updated changelog
* update proto

* implement limit

* update changelog

* cosmos nosec

* set max limit

* make generate

* remove cctx by status

* remove cctx by status proto

* rename query

* add tests

* remove pagination from response

* fix client

* add total pending in response

* fix tests

* add nosec

* comments
* add chain name

* add chain object

* changelog

---------

Co-authored-by: Tanmay <[email protected]>
kevinssgh and others added 12 commits December 15, 2023 21:39
* added burn rate metric implementation and unit tests

* integrated metrics

* add changelog

* ran make generate

* fix formatting and lint errors

* fix lint error

* added docs for new functions

* cleaned up denomination const and fee calc

* fix test case

* fix prom gauge

* ran make generate

* refactored burn rate calculation

* used math.Int

* ran make generate

* clean logs
…#81)

* rename to smoketest runner

* remove some variables

* remove hardcoded account address

* reorganize files

* refactor btc deployer address

* reorg packages part 1

* refactor variable names

* refactor test list

* fix setup

* make generate and changelog

* refactor setup

* improve zevm setup

* make generate

* initialize config

* update zeta setup

* add config and fix test

* make generate

* use config for rpcs

* create package for main

* organize cmd package

* add readme for smoketest package

* fix lint issues

* fix address issue

---------

Co-authored-by: Charlie Chen <[email protected]>
@lumtis
Copy link
Member Author

lumtis commented Dec 19, 2023

Closing for #1440

@lumtis lumtis closed this Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants