Fix how the string argument is treated (Fixed Bytes instead of string)#71
Open
scx1332 wants to merge 2 commits into
Open
Fix how the string argument is treated (Fixed Bytes instead of string)#71scx1332 wants to merge 2 commits into
scx1332 wants to merge 2 commits into
Conversation
…Result<FixedBytes<128>> th fix fn parse_cli_string_value(value: &str) -> Result<FixedBytes<128>> this function should return this FixedBytes argument instead of string to match our attribute value type
Member
Author
PlanFix Changes (all in
|
The CLI string parser now produces the natural on-chain attribute value type (FixedBytes<128>) instead of a String, matching the Attribute.value shape. The 128-byte ceiling is enforced at parse time via a shared pack_string_attr_value helper, which is also used by a custom serde deserializer for BatchAttributeValue::String so JSON batch files keep accepting plain strings. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Member
Author
Summary reportFix landed in commit What changedAll edits in
Verification
Notes
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was initialized by file-diff-engine for a claude-backed agent task.
Branch:
fd-agent/cli-string-parse-fixedbytes-returnBase branch:
mainTask runner:
claudeModel:
opusPull request completion mode:
AutoReadyCompletion behavior: this task pull request starts as a draft and will be marked ready for review after the agent run completes successfully.
Task:
fix
fn parse_cli_string_value(value: &str) -> Result<FixedBytes<128>>
this function should return this FixedBytes argument instead of string to match our attribute value type