* 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>
* (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>
* (refactor): Added Cancun and Shanghai blocks to ChainConfig
* (tests): Added test for invalid Shanghai and Cancun block
* (fix): ran proto linter
* Applied changes from code review
* Added CHANGELOG entry
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* deps: bump SDK to v0.46.6
* changelog
* Update CHANGELOG.md
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
* fix: chain-id in grpc query is not initialized without abci event
Closes: #1404
Solution:
- pass the chain-id from caller.
* Update CHANGELOG.md
* only override if input is not empty
* add comment to chain id
* pass chain-id to state transition
* Update x/evm/keeper/grpc_query.go
* Apply suggestions from code review
* fix golang lint
* update gomod2nix.toml
* fix unit tests
* update gomod2nix
* api breaking changelog
* add unit tests, and fix TraceBlock by the way
* Update CHANGELOG.md
* test --grpc-only mode in integration tests
* remove tmp var
* Update tests/integration_tests/test_grpc_only.py
* Update x/evm/keeper/grpc_query_test.go
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
* fix linters
* fix nil pointer in tests
* fix conflicts
* fix conflicts
* fixes
* fix lint
* fix unit test
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Delete local copy of third party proto files
* Update protocgen script and buf yaml files to mirror cosmos-sdk
* Update makefile commands for proto-gen and proto-swagger-gen to correctly use docker
* Commit changed .pb.go files after updating the protogen scripts
* Adjust grep in proto-tools-installer script to look for correct gogoproto replacement
* address reviews - remove unnecessary ignore in buf.yaml and cosmos-sdk download in the protocgen script
* remove proto-update-deps from makefile as we don't store local copies of third party protofiles anymore
* Add changelog entry
* Update protoc-swagger-gen.sh
* Remove third party queries from swagger-ui config (for now)
* fix integrations tests
* fix dead changelog links (markdown-link-check)
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Refactor to omit empty values from type creation; add test for v1.vote
* Add test for createValidator with optional fields left blank
* Add changelog entry
* Update changelog entry
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Add EIP-712 encoding support type for any array
* Refactor implementation + add tests
* Refactor unpacking implementation; refactor test case
* Fix lint issue
* Add MsgExec test case
* Update comment for clarity
* Add changelog entry
* Refactor `sdkerrors` to `errorsmod`
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* chore(cli): apply google CLI Syntax for required and optional args
* chore(cli): add changes in CHANGELOG
* chore(cli): fix link to PR in CHANGELOG
* chore(cli): fix args in feemarket
* chore(cli): update docs based on comments
* deps: bump go to v1.19
* deps: add dragonberry patch repalce in go.mod
* deps: add ival bump to v0.19.4
* deps: remove unrelated version bumps to adress in differnet PR
* go mod tidy
* add changelog
* fix typo in changelog