QuarkChain / go-ethereum

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
6 stars 2 forks source link

w3ip-2 tests: removing stakes and selfdestruct #23

Closed ninjaahhh closed 2 years ago

ninjaahhh commented 2 years ago

we need to cover 2 more test cases:

  1. when a contract has already stored a huge amount of code with sufficient stakings, the stakes can't be withdrawn
  2. once the above-mentioned contract is destroyed, its stakings should be sent to the caller

a simple contract will be used in such tests