toncenter / tonweb

JavaScript SDK for TON (The Open Network)
MIT License
533 stars 152 forks source link

[report error] createMintBody param mismatch in JettonMinter #125

Open suisun2022 opened 7 months ago

suisun2022 commented 7 months ago

I tried to mint my jettons using JettonMinter from TonWeb. The transaction was successful in creating a jetton wallet, but the jettons were not issued. While investigating the cause, a problem was discovered on TonWeb. The problem was in type mismatch from MintBodyParams in JettonMinter.createMintBody funtion.

image https://github.com/toncenter/tonweb/blob/master/src/contract/token/ft/JettonMinter.js#L46

image https://github.com/toncenter/tonweb/blob/master/dist/types/contract/token/ft/jetton-minter.d.ts#L15

I hope this error is resolved quickly. 🙏

suisun2022 commented 7 months ago

same problem exists on JettonWallet package.