Skip to content

Refactor/ci-and-browser-tx-building-alignment#256

Open
Andre-Diamond wants to merge 5 commits into
preprodfrom
refactor/ci-and-browser-tx-building-alignment
Open

Refactor/ci-and-browser-tx-building-alignment#256
Andre-Diamond wants to merge 5 commits into
preprodfrom
refactor/ci-and-browser-tx-building-alignment

Conversation

@Andre-Diamond
Copy link
Copy Markdown
Collaborator

  • Added a new test command for TRPC in package.json to facilitate targeted testing of TRPC-related components.
  • Updated the unit test workflow to correct the test path pattern for transaction builder tests, ensuring accurate test execution.
  • Removed unused cborUtils.ts file to clean up the test directory and improve maintainability.
  • Simplified infrastructure tests by removing unnecessary cbor-x decoding tests.

- Introduced `applyDRepCert` function to streamline DRep certificate operations (register, update, retire) in `buildDRepCertTx.ts`.
- Updated `RegisterDRep`, `Retire`, and `UpdateDRep` components to utilize the new `applyDRepCert` function for better code reuse and clarity.
- Added Jest tests for DRep certificate functionality in `drepCert.test.ts`, covering various scenarios including registration, update, and retirement.
- Created utility functions and fixtures for testing in `cborUtils.ts`, `fixtures.ts`, and `mockProvider.ts`.
- Established a GitHub Actions workflow for running unit tests and uploading coverage reports.
- Set coverage thresholds for critical files to ensure code quality.
…handling

- Updated proxy transaction APIs to utilize `completeTxWithFreshCostModels` for transaction completion, enhancing cost model handling.
- Adjusted `getTxBuilder` to accept a flag for using the CSL serializer, improving flexibility in transaction building.
- Enhanced unit tests for proxy cleanup, setup, spend, vote, and DRep certificate APIs to validate the new transaction completion logic.
- Added error handling for PPView hash mismatches during transaction submission, ensuring better feedback on transaction integrity issues.
- Added a new test command for TRPC in package.json to facilitate targeted testing of TRPC-related components.
- Updated the unit test workflow to correct the test path pattern for transaction builder tests, ensuring accurate test execution.
- Removed unused cborUtils.ts file to clean up the test directory and improve maintainability.
- Simplified infrastructure tests by removing unnecessary cbor-x decoding tests.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
multisig Ready Ready Preview, Comment May 21, 2026 12:35pm

Request Review

…e tests

- Refactored imports to streamline the usage of `completeTxWithFreshCostModels` across the codebase.
- Updated unit tests to reflect changes in cost model handling, including support for raw arrays and ordering of indexed cost model objects.
- Added new test cases to validate the rejection of improperly ordered cost model objects, ensuring robustness in transaction processing.
- Integrated functions to extract and filter blocked UTxOs from pending transactions, improving the robustness of proxy transaction processing.
- Updated `MeshProxyContract` to utilize blocked UTxO references when selecting UTxOs for spending, ensuring only available UTxOs are used.
- Enhanced `ProxyControl` component to manage blocked UTxOs and ensure proper handling of available UTxOs for transactions.
- Refactored UTxO selection logic to improve clarity and maintainability in the proxy transaction workflow.
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