Skip to content

Gas-Efficient Hashing for Privacy Flags #163

@Cedarich

Description

@Cedarich

Status: Open (Wave 3 – performance)
Labels: Contract, Performance
Complexity: Low (150 points)

Summary
Optimize the privacy flag verification logic to use the most gas-efficient hashing algorithms available in Soroban.
Tasks

  • Benchmark different hashing methods (SHA256 vs others) for small payloads.
  • Refactor the privacy.rs logic to use the optimized method.
  • Ensure zero regression in privacy enforcement.
    Acceptance Criteria
  • Measurable reduction in gas costs for privacy-enabled transactions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions