* chore: verify fees refactor
* adjust call structure in rest of repo after splitting up DeductTxCostsFromUserBalance
* adjust test logic after splitting DeductTxCostsFromUserBalance up
* remove outdated TODO
* address PR comments - remove import name for evm keeper
* remove misleading comment
* address review comments - only handover boolean instead of context
* remove TODO
Co-authored-by: MalteHerrmann <malteherrmann.mail@web.de>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@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>
* add protolint yaml
* Update .protolint.yml with Evmos settings
* Add super-linter.yml for GH action
* Copy .markdownlint.yml settings from Evmos
* Sort proto imports
* address protolint error in all Protobuf files
* update Makefile to mirror Proto commands for Evmos
* remove unnecessary go get command in protocgen.sh when using cosmos docker image
* copy .clang-format from Evmos repo
* apply make proto-format
* Execute make proto-all after changes to config are complete
* address last linter comment
* enable fixIssue172 flag for test
for more info, https://github.com/btcsuite/btcutil/pull/182/files
* fix import
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Adi Saravanan <59209660+adisaran64@users.noreply.github.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Add EIP-712 encoding for multiple messages of the same type
* Fix Protobuf encoding bug
* Add ante tests
* Refactor naming and minor implementation details
* Test empty transaction coverage
* Address revisions for code clarity
* Move aminoMessage type definition
* 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>
* Update proto make commands to use cosmos docker image and add notes for possible problems
* Apply make proto-all with new docker container
* Remove stale DOCKER_BUF variable
* Revert to using the tendermintdev/sdk-proto-gen docker image
* remove '@' in proto-lint and proto-check-breaking for consistency with other commands
* Remove unnecessary go get from protocgen.sh (only works after adding --network host to docker run)
* Add --network host to docker run for compatibility on linux
* use cosmos/proto-builder docker image for proto-format because clang-format is not installed on tendermintdev/sdk-proto-gen
* update swagger docs after recent additions to evm.proto in #1413
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>
* test: add preliminary unit tests and additional mocks for chain_info, account_info and filters
* tests: added additional mocked client calls
* tests: bumped coverage of call_tx to 56% and chain_info to 77%
* tests: bumped call_tx coverage to 70.2% and added additional mock client calls
* tests: tx_info preliminary tests added for debugging.
* tests: added test coverage for sign_tx and additional mocks
* tests: tx_info test coverage bumped to 60.3%
* test: coverage for tracing_tests now at 72%
* tests: added fee makert query client mocks and bumped chain_info to 87.6% coverage.
* tests: failing Cosmos auth module account query.
* tests: added FeeMarket Params mock to call_tx_test
* cleanup some unused code
* tests: added helper function to test suite for signing a Tx and bumped coverage of tx_info to 71.2%
* test: commented GetAccount error case and bumped chain_info to 90.3% coverage
* test: cleanup of tests in node_info, sign_tx and account_info
* Clean up print
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Apply suggestions from code review
* fix import issues
Co-authored-by: Vladislav Varadinov <vlad@evmos.org>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
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>