Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Internal call to contract selfdestruct #118

Open
beillahi opened this issue Dec 3, 2019 · 1 comment
Open

Internal call to contract selfdestruct #118

beillahi opened this issue Dec 3, 2019 · 1 comment

Comments

@beillahi
Copy link

beillahi commented Dec 3, 2019

pragma solidity ^0.5.0;


contract test {

  function g(address payable a)  public {   
    selfdestruct(a);
  }
}
-----------------
Error while running verifier, details:
[TRACE] Using prover: /usr/bin/z3
Parsing /tmp/tmp7s2u6u6t/test9.sol.bpl
/tmp/tmp7s2u6u6t/test9.sol.bpl(18,1): Error: call to undeclared procedure: selfdestruct#35
1 name resolution errors detected in /tmp/tmp7s2u6u6t/test9.sol.bpl
@dddejan
Copy link
Member

dddejan commented Dec 5, 2019

We can encode transfer of value, no big deal. Specifying the behavior past that can be part of #104.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants