* (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
* evm.InitGenesis skip codehash check when the code has been deleted in the evm state
* fix lint
* just ignore all the codehash check when the evm account code is empty
* update changelog
* nit
* add test
* add test
Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* add grpc only mode flag
* add change log
* add tmNode nil check
* only flag to modes
* fix close for query mode
* fix hint
* keep grpc-only & json-rpc-only
* rm space
* mv apiSrv close
* mv cpuProfileCleanup
* mv tmNode stop
* disable indexer on query only
which need tm client on start
* update nix
* revert json-rpc-only change
* imp(rpc) Add support for EVM RPC metrics
- Support --metrics flag
- Add EVM rpc metrics server config
* Update as per PR feedback
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* fix: `index-eth-tx` cmd fail on empty indexer db
Solution:
- start from latest height is db is empty
* update gomod2nix
* Update CHANGELOG.md
Co-authored-by: Freddy Caceres <facs95@gmail.com>
* Problem: grpc query fail on legacy blocks
`BaseFee` and `EthCall`.
Solution:
- since grpc query handlers are used for all versions of the blocks, it need to be compatible with legacy formats.
debug
fix basefee fetch
Revert "debug"
This reverts commit 50ebaf697fc06b0d6e26abd8de8f89717e8a219d.
update gomod2nix
Update CHANGELOG.md
debug
fix panic
Revert "debug"
This reverts commit e08af04b0776bd390c42706cc9ec978e00bcb3bb.
* add upgrade integration test
* Update tests/integration_tests/configs/upgrade-test-package.nix
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* wip
* rename GetTendermintBlockByNumber to TendermintBlockByNumber
* rename GetTendermintBlockResultByNumber to TendermintBlockResultByNumber
* rename GetTendermintBlockByHash to TendermintBlockByHash
* rename BlockByNumber to EthBlockByNumber
* rename BlockByHash to EthBlockByHash
* rename GetBlockNumberByHash to BlockNumberFromTendermintByHash
* rename GetBlockNumber to BlockNumberFromTendermint
* rename GetEthereumMsgsFromTendermintBlock to EthMsgsFromTendermintBlock
* rename GetEthBlockFromTendermint to BlockFromTendermintBlock
* rename EthBlockFromTendermint to EthBlockFromTendermintBlock
* add TestEthBlockFromTendermintBlock with no transactions. Note that this endpoint is breaking when querying a block with transactions
* add block transaction count tests
* add TendermintBlockByHash test'
* add TestBlockNumberFromTendermint tests
* add HeaderByHash and HeaderByNumber tests
* add EthBlockFromTendermintBlock test
* add TestEthBlockByNumber tests
* Specificy that the endpoints are getting Etherum transactions in comments
* Refactor shared logic into GetBlockTransactionCount
* rename BlockFromTendermintBlock to RPCBlockFromTendermintBlock
* add CHangelog
* Change the fallback priority mechanism to be based on gas price
* Update CHANGELOG.md
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>