Skip to content

Contracts: Use shared market_id_to_u64 for event emission - #1500

Merged
Ehonrie merged 2 commits into
Netwalls:mainfrom
thelux134:batch-166-features
Oct 21, 2026
Merged

Ehonrie merged 2 commits into
Netwalls:mainfrom
thelux134:batch-166-features

Conversation

@thelux134

Copy link
Copy Markdown
Contributor

Replace hand-rolled market ID decoding (from_le_bytes with sixteen as_ref calls) in resolve_market and claim_winnings with shared::market_id_to_u64 for consistency with indexers.

Closes #1344

thelux134 and others added 2 commits October 20, 2026 11:13
Replace hand-rolled market ID decoding (from_le_bytes with sixteen as_ref calls) in resolve_market and claim_winnings with shared::market_id_to_u64 for consistency with indexers.

Closes Netwalls#1344
@Ehonrie
Ehonrie merged commit 3e1b032 into Netwalls:main Oct 21, 2026
3 of 6 checks passed
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.

C-86: Replace Bytes::as_ref market-id decoding with shared::market_id_to_u64

2 participants