Skip to content

fix(cast): remove duplicate 0x prefix in sign-auth output#14143

Merged
zerosnacks merged 1 commit into
foundry-rs:masterfrom
zeroprooff:fix/sign-auth-duplicate-0x-prefi
Apr 7, 2026
Merged

fix(cast): remove duplicate 0x prefix in sign-auth output#14143
zerosnacks merged 1 commit into
foundry-rs:masterfrom
zeroprooff:fix/sign-auth-duplicate-0x-prefi

Conversation

@zeroprooff
Copy link
Copy Markdown
Contributor

hex::encode_prefixed already returns a string with 0x prefix, so having 0x{} in the format string resulted in double prefix like 0x0xf85a....

Before:
Signature: 0x0xf85a01800194
After:
Signature: 0xf85a01800194

@zerosnacks zerosnacks merged commit 385de8c into foundry-rs:master Apr 7, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants