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

Serialization error in BOC #9

Open
WinoGarcia opened this issue Oct 9, 2024 · 0 comments
Open

Serialization error in BOC #9

WinoGarcia opened this issue Oct 9, 2024 · 0 comments

Comments

@WinoGarcia
Copy link

The customPayload received in base64 format leads to a NRE, for example, in the boc.DumpCells() method.

Minimal reproducible example:

var customPayload = "te6ccgECMwEABGoAAQgN9gLWAQlGA0I0rXIU3k/T5YpIO61lji2qYaoATvD6VByERzLig6MRAB4CIgWBcAIDBChIAQGscZahZEm3AZ4UdJ/dPrM78V0dRavHQpL6eB97AT6ldgAdIgEgBQYiASAHCChIAQHKGp/PF1wER/+4CaUIDKX/eiapHWm68vYD67aG7oIwLwAcKEgBAeTKJ8h5EGoDWsQX5S59aBqKEgGcUuslml9kIesPIr/xABoiASAJCihIAQGWtVL44MWCN4nl/16k7mooWkIJjktOgRcEunDS3G4YTAAZIgEgCwwiASANDihIAQFDMibwmVAs8NhR0vm0G4EXGAegDpqMaAKdOZZ1PUGZJQAXIgEgDxAoSAEBFMTW8x4iujqXyxnw8M83KBMqkBeg9hSxxJlKaLkyEEIAFihIAQFqEyscibISEP49oA3DFI7Fcfi2zrgrOknT+xRCrBp/cgAVIgEgERIoSAEBu07mjLXgshhCe8gFAFgsHjeW6/NqkV6Fxa14vTiI7PEAFCIBIBMUIgEgFRYoSAEBOIvEqlpTU8HT73NGqNTIyUfRO/BaYBRGBpMxfBxiFeEAEyIBIBcYKEgBAUh34ZMzMw36QL8MM4rIbf21AnC2DmiMjE0+Eh65fyL6ABEiASAZGihIAQEGTGRyw+F92fB5yTy6s98UTgmH7DBtHZdF8VBsPRklXAARIgEgGxwoSAEB/BfsrcrzVzEDfmc08kBJD/7BxVRla10dUnORaYpz6n0ADyhIAQHvse+SWPH2lxdldL8f459f7z7KvGWFcBPSbrGpRaV5XAAOIgEgHR4iASAfIChIAQF79/6raH+JRIIJDxvgQdONMUIl8iQP61pgZpPuvMz93AAOIgEgISIoSAEBYuNlD9WWXdgwDYNmaX0yyyJIgl/mVFvQ4k/IGHsqaLoADChIAQEAjwF4BPkGST68ndJz8VuEXANhYkaqFUFfdMNQY2W4aQALIgEgIyQoSAEB7RZAAe+jhAHJO+s3Y6pjPBk/tngCueKrAq9mkimXsiUACCIBICUmIgEgJygoSAEByDxVfFYpwwCYDWc25QK6r714aHKw5RZ9rs82FXvsrYwAByhIAQFS4LvxJSS5mzuQn7cnCOQ3z6cheqohnRtThY0mHsX6KwAGIgEgKSoiASArLChIAQFu6fvcPFG8zl5yRNjWIbkY12TL37CPuXe+AEmdv11h5AAFKEgBAd+Jh9SZp1gUOfTYKKQ6wdwq0c+FtJXImheyS/8DsjwnAAIiASAtLihIAQHN5Y49qCxJWMDRh+OrDf/PYSYtSwYpLkyjRiFjJQNNwwACIgEgLzAoSAEBvANMZEHZMeuHcivPXq5suoJLSyKv0cfU+OUXylmOoh8AACIBIDEyAGG6O8UAZQlH0cmyoTAQ+MguYNfwWNZkYDD7AOZL4rCYBgYFpCc8AAGb1MKAAAGyYyyCKEgBAZUuZYA8cQmbA3gOMBwAGz/KEhKvaCe2L5hiQuFEibfbAAI="; 

var boc = Boc.ParseFromBase64(customPayload);
boc.DumpCells();

The same error occurs in TonRecipes.Jettons.CreateTransferCell->StoreDict(customPayloadCell)
customPayloadCell = boc.RootCells[0]

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