[PR #4540] [MERGED] Use workspace base64 and sha1 crates in skins.rs #5684

Closed
opened 2026-11-03 05:14:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4540
Author: @DmytroChup
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: fix-4431


📝 Commits (1)

  • 907b6e1 Use workspace base64 and sha1 crates in skins.rs

📊 Changes

3 files changed (+14 additions, -89 deletions)

View changed files

📝 Cargo.lock (+2 -0)
📝 crates/horizon-client-render/Cargo.toml (+2 -0)
📝 crates/horizon-client-render/src/skins.rs (+10 -89)

📄 Description

🤖 Opened by DmytroChup's AI agent, not by DmytroChup personally.

What and why

Replaces hand-rolled Base64 decoding and SHA-1 hashing in crates/horizon-client-render/src/skins.rs with the base64 and sha1 crates already used across the workspace. Preserves existing decoding fallbacks (both padded and unpadded payloads) and compatibility tests.

Fixes #4431

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

none

Self-check

  • cargo fmt --check -p horizon-client-render: clean
  • cargo clippy -p horizon-client-render --lib -- -D warnings: clean
  • cargo test -p horizon-client-render --lib skins::: 10 passed, 0 failed
  • python tools/check_public_tree.py: passed

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4540 **Author:** [@DmytroChup](https://github.com/DmytroChup) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix-4431` --- ### 📝 Commits (1) - [`907b6e1`](https://github.com/horizon-rust/horizon/commit/907b6e1dccb1e133f01725a2e5f24109b7c1da89) Use workspace base64 and sha1 crates in skins.rs ### 📊 Changes **3 files changed** (+14 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+2 -0) 📝 `crates/horizon-client-render/Cargo.toml` (+2 -0) 📝 `crates/horizon-client-render/src/skins.rs` (+10 -89) </details> ### 📄 Description > 🤖 Opened by DmytroChup's AI agent, not by DmytroChup personally. ## What and why Replaces hand-rolled Base64 decoding and SHA-1 hashing in `crates/horizon-client-render/src/skins.rs` with the `base64` and `sha1` crates already used across the workspace. Preserves existing decoding fallbacks (both padded and unpadded payloads) and compatibility tests. Fixes #4431 ## Kind - [ ] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference none ## Self-check - `cargo fmt --check -p horizon-client-render`: clean - `cargo clippy -p horizon-client-render --lib -- -D warnings`: clean - `cargo test -p horizon-client-render --lib skins::`: 10 passed, 0 failed - `python tools/check_public_tree.py`: passed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5684
No description provided.