Skip to content

Conversation

@JamesPiechota
Copy link
Collaborator

New logic:

if any normalized #tx.tags tag clashes with either the L1 target or last_tx then we resolve by:

  1. sort all the keys such that: lowercase < Capitalized < all-other-casings < L1
  2. base-layer TABM key is set to the first value from the sort
  3. add an original-target or original-anchor to the commitments with the L1 value

@JamesPiechota JamesPiechota force-pushed the fix/ans104-tag-clash-20250728 branch from b937593 to b7cf10a Compare July 31, 2025 18:14
@JamesPiechota JamesPiechota changed the title fix: handle tag name clash on dev_codec_ans104:from fix: handle tag name clash on dev_codec_ans104 Jul 31, 2025
@JamesPiechota JamesPiechota force-pushed the fix/ans104-tag-clash-20250728 branch from eb1583d to 4ae636c Compare July 31, 2025 18:16
@JamesPiechota JamesPiechota marked this pull request as ready for review July 31, 2025 18:16
@JamesPiechota JamesPiechota force-pushed the fix/ans104-tag-clash-20250728 branch 2 times, most recently from a6bb488 to f4f7cff Compare August 12, 2025 15:31
New logic:

if any normalized #tx.tags tag clashes with either the L1 target or last_tx
then we resolve by:
  1. sort all the keys such that: lowercase < Capitalized < all-other-casings < L1
  2. base-layer TABM key is set to the first value from the sort
  3. add an `original-target` or `original-anchor` to the commitments with the
     L1 value
@samcamwilliams samcamwilliams force-pushed the fix/ans104-tag-clash-20250728 branch from 6b0a325 to 5e89e42 Compare August 15, 2025 15:15
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.

3 participants