Skip to content

fix(bioforest-api): require explicit magic from genesisBlock#487

Merged
Gaubee merged 1 commit intomainfrom
fix/bioforest-api-magic-genesis
Feb 28, 2026
Merged

fix(bioforest-api): require explicit magic from genesisBlock#487
Gaubee merged 1 commit intomainfrom
fix/bioforest-api-magic-genesis

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 28, 2026

Summary

  • remove default fallback magic in BioForestApiClient.getBalance
  • require explicit magic and reject empty values
  • add unit tests for trimmed magic forwarding and empty-magic guard

Validation

  • pnpm vitest run src/services/bioforest-api/client.test.ts

@Gaubee Gaubee merged commit 955cc72 into main Feb 28, 2026
6 of 10 checks passed
@Gaubee Gaubee deleted the fix/bioforest-api-magic-genesis branch February 28, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant