neodix42 / ton4j

Java libraries for interacting with TON blockchain.
GNU General Public License v3.0
28 stars 10 forks source link

Wrong calculation of cells during serialization of cell with dictionary #1

Closed neodix42 closed 1 year ago

neodix42 commented 1 year ago

Tree-walk of the cell returns a 3 times bigger amount of cells than entries in the dictionary. Due to this bug Highload wallet can send up to 253/3=84 messages To reproduce run the below test with higher number of wallets TestWalletV2Highload.testWalletV2HighloadSendTo84()

neodix42 commented 1 year ago

Fixed in the next release.