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

feat: deploy contracts through the factory #60

Draft
wants to merge 1 commit into
base: feat/symbolic-testing
Choose a base branch
from

Conversation

0xDiscotech
Copy link

@0xDiscotech 0xDiscotech commented Sep 18, 2024

[WIP]

Not working yet while running Kontrol over the prove_setup test. Working with Foundry.
Log:

❌ PROOF FAILED ❌ test%properties%kontrol%OptimismSuperchainERC20Kontrol.prove_setup():0
⏳ Time: 58s ⏳
1 Failure nodes. (0 pending and 1 failing)

Failing nodes:

  Node id: 5
  Failure reason:
    Matching failed.
    The remaining implication is:
    { true #Equals 0 <=Int CALLER_ID:Int }
    #And { true #Equals 0 <=Int ORIGIN_ID:Int }
    #And { true #Equals pow24 <Int NUMBER_CELL:Int }
    #And { true #Equals NUMBER_CELL:Int <Int pow32 }
    #And { true #Equals 1073741824 <Int TIMESTAMP_CELL:Int }
    #And { true #Equals TIMESTAMP_CELL:Int <Int 34359738368 }
    #And #Not ( { CALLER_ID:Int #Equals 645326474426547203313410069153905908525362434349 } )
    #And #Not ( { ORIGIN_ID:Int #Equals 645326474426547203313410069153905908525362434349 } )
    #And { true #Equals CALLER_ID:Int <Int pow160 }
    #And { true #Equals ORIGIN_ID:Int <Int pow160 }
    #And { false #Equals #range ( 0 < CALLER_ID:Int <= 9 ) }
    #And { false #Equals #range ( 0 < ORIGIN_ID:Int <= 9 ) } #Implies { true #Equals foundry_success ( ... statusCode: EVMC_REVERT , failed: #lookup ( .Map , 46308022326495007027972728677917914892729792999299745830475596687180801507328 ) , revertExpected: false , opcodeExpected: false , recordEventExpected: false , eventExpected: false ) }
  Path condition:
    #Top
  Model:
    TIMESTAMP_CELL = 1073741825
    CALLER_ID = 645326474426547203313410069153905908525362434350
    ORIGIN_ID = 645326474426547203313410069153905908525362434350
    NUMBER_CELL = 16777217

@0xDiscotech 0xDiscotech self-assigned this Sep 18, 2024
@0xDiscotech 0xDiscotech changed the title feat: wip to add the factories on the deployments feat: deploy contract through the factory Sep 19, 2024
@0xDiscotech 0xDiscotech changed the title feat: deploy contract through the factory feat: deploy contracts through the factory Sep 19, 2024
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.

1 participant