Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

BUG: not possible to kill contract on forked chain #474

Closed
nevillegrech opened this issue Jun 17, 2019 · 1 comment
Closed

BUG: not possible to kill contract on forked chain #474

nevillegrech opened this issue Jun 17, 2019 · 1 comment
Labels

Comments

@nevillegrech
Copy link

Expected Behavior

Using a fork of mainnet or testnet, ganache should be able to set bytecode to "0x" when contract is destroyed.

Current Behavior

Contract bytecode still there after selfdestruct

Possible Solution

unknown

Steps to Reproduce

Deploy a contract
Fork into ganache
Destroy contract contract.kill()
api.eth.getCode(contract) ==> Code still there

Possibly related to #446

@davidmurdoch davidmurdoch transferred this issue from trufflesuite/ganache-cli-archive Aug 27, 2019
@davidmurdoch
Copy link
Member

Closed by #482

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants