Open olegrok opened 2 months ago
TLB states that tag for merkle_update is 2
2
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/crypto/block/block.tlb#L279
But actually in code it's used as 4
4
E.g. in CellTraits:
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/crypto/vm/cells/CellTraits.h#L35
or in code
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/validator/impl/check-proof.cpp#L183
For merkle_proof everything seems to be correct - 3 is used everywhere.
3
TLB states that tag for merkle_update is
2
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/crypto/block/block.tlb#L279
But actually in code it's used as
4
E.g. in CellTraits:
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/crypto/vm/cells/CellTraits.h#L35
or in code
https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/validator/impl/check-proof.cpp#L183
For merkle_proof everything seems to be correct -
3
is used everywhere.