Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor borsh_encoding.rs in aqd-solana-contracts #9

Open
tareknaser opened this issue Nov 11, 2023 · 0 comments
Open

Refactor borsh_encoding.rs in aqd-solana-contracts #9

tareknaser opened this issue Nov 11, 2023 · 0 comments

Comments

@tareknaser
Copy link
Contributor

The file crates/aqd-utils/src/borsh_encoding.rs has been directly copied from solang. Although solang exposes the discriminator function, it doesn't expose BorshToken.

To reduce reliance on solang—a significant dependency—and aim for a more lightweight aqd crate, it's essential to reconsider the structure of aqd.
The objective is to for solang to depend on aqd-solana instead. This adjustment would be feasible when solana crates don't cause dependency conflicts with solang.

More about solana crates dependency issue: #5

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

No branches or pull requests

1 participant