Fix outputs_match_asset to not require asset_name#833
Fix outputs_match_asset to not require asset_name#833SupernaviX wants to merge 6 commits intotxpipe:mainfrom
outputs_match_asset to not require asset_name#833Conversation
📝 WalkthroughWalkthroughRefined Phase1ValidationRejected message and adjusted transaction processing: outputs_match_asset now evaluates assets per-policy with optional empty-name wildcard; block_to_txs preserves original block bytes and populates the AnyChainTx block field. A test call-site reference fix was applied. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
18f13e6 to
6277e8e
Compare
outputs_match_asset to not require asset_name
295b558 to
09d0b81
Compare
gonzalezzfelipe
left a comment
There was a problem hiding this comment.
@SupernaviX thanks for the contribution, functionality wise I think it makes perfect sense. Can you handle the conflicts for us to go forward with a merge?
I merged the main branch in. Tests are failing but they were before, and I didn't see any merge conflicts |
The
outputs_match_assetutil wouldn't allow users to match policy ids unless they were also matching asset names. Update it to support this.Also, fix the
Phase1ValidationRejectederror message so that it tells users what's wrong with their TX.Summary by CodeRabbit
Improvements
Tests