Skip to content

Conversation

@youngkidwarrior
Copy link
Collaborator

Why:

  • Introduce compile-safe primitives without changing behavior.
  • readBalanceActivity (SEND-only), persistBalanceActivity (upsert token_balances),
    upsertSendTokenHodlerVerificationActivity (string|bigint weight; retry semantics).

Test plan:

  • yarn lint & tsc → pass; activities compile.
  • Dry-run activities (where applicable) log expected paths; no wiring yet.

Copy link
Collaborator Author

youngkidwarrior commented Oct 4, 2025

@youngkidwarrior youngkidwarrior force-pushed the types_widen_write_types_for_balance_weight_precision branch from 0fd629d to 87d2240 Compare October 4, 2025 09:43
@youngkidwarrior youngkidwarrior force-pushed the workflows_add_send_balance_hodler_activities_not_wired_ branch from 1fdcfd4 to 2237913 Compare October 4, 2025 09:43
@youngkidwarrior youngkidwarrior force-pushed the types_widen_write_types_for_balance_weight_precision branch from 87d2240 to fa92a18 Compare October 4, 2025 10:32
@youngkidwarrior youngkidwarrior force-pushed the workflows_add_send_balance_hodler_activities_not_wired_ branch 2 times, most recently from a7f88d0 to a2ccd91 Compare October 4, 2025 12:08
@youngkidwarrior youngkidwarrior force-pushed the types_widen_write_types_for_balance_weight_precision branch from fa92a18 to 6bd27f4 Compare October 4, 2025 12:08
Why:
Recent gating added complexity and caused overpopulation side effects.
Revert to the simpler behavior while we decide on DB-trigger-only vs
app-level DV upsert. Optimizing for speed likely favors DB triggers.

Next:
- Option A (recommended for speed/consistency): remove this activity and
  rely solely on the DB trigger (already implemented) to drive DV.
- Option B: keep this always-upsert activity and remove the DB trigger.

Test plan:
- yarn lint; SQL tests for hodler path continue to pass.
@youngkidwarrior youngkidwarrior force-pushed the workflows_add_send_balance_hodler_activities_not_wired_ branch from a2ccd91 to f01f6be Compare October 10, 2025 06:28
@youngkidwarrior youngkidwarrior force-pushed the types_widen_write_types_for_balance_weight_precision branch from 6bd27f4 to 6152588 Compare October 10, 2025 06:28
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.

2 participants