Skip to content

fix: Consolidate MAX_ASSETS constants in GlobeWallet - #74

Open
samuelfrancis163-eng wants to merge 1 commit into
Orbit-Wal:mainfrom
samuelfrancis163-eng:fix-max-assets
Open

fix: Consolidate MAX_ASSETS constants in GlobeWallet#74
samuelfrancis163-eng wants to merge 1 commit into
Orbit-Wal:mainfrom
samuelfrancis163-eng:fix-max-assets

Conversation

@samuelfrancis163-eng

Copy link
Copy Markdown

Closes #31
Removed the duplicate module-level MAX_ASSETS constant in favor of GlobeWallet::MAX_ASSETS which is actually used by the enforcement logic. Also updated tests to consistently use GlobeWallet::MAX_ASSETS.

Issue

Closes #

Root cause

What changed and why

Definition of done — addressed item by item

  • Item 1: ...
  • Item 2: ...
  • Item 3: ...

Evidence this actually runs

paste test/build output here

Tests

Regression check

Checklist

  • Every Definition of done bullet above is checked and explained, not just checked
  • Evidence block above is filled in with real output, not omitted
  • New/updated tests are included and shown passing
  • No leftover console.log/TODO/debug code
  • Related/adjacent behavior re-verified, not assumed unaffected

Removed the duplicate module-level MAX_ASSETS constant in favor of GlobeWallet::MAX_ASSETS which is actually used by the enforcement logic. Also updated tests to consistently use GlobeWallet::MAX_ASSETS.
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.

MAX_ASSETS is defined twice (module-level const and impl-level const) — duplicate source of truth

1 participant