yihuangandFederico Kunze Küllmer 9227e78c79 evm: use stack of contexts to implement snapshot revert (#399)
* use stack of contexts to implement snapshot revert

Closes #338

add exception revert test case

verify partial revert

mutate state after the reverted subcall

polish

update comments

name the module after the type name

remove the unnecessary Snapshot in outer layer

and add snapshot unit test

assert context stack is clean after tx processing

cleanups

fix context revert

fix comments

update comments

it's ok to commit in failed case too

Update x/evm/keeper/context_stack.go

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

Update x/evm/keeper/context_stack.go

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

Update x/evm/keeper/context_stack.go

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

update comment and error message

add comment to cacheContext

k -> cs

Update x/evm/keeper/context_stack.go

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

evm can handle state revert

renames and unit tests

* use table driven tests

* keep all the cosmos events

* changelog

* check for if commit function is nil

* fix changelog

* Update x/evm/keeper/context_stack.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-08-10 07:22:46 +00:00
2021-08-09 21:21:21 +00:00
2021-08-09 21:21:21 +00:00
2021-07-05 16:39:08 +00:00
2021-08-10 02:08:03 -04:00
2021-07-05 16:39:08 +00:00
2021-08-04 16:10:08 +00:00
2021-08-09 21:21:21 +00:00
2021-04-19 09:10:57 +02:00
2021-04-18 18:39:15 +02:00
2021-08-04 09:30:13 +00:00
2021-08-04 09:30:13 +00:00
2021-06-25 04:31:57 -04:00
2021-07-30 11:40:17 +00:00
2018-07-17 11:52:20 -04:00
2021-01-08 10:25:02 -03:00
2021-08-04 09:30:13 +00:00
2018-09-28 17:40:58 -04:00
2021-08-04 09:18:22 +00:00
2018-06-10 14:25:18 +01:00
2021-08-09 21:21:21 +00:00
2021-07-16 06:54:43 -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.

Community

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

S
Description
Laconic state machine
Readme
44 MiB
0 Stars 4 Watchers 0 Forks
Languages
Go 79.9%
Solidity 6.4%
Python 5.2%
JavaScript 4.8%
Shell 2.1%
Other 1.5%