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

Add allow-contract-caller command #4589

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    12eb780 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d3d07d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b325222 View commit details
    Browse the repository at this point in the history
  4. refactor(pox-4): Integrate Clarity value generation

    This change optimizes the generation of Clarity values for the
    allowUntilBurnHt property in the AllowContractCallerCommand tests. By
    directly creating Clarity optional values (none or some(uint)) within the
    fast-check generator, we remove the need for conditional post-processing.
    This approach simplifies the test setup and aligns more closely with
    the intended usage patterns of the Clarity and fast-check libraries.
    moodmosaic committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    bd80302 View commit details
    Browse the repository at this point in the history
  5. refactor(pox-4): Dynamic unlockBurnHt and cleaner state

    - Moved `network` from `Stub` (Model) to `Real`, streamlining state management.
    - `unlockBurnHt` now dynamically calculated, passed via constructor, ensuring
      alignment with generated `period`.
    - Utilized `fast-check`'s `chain` for dynamic `unlockBurnHt` calculation,
      improving test accuracy.
    - Enforces discipline in constructor use and `check` method validation,
      highlighting the importance of explicit state and parameter handling for
      reliable testing.
    moodmosaic committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    51a3181 View commit details
    Browse the repository at this point in the history