Skip to content

Use real chain configuration in collateral policy tests - #1154

Merged
tjcloa merged 1 commit into
developfrom
fix/lending-collateral-ci
Nov 4, 2026
Merged

tjcloa merged 1 commit into
developfrom
fix/lending-collateral-ci

Conversation

@tjcloa

@tjcloa tjcloa commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The post-merge Node 22 job failed before the collateral-policy assertions because a real network lookup received the numeric test chain ID 31. The test's virtual workspace-package mocks supplied numeric IDs while the real provider uses hexadecimal IDs.

Remove the virtual mocks and use the actual offline chain and asset configuration. All three collateral-policy assertions remain intact. Application code is unchanged.

Validation: all 53 frontend suites / 631 tests pass; typechecking, lint and formatting pass. A controlled change returning legacy collateral as active collateral fails two of the three policy tests, confirming the protection remains effective. Internal review found no issues. The original fixture passed locally, so the exact hosted resolution timing has not been reproduced; hosted matrix validation is required.

@changeset-bot

changeset-bot Bot commented Nov 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bdb2431

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sovryn-dapp ready!

Name Link
🔨 Latest commit bdb2431
🔍 Latest deploy log https://app.netlify.com/projects/sovryn-dapp/deploys/6aeb10797bb02f7a1e4b4605
😎 Deploy Preview https://deploy-preview-1154.preview.sovryns.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tjcloa
tjcloa merged commit 651f8af into develop Nov 4, 2026
8 checks passed
@tjcloa
tjcloa deleted the fix/lending-collateral-ci branch November 4, 2026 11:07
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