laconicd/tests
yihuang 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
..
e2e tests: add testutils for integration testing (#132) 2021-06-25 05:18:37 -04:00
importer chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
rpc fix: Extra data empty response (#381) 2021-07-29 13:40:59 -04:00
solidity evm: use stack of contexts to implement snapshot revert (#399) 2021-08-10 07:22:46 +00:00
tooling/ethers deps: bump SDK and Tendermint versions (#165) 2021-06-22 04:25:38 -04:00
signer.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00