F-2024-0003·dead-code

Unused FUNCTION_SIGNATURE_BS constant in RedstoneConstants

TL;DR

FUNCTION_SIGNATURE_BS constant is declared in RedstoneConstants but not used by any contract in the evm-connector package.

Severity
LOW
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description

Description

The RedstoneConstants contract defines various constants utilized across the evm-connector package. However, the constant FUNCTION_SIGNATURE_BS is not used in any contract. Removing unused code is a best practice to maintain code clarity.

03Section · Impact

Impact

Dead code adds maintenance overhead and can mislead readers into believing the constant is consumed somewhere in the protocol.

04Section · Recommendation

Recommendation

Consider the removal of the FUNCTION_SIGNATURE_BS constant.

05Section · Resolution

Resolution

RedStone: Fixed in commit be508fa80152bad5c8a4535a8ab1df18e4bad372.

Status
Fixed
Fix commit
be508fa80152
F-2024-0003

oog
zealynx

Smart Contract Security Digest

Monthly exploit breakdowns, audit checklists, and DeFi security research — straight to your inbox

© 2026 Zealynx