Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

test contracts initialization #40

Closed
daejunpark opened this issue Mar 7, 2023 · 0 comments · Fixed by #157
Closed

test contracts initialization #40

daejunpark opened this issue Mar 7, 2023 · 0 comments · Fixed by #157
Labels
bug Something isn't working

Comments

@daejunpark
Copy link
Collaborator

daejunpark commented Mar 7, 2023

Describe the bug
Halmos doesn't properly initialize test contracts.

To Reproduce

contract FooTest {
  uint public value = 1;
  function testValue() public {
    assert(value == 1); // fail
  }
}

Additional context
Executing the contract creation code for test contracts is needed.

@daejunpark daejunpark added the bug Something isn't working label Mar 7, 2023
@daejunpark daejunpark changed the title Immutable variable initialization and library linking for test contracts library linking May 12, 2023
@daejunpark daejunpark changed the title library linking test contracts initialization May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant