Comments (2)
Hi, this is corrupted BoC with recursive reference (reference to itself and infinity depth), it must not work, so it is probably a bug in tongo.
For example this is TON Node output of trying to deserealize this boc:
Unexpected Status [Error : 0 : invalid bag-of-cells failed to deserialize cell #20 [Error : 0 : bag-of-cells error: reference #1 of cell #20 is to cell #20 with smaller index]]
from tonutils-go.
Hm, yes, it seems so.
Corrupted BoC comes from ton-core ts library
const contract = WalletContractV4.create({ workchain: 0, publicKey: Buffer.from('MUP3GpbKCQu64L4PIU0QprZxmSUygHcaYKuo2tZYA1c=', 'base64') });
let init = beginCell()
.storeWritable(storeStateInit(contract!.init))
.endCell();
let s = init
.toBoc({ idx: true, crc32: true })
.toString('base64')
console.log(s)
If idx: true
is set to idx: false
everything works fine.
Thank you, closing issue.
from tonutils-go.
Related Issues (20)
- api.SubscribeOnTransactions cannot monitor transactions with ton transfer 0 HOT 4
- Out message list can be nil in FindLastTransactionByOutMsgHash HOT 1
- findLastTransactionByHash does not work as expected HOT 3
- Highload wallet V3 computes wrong wallet address HOT 3
- How to use `tlb` struct tag to load string snake? HOT 1
- send jetton failed HOT 4
- return tx after Transfer HOT 4
- Balance HOT 1
- is there an example to get comment/memo from ListTransactions? HOT 1
- SendManyWaitTransaction error HOT 1
- i am having issue when getting transaction in, when inputing LT and txhash on ListTransactions method, i only get 400 error. But, when getting transaction out, it is worked as i expected. Is there a workaround to get transaction in specifically? HOT 4
- mint jetton HOT 1
- jetton.GetJettonDataAtBlock doest works for jetton contracts
- Is there a method to set is_right? HOT 1
- tonutils-go/example /jetton-transfer show error messgae "use ConfigV5R1Final for V5 spec" HOT 2
- How to exclude jetton from monitoring transactions and only accept ton transactions HOT 5
- How get stateUpdate by accountBlock? HOT 2
- How to get transactions by accountBlock? HOT 2
- How do I deploy an NFT collection? HOT 3
- ton.NewAPIClient error, json unmarshal error for liteclient.DHTConfig HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tonutils-go.