Skip to content

Make echidna exercise-7 solution self contained #158

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

Merged
merged 4 commits into from
Nov 22, 2022

Conversation

glarregay-tob
Copy link
Contributor

Removes the need for Etheno in Exercise 7

@CLAassistant
Copy link

CLAassistant commented Nov 1, 2022

CLA assistant check
All committers have signed the CLA.

@glarregay-tob
Copy link
Contributor Author

Output:

Analyzing contract: solution.sol:E2E
testPoolBalance(): failed!💥  
  Call sequence:
    execute() Value: 0x1f7
    setEnableDeposit(true,500)
    flashLoan(1)
    setEnableDeposit(false,0)
    setEnableWithdraw(true)
    execute()
    testPoolBalance()

Event sequence: Panic(1)
setEnableWithdraw(bool):  fuzzing (17910/100000000000)
setEnableDeposit(bool,uint256):  fuzzing (17910/100000000000)
execute():  fuzzing (17910/100000000000)
flashLoan(uint256):  fuzzing (17910/100000000000)
AssertionFailed(..):  fuzzing (17910/100000000000)

@gustavo-grieco
Copy link
Contributor

CI test for exercise 7 is failing with echidna-test: sideentrance.yaml: openBinaryFile: does not exist (No such file or directory). Let's fix it and merge on green.

@gustavo-grieco gustavo-grieco merged commit 8e388c6 into master Nov 22, 2022
@gustavo-grieco gustavo-grieco deleted the fix-etheno-echidna-7 branch November 22, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants