Laconic state machine
Go to file
yihuang 2a205e561a
rpc: debug_traceTransaction fails for succesful tx (#720)
* Problem: traceTransaction fails for succesful tx

Solution:
- Change the context to the begining of the block, rather than the end
  of it, while override block context to correct one

pass predecessors

pass current block information to grpc query

* changelog

* fix build

* fix lint

* refactor traceBlock

* update protobuf

* fix Predecessors

* traceBlock refactor

* refactor traceBlock response

* Update proto/ethermint/evm/v1/tx.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update proto/ethermint/evm/v1/query.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update proto/ethermint/evm/v1/query.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update proto/ethermint/evm/v1/query.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update proto/ethermint/evm/v1/query.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update proto/ethermint/evm/v1/query.proto

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* check tx index is not out of bound

* fix build

* Update rpc/ethereum/namespaces/debug/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update rpc/ethereum/namespaces/debug/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update rpc/ethereum/namespaces/debug/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update rpc/ethereum/namespaces/debug/api.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* remove prealloc

* add traceBlock test

* Update x/evm/keeper/grpc_query.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* use bytes2Hex

* fix error message

* add comment

* Apply suggestions from code review

Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
Co-authored-by: crypto-facs <84574577+crypto-facs@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-11-09 18:38:22 +00:00
.bencher ci: add bencher config (#652) 2021-10-08 12:07:03 +00:00
.github build(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#718) 2021-11-03 12:01:22 +01:00
app fix: tx fields are not authenticated by signature (#703) 2021-11-08 14:00:35 +01:00
client rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
cmd deps: bump cosmos-sdk (#692) 2021-10-22 10:49:38 +00:00
contrib/scripts ci: liveness test (#498) 2021-08-26 15:21:43 +00:00
crypto crypto: updates from reviews (#535) 2021-09-07 17:29:24 +00:00
docs rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
encoding encoding: rm MsgEthereumTx custom support in TxConfig (#714) 2021-11-02 11:24:24 +01:00
log log: add benchmark for handler.Log (#494) 2021-08-26 10:36:07 +00:00
networks/local [Snyk] Security upgrade golang from 1.16.7 to 1.16 (#670) 2021-10-14 07:39:48 +00:00
proto rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
rpc rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
scripts tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
server build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
tests tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
testutil/network rpc: restructure JSON-RPC directory and rename server config (#612) 2021-10-01 14:49:22 +00:00
third_party/proto evm: EIP1559 & go-ethereum related updates (#469) 2021-08-25 14:45:51 +00:00
types evm: check height overflow (#597) 2021-09-28 09:48:11 +00:00
version more fixes 2021-04-18 18:39:15 +02:00
x rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
.dockerignore build: fix docker setup (#337) 2021-08-04 09:30:13 +00:00
.gitattributes add gitattributes file (#567) 2021-09-16 08:36:08 +00:00
.gitignore build: fix docker setup (#337) 2021-08-04 09:30:13 +00:00
.golangci.yml all: linter (#532) 2021-09-05 11:03:06 +00:00
.goreleaser.yml ci: fix goreleaser (#708) 2021-10-29 15:56:09 +02:00
.mergify.yml Mergify: configuration update (#62) 2021-06-03 03:04:47 -04:00
buf.work.yaml evm: EIP1559 & go-ethereum related updates (#469) 2021-08-25 14:45:51 +00:00
CHANGELOG.md rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
clang-format tests: add testutils for integration testing (#132) 2021-06-25 05:18:37 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-07-17 11:52:20 -04:00
codecov.yml all: linter (#532) 2021-09-05 11:03:06 +00:00
CONTRIBUTING.md doc: duplicated documentation removed (#603) 2021-09-29 10:37:10 +00:00
docker-compose.yml build: fix docker setup (#337) 2021-08-04 09:30:13 +00:00
Dockerfile build: fix docker setup (#337) 2021-08-04 09:30:13 +00:00
go.mod rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
go.sum rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
gometalinter.json Upgrade geth and cleanup 2018-09-28 17:40:58 -04:00
init.bat feat: update chain-id format (#447) 2021-08-17 14:11:26 +00:00
init.sh fix: ibc not working by future block (#497) 2021-08-26 13:31:52 +00:00
LICENSE Initial commit 2018-06-10 14:25:18 +01:00
Makefile fix: proto-gen broken env var (#723) 2021-11-06 22:01:58 +00:00
README.md docs: banner & other (#607) 2021-09-29 18:15:55 +02:00
starport.yml ci: liveness test (#498) 2021-08-26 15:21:43 +00:00

Ethermint

banner

Ethermint is a scalable and interoperable Ethereum library, built on Proof-of-Stake with fast-finality using the Cosmos SDK which runs on top of Tendermint Core consensus engine.

Note: Requires Go 1.17+

Installation

For prerequisites and detailed build instructions please read the Evmos Installation instructions. Once the dependencies are installed, run:

make install

Or check out the latest release.

Quick Start

To learn how the Ethermint works from a high-level perspective, go to the Introduction section from the documentation. You can also check the instructions to Run a Node.

For an example on how Ethermint can be used on any Cosmos-SDK chain, please refer to Evmos.

Community

The following chat channels and forums are a great spot to ask questions about Ethermint:

Contributing

Looking for a good place to start contributing? Check out some good first issues.

For additional instructions, standards and style guides, please refer to the Contributing document.

Careers

See our open positions on Cosmos Jobs, Notion, or feel free to reach out via email.