Laconic state machine
Go to file
yihuang ffe78da36e
!fix(evm): Fix eth tx hashes in json-rpc responses (#1176)
* Fix eth tx hashes in json-rpc responses

Closes: #1175

- Remove Size_ field
- Validate From/Hash fields in ante handler
- Recompute tx hashes in json-rpc apis to cope with old blocks

Update CHANGELOG.md

remove Size_, validate Hash/From, add unit tests

update spec

Update CHANGELOG.md

Update app/ante/eth.go

populate From in SendRawTransaction

Apply suggestions from code review

keep Size_ field to avoid breaking tx format

* move some validation to ValidateBasic

* move validation to ValidateBasic

* make ToTransaction returns a valid msg

* restructure the protoTxProvider check

* add comment

* workaround tx hash issue in event parsing

* fix integration test

* fix unit test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-07-19 15:12:48 +00:00
.bencher ci: add bencher config (#652) 2021-10-08 12:07:03 +00:00
.github fix(ci): fix semgrep issue (#1157) 2022-06-27 19:50:24 +02:00
app !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
client impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
cmd all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
contrib/scripts ci: liveness test (#498) 2021-08-26 15:21:43 +00:00
crypto imp(evm): rename RejectUnprotectedTx to AllowUnprotectedTxs (#1142) 2022-06-22 12:51:14 +02:00
docs !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
encoding all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
ethereum/eip712 evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00
networks/local deps: Go 1.18 (#1147) 2022-06-24 18:16:19 +02:00
proto !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
rpc !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
scripts all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
server fix(rpc): fix panic on breaking EVM and feemarket params (#1188) 2022-07-19 17:00:43 +02:00
tests !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
testutil all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
third_party/proto evm: EIP1559 & go-ethereum related updates (#469) 2021-08-25 14:45:51 +00:00
tools feemarket: global MinGasPrice parameter (#1104) 2022-05-31 18:28:46 +02:00
types evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00
version more fixes 2021-04-18 18:39:15 +02:00
x !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
.clang-format ci: enable backport for v0.8 and v0.7 (#784) 2021-11-25 11:06:30 +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 evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00
.golangci.yml deps: Go 1.18 (#1147) 2022-06-24 18:16:19 +02:00
.goreleaser.yml ci: fix goreleaser (#708) 2021-10-29 15:56:09 +02:00
.markdownlint.yml all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
.markdownlintignore all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
.mergify.yml fix(rpc): fix panic on breaking EVM and feemarket params (#1188) 2022-07-19 17:00:43 +02:00
.semgrepignore ci: semgrep config (#917) 2022-01-24 15:35:02 +01:00
buf.work.yaml evm: EIP1559 & go-ethereum related updates (#469) 2021-08-25 14:45:51 +00:00
CHANGELOG.md !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00: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 all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
docker-compose.yml build: fix docker setup (#337) 2021-08-04 09:30:13 +00:00
Dockerfile build(deps): bump alpine from 3.16.0 to 3.16.1 (#1192) 2022-07-19 17:06:48 +02:00
go.mod deps: upgrade ibc-go to v4-rc (#1167) 2022-07-11 13:18:03 +00:00
go.sum deps: upgrade ibc-go to v4-rc (#1167) 2022-07-11 13:18:03 +00:00
init.bat feat: update chain-id format (#447) 2021-08-17 14:11:26 +00:00
init.sh fix goreleaser (#1160) 2022-06-29 19:08:28 +02:00
LICENSE docs: re-license to LGPLv3 (#800) 2021-11-30 09:22:21 +01:00
Makefile feemarket(specs): add hint on different gas terminology for gas in Cosmos and Ethereum (#1165) 2022-07-01 13:55:19 +02:00
README.md deps: Go 1.18 (#1147) 2022-06-24 18:16:19 +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.18+

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.