I did a lot of searching for the current code and candid files, and it looks like the current version of ledger canister is not available as artifacts ready to download.
thanks. i just installed latest ledger of release ver 97df774f8cb88ca1a00e26dc3daa19735ad3599a. Weired thing: i not able to do transfer with error insufficient fund in my frontend code. it used to work with my old ledger canister.
i tried dfx transfer and it works. I suspected the new ledger canister didnt detect my local internet-identity session, so it always complain no insufficient. i confirmed the principal after login has sufficient fund.
i tried to install latest internet-identity in case compatibility issue. still not work. stuck here. seems i have to roll back the ledger version to old one. any advise?
i know why. the transfer call in my frontend always uses anonymous principal to transfer from.
For old version ledger, the anonymous principal already got some fund so it used to work.
How to change anonymous principal to my logged-in principal for transfer call? after login into local internet_identity, i already replace the idenity as below