* support customize db opener in `StartCmd` (#1615)
* support customize db opener in `StartCmd`
* Update CHANGELOG.md
* pass to dbOpener, so we can control different options through cli flags
* add comments
(cherry picked from commit f1337aa378e70f5ff9c4c4e676450505efbfa682)
# Conflicts:
# CHANGELOG.md
* conflicts
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* update dep
* make proto-all
* avoid duplicate register proto type in evm
* set KeyTable
* update from version to v.19.x which support submit-proposal
* test AvailableExtraEIPs
* keep grpc query compatible with version before migrate
* fix duplicate register & migrate in feemarket
* update nix
* support typed event for bloom & txLog
* partial revert typed ethereumTx
* Revert "partial revert typed ethereumTx"
This reverts commit 314bb288f385b79f6fff6badff79cd790b74a27e.
* Revert "support typed event for bloom & txLog"
This reverts commit 287d3aec30a951a7cece40a0c310858997850a3d.
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
* fix: revert changes from TypedEvents
* fix: formatter and linter
* fix: double quote to prevent globbing and word splitting
* fix: added token to codecov
* fix: re-added events.proto for usage later
* (refactor): Added new MsgUpdateParams tx and generated new proto files
* (refactor): Refactor for migration of x/params
* (fix): Refactor to use single Params store key for easier more readable code
* (fix): removed unused
* (fix): add validation
* (fix): fix linter
* remove line
* Added changes from code review
* Apply changes from code review
* (fix): Made ParamKey back to a string
* Added CHANGELOG entry
* Apply suggestions from code review
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
* (fix): remove HTTP endpoint exposure
* Apply suggestions from code review
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
* fix: Apply changes from code review and run linter
* Update x/feemarket/keeper/params.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/feemarket/types/msg.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* tests: added tests for msg_server and msg
* tests: add failing test for migration
* Update x/feemarket/keeper/params.go
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* (refactor): Migrated to new Typed Events
* (fix): fixed tests and initialized the logs array in the proto message
* Added CHANGELOG entry
* (refactor): Made migration to Typedevent to feemarket module
* (fix): replace error returning with error logging.
* fix: linter and formatter
* fix: handle error by logging it
* fix: ran formatter and linter
* Apply suggestions from code review
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
* fix: increase sleep time to 5s initially
* fix: comment out failing tests to investigate in a separate PR
* fix: update timeout to 10 minutes
* fix: added 15 min timeout
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* imp(evm): Migrate from old Cosmos SDK params module to new way of keeping params in module Keeper
* Updated changelog
* Apply changes from code review
* (impv): Added Shanghai and Cancun blocks to current types and latest migration
* (tests): Update unit tests to include Shanghai and Cancun blocks
* (fix) - ran golangci-lint on the entire project
* (fix) - remove deprecated params method
* (impv): added marshaling of booleans per individual param key
* (impv): added individual param getting and setting
* (impv): replaced getters with individual param
* (impv): added amino codec for MsgEthereumTx
* Added changes suggested in code review
* (fix): updated the migration files for v4
* (fix): fixed unit tests panic for incorrect interface
* (fix): updated module msg handler
* (fix): rename to original params getter method
* (refactor): registered implementation for the new msg
* (refactor): added correct amino codec for MsgUpdateParams and removed for MsgEthTx
* Applied changes from code review
* (fix): removed unnecessary duplicate
* (fix): removed params_legacy from the types and moved logic to migration
* (fix): Added v4 mocks to the migrations_test
* (fix): undo all the non related work regarding the Cancun and Shanghai blocks
* (fix): reverted linting the entire project - will make a separate PR for it
* Applied changes from review
* Applied changes from code review
* (fix): removed comments
* (fix): Ran formatter and fixed linting issues on unsed functions
* (fix): Linting issues resolved
* (fix): refactor migrations and added default EIPs
* (fix): Combined into one call
* (fix): Added more straightforward way to handle migration
* (fix): corrected migration test
* Applied changes from code review
* (fix): Linter fix
* (fix): Linter
* (fix): Lint proto files
* Apply suggestions from code review
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
* (fix): Added new block to migration
* (fix): Added additional comments and formatted proto files
* (fix): Added name to unit test cases
* (fix): removed unused import
* Apply changes from code review
* (fix): typo
* (fix): remove HTTP endpoint exposure
* Apply suggestions from code review
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* applied changes from code review
* fix: extra line added in merge removed
* fix: applied changes from code review
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* wait new blk right before send tx
* larger timeout_commit for priority test
* larger timeout_commit for mempool related test
* mv chain id test to cluster used test
* keep cluster in module scope
* sync gomod2nix
* adjust timeout_commit
* rm prune all in indexer config
* add missing min_gas_multiplier
* wait 1 more blk in upgrade
* only keep 2 validators
* add retry for grpc_eth_call
* wait 1 block before stop
* fix lint
* disable recheck
* bump up upgrade
* sync gomod2nix
* Apply suggestions from code review
* Apply suggestions from code review
* append node log
* fix lint
* expect less gas after ecd76396eb
* allow retry continue on empty rsp
* update gomod2nix
* fix flake
* mod tidy
* keep grpc only test
* tests(integration): enable recheck tx mode
* update gomod2nix
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Tom <tomasguerraalda@hotmail.com>
* Rename getEIP712Hash to Bytes to clarity method intent
* Update comments and revert unrelated code
* Fix variable naming in tests
* Fix to use raw data rather than hash from Go-Ethereum interface
* Update eip712_test to detect EIP-712 hash vs bytes
* Update TypedData conversion error message
Co-authored-by: Freddy Caceres <facs95@gmail.com>