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

[pox-4] Pool Stacking stateful property-based tests #4550

Merged
merged 131 commits into from Apr 24, 2024

Commits on Apr 11, 2024

  1. wip(pox-4-tests): StackStxCommand & stateful property tests planning

    This commit lays the groundwork for the StackStxCommand and
    GetStackingMinimumCommand classes for PoX-4. It also proposes the
    introduction of fast-check based stateful tests, similar to the efforts
    for sBTC (stacks-network/sbtc#152).
    
    As highlighted in #4548,
    this initiative is part of an ongoing effort to embrace a more rigorous,
    property-based testing strategy for PoX-4 interactions.
    
    The planned stateful tests aim to simulate various stacking scenarios,
    ensuring compliance with PoX-4 protocols and robust error handling. This
    strategy is expected to greatly enhance test coverage and the reliability
    of PoX-4 stacking operations, bolstering confidence in the protocol’s
    robustness and correctness.
    
    Note: This is an early-stage WIP commit. Implementation details and testing
    strategies are subject to substantial development and refinement.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    9905e7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57cc223 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b047b94 View commit details
    Browse the repository at this point in the history
  4. test(pox-4-tests): Incorporate wallet labels for clearer test logging

    Revamps the PoX-4 testing suite by introducing wallet labels, aiming
    for more intelligible logging and easier identification of wallets in
    tests. This enhancement affects various commands and test setups,
    making debugging and test verification processes more straightforward.
    Includes updates to wallet structures and all related command
    implementations to utilize these labels in their logging outputs.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c7dd8f4 View commit details
    Browse the repository at this point in the history
  5. refactor(pox-4-tests): Remove unused prvKey and pubKey from Wallet

    Simplifies the Wallet type and its usage in PoX-4 tests by removing
    the prvKey and pubKey fields. This change reflects an effort to
    simplify the data structures and focus on the essential elements
    needed for testing. The reduction in fields contributes to cleaner
    code and minimizes unnecessary data handling in the test setup and
    execution.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    8d886f5 View commit details
    Browse the repository at this point in the history
  6. refactor(pox-4-tests): Rename Wallet 'client' to 'stackingClient'

    Improves code clarity by renaming the 'client' field in the Wallet
    type to 'stackingClient'. This change better specifies the purpose of
    the client as specifically for stacking operations within the PoX-4
    testing framework. The update is applied across all instances where
    the field is referenced, ensuring consistency and enhancing
    readability.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    d6536c3 View commit details
    Browse the repository at this point in the history
  7. refactor(pox-4-tests): Typify 'delegatedTo' field in Wallet

    Enhances type safety by changing the 'delegatedTo' field in the Wallet
    type from a generic string to a more specific StxAddress type. This
    modification aids in preventing potential bugs by ensuring the field
    is used consistently as an STX address across the PoX-4 testing suite.
    The adjustment promotes clearer code, and better alignment with the
    domain model.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    d50a402 View commit details
    Browse the repository at this point in the history
  8. feat(pox-4-tests): Add amountUnlocked to Wallet for staking

    Introduces `amountUnlocked` to the Wallet model in PoX-4 tests to
    clearly differentiate between locked and available balances. This
    addition complements the existing balance field, enhancing
    understanding of staking dynamics without renaming or removing
    existing structures. Adjustments made in related commands and tests
    ensure accuracy and consistency.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    e8e2b5d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    71306da View commit details
    Browse the repository at this point in the history
  10. refactor(pox-4-tests): Relocate cycle utility functions to PoxCommands

    - Removes `Cl` and `cvToValue` imports and cycle utility functions from
      `pox-4.stateful-prop.test.ts`, streamlining its focus on tests.
    - Adds these imports and functions to `pox_Commands.ts`, centralizing
      cycle-related logic within command utilities for better cohesion and
      reusability. This shift enhances modularity and clarity in handling
      reward cycle calculations across PoX-4 tests.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    70b6c44 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    48490e6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    48cdebf View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    da4d658 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fe81e9d View commit details
    Browse the repository at this point in the history
  15. refactor(pox-4-tests): 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 Apr 11, 2024
    Configuration menu
    Copy the full SHA
    306c9d7 View commit details
    Browse the repository at this point in the history
  16. refactor(pox-4-tests): 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 Apr 11, 2024
    Configuration menu
    Copy the full SHA
    d318add View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ddc7c4d View commit details
    Browse the repository at this point in the history
  18. feat(pox-4-tests): Add logCommand for structured output using ololog

    Replace direct `console.log` and manual padding with `logCommand`,
    enhancing readability and simplifying logging.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    a6c9657 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4704f7b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    dae4ebd View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f0c7bf0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b77c81b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    35df5a2 View commit details
    Browse the repository at this point in the history
  24. feat(pox-4-tests): Print command output in real-time

    Thanks to @hugocaillard for swiftly implementing this feature.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    ebb17e3 View commit details
    Browse the repository at this point in the history
  25. fix(pox-4-tests): Update let to const RevokeDelegateStx

    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    64857fd View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7ff85f5 View commit details
    Browse the repository at this point in the history
  27. fix(test-output): Remove global noopReporter to restore test visibility

    Removed the "./noopReporter.ts" from the global Vitest reporters
    configuration to ensure test outputs are visible by default. This change
    addresses an issue where the output from all tests was being hidden,
    making it difficult to observe test results directly. The noopReporter
    can still be used selectively for specific tests via:
    npx vitest --reporter=./noopReporter.ts run tests/pox-4/pox-4.stateful-prop.test.ts
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    6254bac View commit details
    Browse the repository at this point in the history
  28. feat(pox-4-tests): Track command execution in PoxCommand implementations

    Each `run` method now calls `model.trackCommandRun(this.constructor.name)`,
    enhancing observability and aiding in debugging by systematically tracking
    command executions.
    
    Example output:
    
        Command run method execution counts:
        AllowContractCallerCommand: 491
        DelegateStackStxCommand: 1
        DelegateStxCommand: 285
        GetStackingMinimumCommand: 536
        GetStxAccountCommand: 503
        RevokeDelegateStxCommand: 281
        StackStxCommand: 8
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    848e0a8 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3b857f9 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    5afc571 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    8f59b98 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    91d5411 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0657943 View commit details
    Browse the repository at this point in the history
  34. chore(pox-4-tests): Update DelegateStackIncreaseCommand documentation

    #4607 (comment)
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    a2f87b9 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    8532098 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    ed44786 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    43c3960 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    f12bcc0 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    caf62d6 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    fdf1880 View commit details
    Browse the repository at this point in the history
  41. fix(pox-4-tests): Address format comment

    https://github.com/stacks-network/stacks-core/pull/4628/files#r1549544398
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    bb5bb99 View commit details
    Browse the repository at this point in the history
  42. fix(pox-4-tests): Address format comment

    https://github.com/stacks-network/stacks-core/pull/4628/files#r1549544650
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    ed6e4fd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    6646688 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    03e4158 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    ba564dc View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    fe10e3d View commit details
    Browse the repository at this point in the history
  47. fix(pox-4-tests): Address same pool pox address comment

    - removed check that verifies all the stackers have delegated to the same PoX address
    - addressed comments:
      - #4628 (comment)
      - #4628 (comment)
      - #4628 (comment)
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b23cd8d View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    79893f5 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    b726a24 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    04be682 View commit details
    Browse the repository at this point in the history
  51. test(pox-4-tests): Add StackAggregationIncreaseCommand

    Adding the `StackAggregationIncreaseCommand` is currently causing the tests to fail.
    To investigate:
    - this may be a PoX-4 bug
    - this may be a command implementation issue
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    fb48e07 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    e049330 View commit details
    Browse the repository at this point in the history
  53. fix(pox-4-tests): Refresh the model's state if the network gets to th…

    …e next reward cycle
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b75cb1e View commit details
    Browse the repository at this point in the history
  54. refactor(pox-4-tests): Rename stateRefresh to refreshStateForNextRewa…

    …rdCycle
    
    Rename `stateRefresh` to `refreshStateForNextRewardCycle` to more
    explicitly indicate its function of updating the model's state upon
    transitioning to the next reward cycle.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c7b31f5 View commit details
    Browse the repository at this point in the history
  55. chore(pox-4-tests): Format code and wrap comments at 79 chars

    - Ran `deno fmt` to ensure code formatting adheres to standard practices.
    - Manually wrapped comments to 79 characters width for improved readability
      across various code editors and diff tools.
    - Fixed minor typos and standardized comment punctuation.
    - Added missing periods at the end of parameter descriptions.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    466f45b View commit details
    Browse the repository at this point in the history
  56. wip(pox-4-tests): StackStxCommand & stateful property tests planning

    This commit lays the groundwork for the StackStxCommand and
    GetStackingMinimumCommand classes for PoX-4. It also proposes the
    introduction of fast-check based stateful tests, similar to the efforts
    for sBTC (stacks-network/sbtc#152).
    
    As highlighted in #4548,
    this initiative is part of an ongoing effort to embrace a more rigorous,
    property-based testing strategy for PoX-4 interactions.
    
    The planned stateful tests aim to simulate various stacking scenarios,
    ensuring compliance with PoX-4 protocols and robust error handling. This
    strategy is expected to greatly enhance test coverage and the reliability
    of PoX-4 stacking operations, bolstering confidence in the protocol’s
    robustness and correctness.
    
    Note: This is an early-stage WIP commit. Implementation details and testing
    strategies are subject to substantial development and refinement.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    954e294 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    1496241 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    cb1be4b View commit details
    Browse the repository at this point in the history
  59. test(pox-4-tests): Incorporate wallet labels for clearer test logging

    Revamps the PoX-4 testing suite by introducing wallet labels, aiming
    for more intelligible logging and easier identification of wallets in
    tests. This enhancement affects various commands and test setups,
    making debugging and test verification processes more straightforward.
    Includes updates to wallet structures and all related command
    implementations to utilize these labels in their logging outputs.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3b19a22 View commit details
    Browse the repository at this point in the history
  60. refactor(pox-4-tests): Remove unused prvKey and pubKey from Wallet

    Simplifies the Wallet type and its usage in PoX-4 tests by removing
    the prvKey and pubKey fields. This change reflects an effort to
    simplify the data structures and focus on the essential elements
    needed for testing. The reduction in fields contributes to cleaner
    code and minimizes unnecessary data handling in the test setup and
    execution.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    55f6bb3 View commit details
    Browse the repository at this point in the history
  61. refactor(pox-4-tests): Rename Wallet 'client' to 'stackingClient'

    Improves code clarity by renaming the 'client' field in the Wallet
    type to 'stackingClient'. This change better specifies the purpose of
    the client as specifically for stacking operations within the PoX-4
    testing framework. The update is applied across all instances where
    the field is referenced, ensuring consistency and enhancing
    readability.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    092cb4d View commit details
    Browse the repository at this point in the history
  62. refactor(pox-4-tests): Typify 'delegatedTo' field in Wallet

    Enhances type safety by changing the 'delegatedTo' field in the Wallet
    type from a generic string to a more specific StxAddress type. This
    modification aids in preventing potential bugs by ensuring the field
    is used consistently as an STX address across the PoX-4 testing suite.
    The adjustment promotes clearer code, and better alignment with the
    domain model.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    56e1f06 View commit details
    Browse the repository at this point in the history
  63. feat(pox-4-tests): Add amountUnlocked to Wallet for staking

    Introduces `amountUnlocked` to the Wallet model in PoX-4 tests to
    clearly differentiate between locked and available balances. This
    addition complements the existing balance field, enhancing
    understanding of staking dynamics without renaming or removing
    existing structures. Adjustments made in related commands and tests
    ensure accuracy and consistency.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    559e1ec View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    e064778 View commit details
    Browse the repository at this point in the history
  65. refactor(pox-4-tests): Relocate cycle utility functions to PoxCommands

    - Removes `Cl` and `cvToValue` imports and cycle utility functions from
      `pox-4.stateful-prop.test.ts`, streamlining its focus on tests.
    - Adds these imports and functions to `pox_Commands.ts`, centralizing
      cycle-related logic within command utilities for better cohesion and
      reusability. This shift enhances modularity and clarity in handling
      reward cycle calculations across PoX-4 tests.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c5e0ea5 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    fa6c6ee View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    849be91 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    83ef9c1 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    0139de9 View commit details
    Browse the repository at this point in the history
  70. refactor(pox-4-tests): 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 Apr 11, 2024
    Configuration menu
    Copy the full SHA
    364ea59 View commit details
    Browse the repository at this point in the history
  71. refactor(pox-4-tests): 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 Apr 11, 2024
    Configuration menu
    Copy the full SHA
    271c15b View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    e1c0f04 View commit details
    Browse the repository at this point in the history
  73. feat(pox-4-tests): Add logCommand for structured output using ololog

    Replace direct `console.log` and manual padding with `logCommand`,
    enhancing readability and simplifying logging.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    243c3c9 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    71f6358 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    91b7d93 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    642ec8d View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    b390186 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    d4cc53e View commit details
    Browse the repository at this point in the history
  79. feat(pox-4-tests): Print command output in real-time

    Thanks to @hugocaillard for swiftly implementing this feature.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    1223c07 View commit details
    Browse the repository at this point in the history
  80. fix(pox-4-tests): Update let to const RevokeDelegateStx

    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    764a862 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    b5850fd View commit details
    Browse the repository at this point in the history
  82. fix(test-output): Remove global noopReporter to restore test visibility

    Removed the "./noopReporter.ts" from the global Vitest reporters
    configuration to ensure test outputs are visible by default. This change
    addresses an issue where the output from all tests was being hidden,
    making it difficult to observe test results directly. The noopReporter
    can still be used selectively for specific tests via:
    npx vitest --reporter=./noopReporter.ts run tests/pox-4/pox-4.stateful-prop.test.ts
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    4a9e95c View commit details
    Browse the repository at this point in the history
  83. feat(pox-4-tests): Track command execution in PoxCommand implementations

    Each `run` method now calls `model.trackCommandRun(this.constructor.name)`,
    enhancing observability and aiding in debugging by systematically tracking
    command executions.
    
    Example output:
    
        Command run method execution counts:
        AllowContractCallerCommand: 491
        DelegateStackStxCommand: 1
        DelegateStxCommand: 285
        GetStackingMinimumCommand: 536
        GetStxAccountCommand: 503
        RevokeDelegateStxCommand: 281
        StackStxCommand: 8
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3062bed View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    47fcfbd View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    b1272e0 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    22feaa7 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    fb5c0e7 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    4a7d4a8 View commit details
    Browse the repository at this point in the history
  89. chore(pox-4-tests): Update DelegateStackIncreaseCommand documentation

    #4607 (comment)
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f7d4dfa View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    6c7d2e2 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    838c98f View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    6b09445 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    bebb7b7 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    3d778ce View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    82aa13d View commit details
    Browse the repository at this point in the history
  96. fix(pox-4-tests): Address format comment

    https://github.com/stacks-network/stacks-core/pull/4628/files#r1549544398
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    d572724 View commit details
    Browse the repository at this point in the history
  97. fix(pox-4-tests): Address format comment

    https://github.com/stacks-network/stacks-core/pull/4628/files#r1549544650
    
    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2b421da View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    016f5fd View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    1bd3515 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    d65444f View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    b24d149 View commit details
    Browse the repository at this point in the history
  102. fix(pox-4-tests): Address same pool pox address comment

    - removed check that verifies all the stackers have delegated to the same PoX address
    - addressed comments:
      - #4628 (comment)
      - #4628 (comment)
      - #4628 (comment)
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3be006e View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    f854333 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    5741518 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    f17b071 View commit details
    Browse the repository at this point in the history
  106. test(pox-4-tests): Add StackAggregationIncreaseCommand

    Adding the `StackAggregationIncreaseCommand` is currently causing the tests to fail.
    To investigate:
    - this may be a PoX-4 bug
    - this may be a command implementation issue
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    185b91d View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    e320a4d View commit details
    Browse the repository at this point in the history
  108. fix(pox-4-tests): Refresh the model's state if the network gets to th…

    …e next reward cycle
    BowTiedRadone authored and moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    58f02a3 View commit details
    Browse the repository at this point in the history
  109. refactor(pox-4-tests): Rename stateRefresh to refreshStateForNextRewa…

    …rdCycle
    
    Rename `stateRefresh` to `refreshStateForNextRewardCycle` to more
    explicitly indicate its function of updating the model's state upon
    transitioning to the next reward cycle.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    0b9d36e View commit details
    Browse the repository at this point in the history
  110. chore(pox-4-tests): Format code and wrap comments at 79 chars

    - Ran `deno fmt` to ensure code formatting adheres to standard practices.
    - Manually wrapped comments to 79 characters width for improved readability
      across various code editors and diff tools.
    - Fixed minor typos and standardized comment punctuation.
    - Added missing periods at the end of parameter descriptions.
    moodmosaic committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    20ca4e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Merge branch 'feat/pox-4-stateful-property-testing' of github.com:sta…

    …cks-network/stacks-core into feat/pox-4-stateful-property-testing
    moodmosaic committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    7f84a0c View commit details
    Browse the repository at this point in the history
  2. fix(pox-4-tests): update @hirosystems/clarinet-sdk-wasm to 2.4.2 for …

    …bug fixes
    
    This includes the fixes in
    - #4644
    - #4670
    moodmosaic committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    5185e58 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. fix(pox-4-tests): Separate stacker from wallet

    to ensure command updates propagate:
    
    - Split wallet data into Wallet and Stacker types in pox-4 tests.
    - Address fast-check execution order issues affecting state propagation.
    - Initialize Wallet in constructor, modify Stacker in command runs.
    - Ensure accurate reflection and propagation of updates across commands.
    moodmosaic committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    fc23590 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    7dba975 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25ee419 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53170b9 View commit details
    Browse the repository at this point in the history
  4. fix(pox-4-tests): Fix DelegateStackStx, StackStx, `DelegateStackE…

    …xtend`, `RevokeDelegateStx`
    
    This commit fixes issues regarding values generated at the generator level
    that are not available after the reward cycle change.
    BowTiedRadone authored and moodmosaic committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    eb95d20 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    552648c View commit details
    Browse the repository at this point in the history
  6. fix(pox-4-tests): Fix StackAggregationCommitX

    This commit fixes the way the current cycle is calculated.
    BowTiedRadone authored and moodmosaic committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    1c0206b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a8c017 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4a3ca5c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3089e8b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a0d8352 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cc17600 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    742dbf5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9945c5e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    ab837a1 View commit details
    Browse the repository at this point in the history
  2. chore(pox-4-tests): Update comment

    Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
    BowTiedRadone and moodmosaic committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    d2c1eb7 View commit details
    Browse the repository at this point in the history
  3. fix(pox-4-tests): Update AllowContractCallerCommand to remove the wal…

    …let from ex-allowed's list
    BowTiedRadone authored and moodmosaic committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    e33895f View commit details
    Browse the repository at this point in the history
  4. fix(pox-4-tests): Replace pox values REWARD_CYCLE_LENGTH and `FIRST…

    …_BURNCHAIN_BLOCK_HEIGHT` consts
    BowTiedRadone authored and moodmosaic committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    5679afa View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    b1d7d2e View commit details
    Browse the repository at this point in the history