Repository navigation
Fix decimal owner token IDs in EMMA snapshots - #74
Conversation
Signed-off-by: GelatoGenesis <1407802+GelatoGenesis@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Comment |
6529bot WCAG 2.2 AA analysis - 58db474Verdict: No WCAG findings This PR is a backend/CI change: token ID parsing in the Alchemy adapter, Lambda deployment selection scripts, GitHub Actions workflow inputs, tests, and README documentation. There is no user-facing UI code (no markup, components, styling, or interactive controls) in the changed files, so there are no WCAG 2.2 AA success criteria to evaluate here. No coverage claim is made for UI areas outside this diff. |
6529bot i18n analysis - 58db474Verdict: No i18n findings This is a backend/infrastructure PR (Alchemy API adapter token ID parsing, Lambda deploy tooling, CI workflows, README). No user-facing React UI copy, locale-sensitive formatting, or accessible-name changes are touched, and there is no frontend i18n path in scope. The changed user-facing strings that do exist are operational/developer-facing only and outside the i18n standard:
No action needed from an i18n/localization standpoint. |
6529bot general PR review - 58db474Verdict: Good to merge The core fix is sound: token IDs are validated as strings against Nice-to-have
The added |
6529bot crypto security analysis - 58db474Verdict: No security findings The token ID normalization is the security-relevant change, and it holds up:
On the CI/deploy path: the No wallet, auth, signature, nonce, or chain-id logic is touched in this diff. The |
Signed-off-by: GelatoGenesis <1407802+GelatoGenesis@users.noreply.github.com>
6529bot follow-up commit review - 77de72cVerdict: No new findings The follow-up commit (77de72c) addresses the prior review's nice-to-have items cleanly. Resolved since last review
The |
Signed-off-by: GelatoGenesis <1407802+GelatoGenesis@users.noreply.github.com>
6529bot follow-up commit review - 766a0daVerdict: No new findings The newest commit (766a0da) applies the single-service deployment pattern to
No regressions relative to the prior same-lane review; the alchemy token-ID and |
|



Issue
Alchemy owner responses can contain decimal token IDs. Published allowlist-lib 0.0.136 treats every ID as hexadecimal, so token 10 becomes 16 and EMMA snapshots can be empty or select the wrong holders.
Fix
Validate owner IDs as uint256 values and normalize decimal or explicitly prefixed hexadecimal input to canonical hexadecimal at the Alchemy adapter boundary. This works with both the current published library and its corrected parser, allowing an independent rollout without a package release.
Changes
Validation
ownerOfcall at that block. This check exercised the adapter and pinned library locally against production provider data; the deployed artifact is the one verified above.Risk
Review Notes
Focus on decimal 10 versus hexadecimal 0x10 and compatibility with the pinned library. Deploy downloader, worker, then API, waiting for each selected service to pass. The production workflow uses the same service selection already verified in staging; the application code and pinned dependency are unchanged by that workflow follow-up.
Companion parser correction: 6529-Collections/allowlist-lib#16. 6529bot follow-up review reports no new findings after its robustness suggestions were addressed.
The library correction is published as 0.0.137. EMMA retains the exact dependency used in staging; the compatible adapter delivers the fix independently. Existing stored snapshots are unchanged and affected empty snapshots must be recreated.