Laconic state machine
Go to file
Thomas Nguy 5ba8ffe669
ante, evm: update gas consumption logic (#178)
* clean up logic by ignoring cosmos gas meter

* set gas used in txResponse

* reset and set the gas in context

* rename ante handler

* fix refundedgas logic

* remove gas update logic in keeper

* update context in keeper

* add test for EthSetupContextDecorator

* fix broken test due to gas logic change
2021-06-30 05:31:30 -04:00
.github all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
app ante, evm: update gas consumption logic (#178) 2021-06-30 05:31:30 -04:00
client all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
cmd/ethermintd all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
crypto all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
docs ante, evm: update gas consumption logic (#178) 2021-06-30 05:31:30 -04:00
encoding tests: add testutils for integration testing (#132) 2021-06-25 05:18:37 -04:00
ethereum/rpc ante, evm: update gas consumption logic (#178) 2021-06-30 05:31:30 -04:00
networks/local chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
proto/ethermint ante, evm: update gas consumption logic (#178) 2021-06-30 05:31:30 -04:00
scripts all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
server all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
tests refactor: Change default RPC and Websocket port (#198) 2021-06-29 03:05:23 -04:00
testutil/network all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
third_party/proto cleanup proto 2021-04-19 09:10:57 +02:00
types all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
version more fixes 2021-04-18 18:39:15 +02:00
x/evm ante, evm: update gas consumption logic (#178) 2021-06-30 05:31:30 -04:00
.gitignore build: add node_modules to .gitignore (#164) 2021-06-22 03:12:51 -04:00
.golangci.yml fix linter issues (#184) 2021-06-25 04:31:57 -04:00
.mergify.yml Mergify: configuration update (#62) 2021-06-03 03:04:47 -04:00
buf.yaml stargate: proto files (#679) 2021-01-07 18:45:32 -03:00
CHANGELOG.md rpc: support fetching pending nonce (#191) 2021-06-30 03:30:01 -04: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 faucet: remove module (#678) 2021-01-08 10:25:02 -03:00
config.yml refactor: Change default RPC and Websocket port (#198) 2021-06-29 03:05:23 -04:00
CONTRIBUTING.md chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
docker-compose.yml refactor: Change default RPC and Websocket port (#198) 2021-06-29 03:05:23 -04:00
Dockerfile chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
go.mod all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
go.sum all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
gometalinter.json Upgrade geth and cleanup 2018-09-28 17:40:58 -04:00
init.sh all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
LICENSE Initial commit 2018-06-10 14:25:18 +01:00
Makefile all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
README.md chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00

Ethermint

Ethermint is a scalable, high-throughput Proof-of-Stake blockchain that is fully compatible and interoperable with Ethereum. It's build using the the Cosmos SDK which runs on top of Tendermint Core consensus engine.

WARNING: Ethermint is under VERY ACTIVE DEVELOPMENT and should be treated as pre-alpha software. This means it is not meant to be run in production, its APIs are subject to change without warning and should not be relied upon, and it should not be used to hold any value. We will remove this warning when we have a release that is stable, secure, and properly tested.

Note: Requires Go 1.15+

Quick Start

To learn how the Ethermint works from a high-level perspective, go to the Introduction section from the documentation.

For more, please refer to the Ethermint Docs, which are also hosted on docs.ethermint.zone.

Tests

Unit tests are invoked via:

make test

To run JSON-RPC tests, execute:

make test-rpc

There is also an included Ethereum mainnet exported blockchain file in importer/blockchain that includes blocks up to height 97638. To execute and test a full import of these blocks using the EVM module, execute:

make test-import

You may also provide a custom blockchain export file to test importing more blocks via the --blockchain flag. See TestImportBlocks for further documentation.

Community

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