UXDProtocol / uxd-program

Implementation of a program that manages on chain accounts to mint and redeem Redeemables tokens (UXD), hedged by a delta neutral position on underlying DEXes.
https://uxd.fi/
Other
21 stars 5 forks source link

[Quality Of Life] removing programId from metadata of uxd.json #260

Closed crypto-vincent closed 1 year ago

crypto-vincent commented 1 year ago

Since anchor build or anchor test constantly auto-delete the meta-data from the json file, this is kind of a pain to having to constantly manually re-add it.

So in this PR I try to just store the programId in the constants file instead of the IDL file directly

crypto-vincent commented 1 year ago

Getting those errors:

Error: Metadata property not found in IDL of program: uxd inside of the Setup Uxd Suite job

It looks like this change might not be possible after all, closing for now, this is not urgent