Skip to content

stable jack migration file#2803

Merged
0xkr3p merged 2 commits into
masterfrom
fix/stable-jack-slug
Jul 10, 2026
Merged

stable jack migration file#2803
0xkr3p merged 2 commits into
masterfrom
fix/stable-jack-slug

Conversation

@0xkr3p

@0xkr3p 0xkr3p commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Bug Fixes
    • Standardized the StableJack project identifier across configuration and AVAX pool data.
    • Improved consistency for integrations relying on the project name.

@0xkr3p 0xkr3p merged commit 35ba49a into master Jul 10, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: deafc2fd-c659-4013-9d70-76c8d843d8ee

📥 Commits

Reviewing files that changed from the base of the PR and between cc00757 and d855aa8.

📒 Files selected for processing (6)
  • migrations/1783676634724_rename-stable-jack-v1-to-stablejack-v1.js
  • src/adaptors/stablejack-v1/abiAUSD.js
  • src/adaptors/stablejack-v1/abirebalancePool.js
  • src/adaptors/stablejack-v1/abisAVAXOracle.js
  • src/adaptors/stablejack-v1/abisAVAXTreasury.js
  • src/adaptors/stablejack-v1/index.js

📝 Walkthrough

Walkthrough

The pool adaptor now emits stablejack-v1, and a reversible database migration renames the corresponding config.project value from stable-jack-v1.

Changes

StableJack identifier alignment

Layer / File(s) Summary
Align adaptor metadata and database configuration
src/adaptors/stablejack-v1/index.js, migrations/1783676634724_rename-stable-jack-v1-to-stablejack-v1.js
The adaptor returns stablejack-v1 as the project identifier, while the migration updates the database value and provides a reverse operation.

Estimated code review effort: 1 (Trivial) | ~3 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/stable-jack-slug

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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