Assessment reports>Orderly Strategy Vault>Discussion>Typos in the codebase

Typos in the codebase

The following typos were found in ProtocolVaultLedger.sol, IProtocolVaultLedger.sol, and Signature.sol.

// ProtocolVaultLedger.sol
- mapping(bytes32 => bool) public isOpHandeled;
+ mapping(bytes32 => bool) public isOpHandled;

- if (!isOpHandeled[requestId]) {
+ if (!isOpHandled[requestId]) {

- isOpHandeled[requestId] = true;
+ isOpHandled[requestId] = true;

- Signature.verifyAllocatToFunds(periodId, vaultId, strategyProviderIds, signature, engine);
+ Signature.verifyAllocateToFunds(periodId, vaultId, strategyProviderIds, signature, engine);

- emit AssetsDistrubuted(periodId, vaultId);
+ emit AssetsDistributed(periodId, vaultId);

// IProtocolVaultLedger.sol
- event AssetsDistrubuted(uint256 periodId, bytes32 vaultId);
+ event AssetsDistributed(uint256 periodId, bytes32 vaultId);

// Signature.sol
- function verifyAllocatToFunds(
+ function verifyAllocateToFunds(

Remediation

This issue has been acknowledged by Orderly Network, and a fix was implemented in commit aa898b99.

Zellic © 2025Back to top ↑