Skip to content

Small api fixes#8

Merged
Neopallium merged 4 commits into
mainfrom
small-api-fixes
Jun 3, 2026
Merged

Small api fixes#8
Neopallium merged 4 commits into
mainfrom
small-api-fixes

Conversation

@Neopallium

@Neopallium Neopallium commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator
  1. Add alias for enc_keys field.
  2. Add SQLx support for AccountPublicKeys.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces two small API/interop improvements in the BP module: it adds a Serde deserialization alias for AssetKeys::enc_keys and adds sqlx BLOB encoding/decoding support for AccountPublicKeys so it can be stored/loaded via SQLx-backed persistence.

Changes:

  • Add Serde alias encKeys for the enc_keys field in AssetKeys.
  • Add sqlx::Type, sqlx::Decode, and sqlx::Encode implementations for AccountPublicKeys using BLOB storage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/bp/sqlx_impl.rs Adds SQLx Type/Decode/Encode impls for AccountPublicKeys stored as a BLOB.
src/bp/asset.rs Adds a Serde alias for AssetKeys::enc_keys to accept encKeys on deserialize.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/bp/asset.rs
@Neopallium Neopallium merged commit cc864c6 into main Jun 3, 2026
2 checks passed
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.

3 participants