Skip to content

Preprod#229

Open
QSchlegel wants to merge 39 commits intomainfrom
preprod
Open

Preprod#229
QSchlegel wants to merge 39 commits intomainfrom
preprod

Conversation

@QSchlegel
Copy link
Copy Markdown
Collaborator

No description provided.

Andre-Diamond and others added 27 commits March 30, 2026 08:26
- Added support for an optional `paymentNativeScript` parameter in the createWallet API, allowing users to specify a custom payment script tree.
- Implemented validation to ensure the script structure adheres to required formats and that key hashes match the provided signers' addresses.
- Updated related tests to cover new functionality and ensure robust handling of various script configurations.
- Enhanced API documentation to reflect the new parameter and its usage.
- Create initial ci bot testing framework files
- Added `.gitignore` entry for CI local artifacts.
- Changed `init-db.sh` to use `sh` instead of `bash`.
- Updated `docker-compose.ci.yml` to correctly handle status variable in commands.
- Enhanced CI scripts to support multisig wallet ring transfers, including detailed documentation updates.
- Refactored transfer flow to ensure distinct source and destination wallet types for transactions.
- Improved error handling and validation in wallet script resolution logic.
- Updated README.md to clarify real transfer construction and validation notes for preprod scenarios.
- Added checks in run-route-chain.ts to ensure preprod context and testnet address validation.
- Enhanced bot authentication logic in botAuth.ts with caching and retry mechanisms.
- Improved transfer flow in transferFlow.ts to validate wallet addresses and ensure sufficient UTxO availability for transactions.
- Refactored transaction building logic to utilize MeshTxBuilder for better handling of multisig inputs.
- Updated bot authentication logic in botAuth.ts to provide clearer error messages by including the status of the authentication response.
- Enhanced test setups across multiple test files to ensure consistent initialization of session-related properties, including sessionWallets and primaryWallet.
- Refactored mock implementations in various tests for better type safety and clarity.
- Removed wallet_types input from the CI workflow configuration for simplicity.
- Added conditional execution for the multisig-v1-smoke job based on the repository.
- Updated README.md to clarify the role of native scripts in CI and added details about script payload storage.
- Implemented a new function to fetch native scripts for different wallet types in the manifest, enhancing the route health checks.
- Added additional redaction rules for sensitive information in CI logs, including mnemonics and private keys.
- Updated `create-wallets.ts` to remove transaction ID from created wallets, reflecting changes in transaction handling.
- Modified `run-pending-transactions-smoke.ts` to focus on specific pending scenarios and improve error messaging.
- Refactored context validation to make transaction ID optional, ensuring compatibility with new wallet creation logic.
- Cleaned up scenario manifest by removing obsolete pending transaction checks and clarifying wallet discovery steps.
- Updated wallet creation logic in `create-wallets.ts` to include additional scopes: `governance:read` and `ballot:write`.
- Enhanced `README.md` to document new wallet authentication and governance features, including detailed descriptions of new routes and scenarios.
- Added new scenarios in `manifest.ts` for bot identity verification and wallet authentication checks, improving overall CI coverage.
- Introduced a new `walletBalanceSummary` object in `ci-route-chain-report.json` to capture total on-chain balances per wallet.
- Updated `runScenarios` to collect wallet balance data and include it in the run report.
- Defined new types for wallet balance entries and summaries in `types.ts` to support the new reporting feature.
- Enhanced documentation in `README.md` to explain the structure and semantics of the wallet balance summary.
- Removed obsolete scripts: `create-wallets.ts`, `run-route-chain.ts`, `inspect-context.ts`, `run-pending-transactions-smoke.ts`, `sign-transaction-preprod.ts`, and `template-route-step.ts`.
- Introduced new CLI structure under `scripts/ci/cli/` with `bootstrap.ts` and `route-chain.ts` for improved organization.
- Updated `docker-compose.ci.yml` to reflect changes in script execution.
- Revised documentation in `README.md` to align with new script structure and clarify CI stages.
- Adjusted scenario descriptions in `manifest.ts` to reference new script locations.
- Modified scenario functions in `manifest.ts`, `authPlane.ts`, `datum.ts`, and `governance.ts` to accept `CIBootstrapContext` as a parameter for improved context handling.
- Updated execution logic in scenarios to utilize the provided context, enhancing flexibility and maintainability.
- Adjusted scenario descriptions to reflect changes in wallet type handling and ensure consistency across different scenarios.
- Updated `docker-compose.ci.yml` to include a new step for checking wallet status after bootstrap.
- Expanded `README.md` to clarify the CI process, detailing the new `wallet-status.ts` script and its role in confirming wallet funding.
- Modified `bootstrap.ts` to derive and store signer stake addresses, and updated the context schema to version 3 to accommodate new fields.
- Enhanced `inspect-context.ts` to display signer stake addresses and SDK multisig reward address.
- Adjusted context validation in `context.ts` to ensure compatibility with the new schema and added checks for signer stake addresses.
- Introduced new API endpoints `/api/v1/botStakeCertificate` and `/api/v1/botDRepCertificate` for building stake and DRep transactions, respectively.
- Updated `package.json` to include new unit tests for the added functionality.
- Enhanced `README.md` with detailed usage instructions for the new endpoints.
- Refactored `addTransaction.ts` to streamline transaction creation for multisig wallets.
- Updated `freeUtxos.ts` to improve UTxO resolution logic.
- Modified `stake.tsx` to integrate new staking action configurations.
…ependencies

Added "dev": true to multiple entries in package-lock.json, indicating that these packages are development dependencies. This change helps clarify the purpose of these packages in the project.
ROADMAP.md seeded from docs/roadmap-v3 and extended with a
Task ownership section splitting all 12 months of work into
per-contributor lists, plus a Month 1 proof-of-completion
table tracking actual status of each M1 task.

CONTRIBUTING.md captures the review process, branch and
commit conventions, PR checklist, and merge rules. Contributions
are accepted against preprod, which graduates to main after
clean runs in the preprod environment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
docs: add roadmap and contributing guide
- Refactor botDRepCertificate to streamline transaction input handling and certificate script application.
- Update botStakeCertificate to utilize a unified spend script for transaction inputs.
- Introduce fresh query parameter in freeUtxos to allow fetching unspent transaction outputs directly from the blockchain.
- Implement stake key witness validation in signTransaction to support transactions with staking certificates.
- Add new flow for signing stake certificates that includes both payment and stake key witnesses.
- Create comprehensive CI scenarios for DRep registration and retirement, as well as stake registration and deregistration.
- Implement stakeAccountInfo API to fetch stake account status and pool information.
Reject unparseable txCbor/txJson at the addTransaction API boundary so a
malformed 4-element CBOR can never be persisted, and render a degraded
card with a Reject button when an existing row's txJson cannot be
parsed, so a single bad row no longer crashes the whole Transactions
page and locks up its UTxOs.

Closes #211

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- #223 marked Done — PR #225 merged, issue closed
- #211 moved to In review — PR #227 open with API validation + degraded card
- External PRs row updated with review status (#212 awaiting rebase, #208 superset)
- #213 note clarifies CI smoke is skipping due to missing SMOKE_* secrets

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
docs: refresh M1 proof of completion (2026-04-23)
Build-phase migrations fail on Railway because postgres.railway.internal
is only reachable at runtime. The prestart hook already handles this.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix: guard against invalid CBOR in addTransaction and transaction card
Adds deployment_status trigger so smoke runs against the freshly deployed
preprod environment. Filters to Railway bot + preprod env, and checks out
the exact deployed SHA.

Note: deployment_status only fires from workflows on the default branch,
so this must also land on main for the trigger to activate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

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

Project Deployment Actions Updated (UTC)
multisig Ready Ready Preview, Comment Apr 24, 2026 4:17pm

Request Review

@railway-app railway-app Bot temporarily deployed to victorious-warmth / preprod April 23, 2026 13:00 Inactive
Andre-Diamond and others added 6 commits April 23, 2026 15:15
…ests and pushes

- Added support for `main`, `preprod`, and `bot-api-test-suite` branches in the pull request and push triggers of the CI workflow.
- Enhanced the workflow configuration to ensure proper execution across multiple environments.
@railway-app railway-app Bot temporarily deployed to victorious-warmth / preprod April 24, 2026 14:00 Inactive
Comment thread scripts/ci/framework/markdown.ts Fixed
Comment thread src/lib/server/resolveDRepAnchorFromUrl.ts Fixed
@railway-app railway-app Bot temporarily deployed to victorious-warmth / preprod April 24, 2026 14:44 Inactive
Comment thread src/lib/server/resolveDRepAnchorFromUrl.ts Fixed
@railway-app railway-app Bot temporarily deployed to victorious-warmth / preprod April 24, 2026 15:08 Inactive
Comment thread src/lib/server/resolveDRepAnchorFromUrl.ts Fixed
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