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

Can't deserialize block data #82

Closed
90K2 opened this issue Feb 16, 2023 · 3 comments
Closed

Can't deserialize block data #82

90K2 opened this issue Feb 16, 2023 · 3 comments

Comments

@90K2
Copy link
Contributor

90K2 commented Feb 16, 2023

! Testnet block sample !

import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.ActiveProfiles
import org.ton.api.liteclient.config.LiteClientConfigGlobal
import org.ton.api.liteserver.LiteServerDesc
import org.ton.api.pub.PublicKeyEd25519
import org.ton.api.tonnode.TonNodeBlockId
import org.ton.api.validator.config.ValidatorConfigGlobal
import org.ton.crypto.base64
import org.ton.lite.client.LiteClient

class Test {

    @Test
    fun `get block`() {
        val liteClient = LiteClient(
                coroutineContext = Dispatchers.Default,
                liteClientConfigGlobal = LiteClientConfigGlobal(
                        liteServers = listOf(
                                LiteServerDesc(id = PublicKeyEd25519(base64("p2tSiaeSqX978BxE5zLxuTQM06WVDErf5/15QToxMYA=")), ip = 1097649206, port = 29296)
                        ),
                        validator = ValidatorConfigGlobal()
                )
        )
        val blockId = 8573000
        runBlocking {
            liteClient.lookupBlock(
                    TonNodeBlockId(workchain = 0, shard = Long.MIN_VALUE, seqno = blockId)
            )?.let {
                println(liteClient.getBlock(it))
            }
        }
    }
}

Exception

Can't deserialize block data
java.lang.RuntimeException: Can't deserialize block data
	at org.ton.lite.client.LiteClient.getBlock(LiteClient.kt:316)
	at org.ton.lite.client.LiteClient$getBlock$3.invokeSuspend(LiteClient.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Caused by: java.lang.IllegalArgumentException: Can't load BoC: b5ee9c72e20201090001000023d90000002400d000ee0184021e02ba0356037c038e03fa046604b204cc05a805c605e4068a073007d607f0080a08e60956097409920a380ade0b840bda0c280c7e0c9a0cb60cd20cee0d0a0d240d3e0d580d720d8c0da40dbc0dd40dec0e040ea60f220fd20fea103610541070108c10a810c410e010fa1114112e11481162117c119611b0125412d21328134613641380139c13b813d413f0140c14261440145a1472148a14a214ba14d2157415f2160e165b16a716c2170f172a1777179217df17fa18471860187a18c718e0192d1946199319ac19f91a101a5d1aa91ac01b0d1b241b711b881ba01bed1c391cda1d561da31e521e9f1eeb1f371f4e1f9b1faa1fb81fbe1fc41fca1fe820352050209d20b821052120216d218821d52221223c228922a222bc23092355236e23bb23d42421243a248724a024ba25072520256d25b9265c26da2727277c27c927e628332850286c28b928d42921293c298929d529f02a3d2a582aa52ac02b0d2b262b732b8c2bd92bf22c0a2c572c6e2cbb2cd22d1f2d362d832d9a2de72e332ed42f522f9f308330ce31ba32063252326832c832de333c335233b034023410346634b834cc34e135343588359c35b135c435d935ee360436b83768381c38e338f03977399a39a43a463aba3acc3ade3b643c2b3c383cbe3cda3dc53dce3e4c3eee3f624029403240b840da419541b8425a42ba438343904417443e4507451045cb469c473e47b2041011ef55aafffffffd000100020003000402a09bc7a9870000000084010082d048000000000000000000000000000000000063edda8b0000080272253d800000080272253d88698ecf8d0001828c006be3a4006bdf29c400000003000000000000002e000500060211b8e48dfb43e0b02e64000700080a8a04c8009bc4fe2bd607fa56fc245e84e1b89b9f705d00352b4e3b5969a354d478ecc4d43fcbe7ed75ef648df4d2d0e7582d2e2f1df1907a01739dd0a93d04ffb629013401340009000a03894a33f6fd4535e4e1ac55c87a91f52d47f416a5763ef0eac90b69ce88ec0200c13a8bf0c98d0d9e924e34de4798fd404c4cc830c1950fe0a8d9727e1c93f364fbafdecb8e40001c001d001e0098000008027206b904006be3a4a76c8ba3e3b21306f741927f4b8ce73cef91e68a0b5a7b160f1caa02b30b7952b737ed4d257ab0a147620f38aa727714406eccb7cb42b701f0d1a08f043455ce0098000008027215fb410082d04709a5521b9cb8350395c3bcdf822a2fe2c35edeec8b1bbc3656e59b500cfe3739ad743c59c36c61ec8def10af88bc2972848793de0955ac755fe72114cc6873fe002172a904ec9c01dee395482763a7f2840008000d0010ee6b280008235b9023afe2fffffffd000000000000000000000000000082d0470000000063edda89000008027215fb41006be3a320000b000c000d235b9023afe2fffffffd000000000000000000000000000082d0480000000063edda8b0000080272253d88006be3a42000130014001528480101f30b06b6a3b2260a5b952707f954a1a7165851ffe4c0d5707cd53effbca61ffe0001211181caa413b270077b90000e00d70000000000000000ffffffffffffffff72a904ec9c01dee38f4b1c35df4cf490000080271f776c4006be3a3d5c55355269bd17274bc7a3167e7665779f86783dfd67094185bc2a3c66c7d1e22afde791ce057a3887b192af3d008cefab7e19f5917a9754419be5c47c7a1188221100e55209d93803bdc8000f0010221100e16d27ca5a1dde68001100123211247bd2d1d483b2e453d23502008f5189f79fd8c93ea3867cc3e5aa56b09cf1c020b6b4593f2956db1e565c53bc5ec720e086eb28ebbc0832b2ea9062dd151dc2012f001500e3e4e20edde5df6800a40044321148a1966d37c6c255c493feb88c3f1202cf526a06fa210936c6a0b28e642001727bebed6a58f2978dbd4a5fafa716dd95a2e385e44a641edf980de3de34b8bea0002d001400e0abb5142b9a6e08001f00573211b2532cc937709ce4c0f8f0a2b8e1f3e708c36afe6a726a29ac634f12628f7f9b5395337880f532f6b25c824c28a2c5f7539ff0389e039f37e76612b4cb12c1840130001100e0c172b62e8370680033008401110000000000000000500016211181caa413b1d3f94210001700d70000000000000000ffffffffffffffff72a904ec74fe50838f4b1c54e4ce679000008027206b904006be3a4a76c8ba3e3b21306f741927f4b8ce73cef91e68a0b5a7b160f1caa02b30b7952b737ed4d257ab0a147620f38aa727714406eccb7cb42b701f0d1a08f043455ce8006bb040000000000000000035f1d20000040139129ec3603932bfd909cd78a0be2c8c5f6f943b6ab7f128b9cb0b7c7c7ebfb83f8129fec0221100e55209d8e9fca10800180019221100e16d27ca0c179048001a001b3211d7a6fed42f84cfd33e447f025ce223216386f2525e175a52de669a74960cd98fff55b68c272de282ba3344726f7da9f5b69b2a4a53787c869b1685cdaa7acf4c012f001500e3e4e20edde510c800a400a532112e119037b46f3f0f4963d7cdf80d9dd915bd0fdb58203cc800dddd5ee305a744e72787934e086d6850b022915078c1da3cc5c1e21a91a3cfdd38fd5b7a55965b002d001600e0abb513b9cae1e80056005732118de9461107632c35df051f58808b044b53fb228e7d6bc0e2a78ebc1890aba22f002aee640a63872f65d7afcf7a812577629f175ec05e22f4a6648df6435e92bf0130001100e0c172b6524cae680083008411094bbdc87ed1d7b4072be5d1a94e05015922186886d32d6d2edcb4d241b0ce759500089951cfd82000cd110109714d85cf477cbf5fdd6c9b0cfd120977930a208e49c83b6c1d4f80e608be4a00098200d41109923b0134e0a01f7ed4d168c93da244790dbf5aefa3c6c1c87794cfc098a613440008a0122ff75a00df220f00c31889c9d995e800580020220f00c180d97bcfec68005a0021220f00c0dcda51e52268005c0022220f00c07daa4eae48a8005e0023220f00c0263fc454612800600024220d00b804e77394c800250063220d00a474609a5dc800260065220d00a24376fc50e800270067220d00a13f3f60bf0800280069220d00a0f5dc8ea4680029006b220b009c3630e988006c002a220b00925dabcb48006e002b220b00914d9679680070002c220b00825e59a228002d0073220b0082050578280074002e2199bb9f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa43160207dff238b5bd5f7d9a1b8d4e8fc2b6f418e25bfc440c9ed90589b2339bc0b8100c047b84c00002009b1ee9f160002f226fc001f075f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa43162a8952dc31f6eccc800002009b1ee9f1903eff91c534000770030249b801f22b65c8aaf992d58ca89d846a05639a5da1ee4c437761e8965fba8a4b7679050000000000000000000000000000000000000000000000000000000000000001000000030000000100000001f0079007a007b0031220bc110051340a0007d00322848010196eb9b226c1d2ee6651a1afb0823602a3b171011dda4395eb97283c921a066e10002221100e0721303db34dec800340086220f00c2cadd7e622ca800350088220f00c1cfa987a562c80036008a220f00c18f771ce325e80037008c220f00c1054a5d4f1be8008d0038220f00c0fe1272319e68008f0039220d00aa0dc55cc348003a0092220d00a98f4c9435280093003b220d00a3ab66df5d080095003c220d00a0e3fc6bd4680097003d220d00a0e28a4d55a80099003e220d00a0e134a135c8003f009c220d00a0e0ce4421c80040009e220d40283479e46872009f0041219bbba92f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be0283464c961031aa86767e8a6080fdd0f69ff750f6863aa38eba4e9fb08dc33ccb68295e2c7200000200993a72842000422271c0041bc692f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be22c8590431f6ec3180000200993a7284541a3264b08134000a20043005100000ab329a9a317f2023e9c5b6ca86e5091813ea22f532a50c6b673d7ddb07551948339c401532240221100e0456dd4d196568800a60045221100e0240f59b86521c8004600a9220f00c573de328ed028004700ab220f00c20434e05faca8004800ad220f00c1b397a6845b6800ae0049220f00c053ecb3a799c800b0004a220f00c049a9a71dac2800b2004b220f00c026f6914c5ee800b4004c220d00a743e5c74c4800b6004d220d00a0c4954b248800b8004e220d00a02ad0170408004f00bb220b0091bc39b348005000bd220b008180182088005100bf220b00816f9e7188005200c1220b008116ff5588005300c3220b0080368ae40800c400542199bbb0cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed020200a607e82375baeced4ca9c9830f9e87b88cf6617ee807728d0ca0f01db0a9cb38d592804000020099144ce32000552271c00e3f070cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed023a4c0511b031f6ec258000020099144ce39005303f4134000c700c8220f00c31889580a09c800580059284801016e23475ddc689ed168b3cdc20d356c2a039a0ebee3aaf71b28bb273d9fe5c512002c284801017cd83ec60a213400f7099fe5376030836cab8362bbdcf3f2e140d19717b63636002a220f00c180d90a006048005a005b284801010412f075a27a23fed2003b7f0918ff26a0798b486903d7aaac0c384924be85c00028220f00c0dcd9e0159648005c005d284801018384b6d13f51491c3dc5a92c6f55414e76921f16f096661b42cfa7ef2d13dc2c0028220f00c07da9dcdebc88005e005f284801015ee4d78b4a6696a8bd6f99fd4e9b5a8a0ef82fd6db96baee430e8ee940d2d8150027220f00c0263f5284d5080060006128480101d1221c2913cb043978e912874352c0deab04c19a71b663eebbe85246fc7ff3360027220d00b80475a408a800620063220d00a473eecad1a800640065284801010674cc3bcdcc002d5ee04ba3756620270b26b3e043def64b86a4be33f072b325001f220d00a243052cc4c8006600672848010174fd43549702febb84f3e4a320fe7026c18c32972e7b8150c58a3840fbfc27a00021220d00a13ecd9132e80068006928480101a90fb24e96236c4030e39c5f6adc4715ee4fb6bd15e110ca9d1e837a001a13c9001f220d00a0f56abf1848006a006b284801013d743a71525170eb814adf95340930873740a3c86ee90d2c09adf7342d14a1110014220b009bc4615d68006c006d2848010157f07701f4509e75e9a2546890d3536303a773a6afd2bdbba72acae8d4c42b7c001128480101ac21ff927b0dc2c6e2ec4e3101c0b457d40d98ef72ae38a6773d848b8f4345720010220b0091ebdc3f28006e006f28480101b764714e2fbf134ddebc215a410e5f8d32a997b1c445f5fc864010d2836b1fa4000c220b0090dbc6ed480070007128480101dfb67ff894ff36fddf4795f17fa2cd7f197f382a387574a1beed3a5e3f3b43ce0009220b0081ec8a160800720073220b00819335ec080074007528480101f13e00df6616bec9f650f13b8310ade3117d52488092b212411f21fcd92ee9d0000828480101c478a93d7a917cee39b6ad61168c616fd1b538b4ec817068e87d08331ff1aff200082199bb9f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa4316020618b408191a55eca1882e8b62e4a475c6ef7ef3d9f8ff7b6a2c5d1efa80577ef5c66a78c00002009c894f61600076226fc001f075f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa43162a8952dc31f6ed45800002009c894f61d030c5a04134000770078284801014bf53e3a47e0dcb199e3849b745718e6b33fff9f6523cace70daae10f6a115630009249b801f22b65c8aaf992d58ca89d846a05639a5da1ee4c437761e8965fba8a4b7679050000000000000000000000000000000000000000000000000000000000000001000000030000000100000001f0079007a007b007c2848010154f6037c842f362d2c5102120b97b94390eae40b3c2726999967bb1cf7d26350000b28480101a35ace2e8fdff03dd81d9ce084be6ce010046bd8fd1456b1a14a618f1b0bb1b90004284801010cb5ce55ed6896b617aa449398f77e0395bd030f81833470ced7910d71a36cb60003220bc110051340a0007d007e284801018a0acfa527a2e96e6e79babf342ed62751427c78a2ed73f5a01857d19de7bac800010203cfd8007f0080020120008100820002b600016b0001f2221100e0721303fefe1cc80085008628480101343750ef6a7acf47ecc19531554a7d9afb0d6df2fc0f53b368265b52fdf23d28002b220f00c2cadda22b6aa800870088284801013e2d7775fda54d1095c49a98ef7836b3dbe76d9bca5d51fa323a0d5e9d44e7e40080220f00c1cfa9ab6ea0c80089008a28480101b6df09e5a409d757b340241c896b9ee377b2b6e0d4809970af6cb6c84e109ac3002a220f00c18f7740ac63e8008b008c284801011999165f9da81c4bcbad14afe1f8ec5155fa1e793cf2dd11c9f32625511bf7aa012c220f00c1054a811859e8008d008e28480101a11667b0b8c7d78bb04d8b8534b0e9cb56cb929744c20ac206e8e14675e079bd002628480101683a0d980a16927420446dc33c10c1f3f64c0c42bd3cfeccd51d7ad0e1da912e0022220f00c0fe1295fadc68008f009028480101160ac93bf4c5be172cbc72d34f3605a0e22babaee211ddcc86832d98b74d0831001e220d00aa0de926014800910092220d00a98f705d732800930094284801013420ba80ac0760b54a0c20f19ed1a5f7960d23054bdc711c853c428f75fb3a13001e284801014124c80a37ce52d61d081e41acc8ab834628b81c1a21e8d22db0c9831b66d8470015220d00a3ab8aa89b0800950096284801011201565c4abc2f800a71b3836b56dc2cb6654e81631bb137c308c29e7c6d66250013220d00a0e4203512680097009828480101a6189e4320d9fb202f136b9f7c00e9e4c1b96b42fea8d17eda5609a27f9c3ac70010220d00a0e2ae1693a80099009a28480101e3d43824222efe258fe7a3007b763253e87910df967972f3d6b8c5b18b86b601000c220d00a0e1586a73c8009b009c220d00a0e0f20d5fc8009d009e284801010a54a29bd266e572d263c4ad4ec142613624a8bf273196388b11d6789cad461b000a220d40283482d6b7f2009f00a0284801017b7992cd966b921e9fea5ee844bdb18ad10ab935f7c37348946c5f29e5c40e64000128480101dec9429b6cc4b3cf635937bf956ef6d21c101bec9ac708005c6da82e6b5265260009219bbba92f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be028346dbbb081708a2ca67b280b72b7744548e3836cb9dd0a698fdb5a51554a501034b6e407dc00002009c894f61e000a12271c0041bc692f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be22c8590431f6ed45800002009c894f62141a36ddd84134000a200a328480101feb5ff6820e2ff0d9483e7e0d62c817d846789fb4ae580c878866d959dabd5c00007005100000ab429a9a317f2023e9c5b6ca86e5091813ea22f532a50c6b673d7ddb07551948339c40153224028480101a983060414584642c9edc138111fc94ecdb71c624286f181702ed4d279d48b12002e221100e0456dd4d19587e800a600a7284801016e8688607ba9e3246905b7211943212e9ffd2a60d1b00e22787b087dbe59bed7002e221100e0240f59b864532800a800a9220f00c573de328e018800aa00ab28480101e6ddafca79cf720c6540a3be6a9eb43158fd491fa2ad165e99eab7a04dc9c7d9002d220f00c20434e05ede0800ac00ad28480101d06c03c570d0be832260500e38bf3c4476783684738d639c7a452400488426cf012b220f00c1b397a6838cc800ae00af284801018a4edbc743d47034301709135a4f0c65690f0d846d8b828c1c4b160270445518002928480101d068fea827db36b838d6f80d73cfa92acd7a73b17b69ed2437c47c776e77c59b0024220f00c053ecb3a6cb2800b000b12848010101d63fc57d90606ced39ffc48fe7fe0087325ba8d84a68ca924267005d1bc02a0024220f00c049a9a71cdd8800b200b3284801017a1384b46068e26b77733a4f306a25471afe598be69e4bc74b581ba1768ff6660024220f00c026f6914b904800b400b528480101017aec50d47444736eb36eea822de7aeae1aefbfaf6c16f08aceba977b86a5590022220d00a743e5c67da800b600b728480101bd247b2186d992bdf7f25a7ad5940ad64ed996b580e603c63b159d59e24a5382001e220d00a0c4954a55e800b800b928480101e75c9228f15fb15b26a06df81aa9594f30b86ed0ada068fc1db7a3a5d4ea369d0012220d00a02ad016356800ba00bb220b0091bc38e4a800bc00bd28480101fcf44587902c51beee4862f6b6f97c594db123680aa9cbfc64171a855f1895a90012220b0081801751e800be00bf284801017ab950ec3a2acab17a3f7d92489a755a1e12b22525a556fea33b3ff22b1523d1000d220b00816f9da2e800c000c1284801016a9bba355c9c583f02e488d819c7290b652c9c3ea0114d69a796c37ae00d4c5b000a220b008116fe86e800c200c328480101741a8ef418161f47321ecc1a551905aecb8f92c669a7e64a5841913ad2eac752000c220b0080368a156800c400c5284801013d5adb82ba0ebbd14baabcc9a6014371ca27da097e521afa25b4e32af2821b1f000a28480101543ee7dd9187b578c8acb09005a539f180c9e0ac841e19cdef1c339e4690b23f00082199bbb0cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed020200a604adbdfd5286d1e50e3b551b7f6382c6ad4b0974dacc9c37417278b47aec950018ea800002009c894f60e000c62271c00e3f070cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed023a4c0511b031f6ed45800002009c894f61500530256d34000c700c828480101e898e7ab7f3acd6b6041f323449cf25f79cf7787bf0f034abf195e514a268d48001022d7801f22b65c8aaf992d58ca89d846a05639a5da1ee4c437761e8965fba8a4b767904000000000000000000000000000000000000000000000000000000000000000204000000000000000180102d54b4b91b48a13e69a2219aeaa55d7cb4465d7ae5148071f634ec0b4ffcbd500c900ca28480101075bfe88f459ebe321541f977b825ef72e62ffce5dae883d11a46c89cb34bab4001322df80111ead3fcdce487c896fdaafeda88ec987a697b5e30d58a7914b37f74390b839100106f1a4bdd01a94bc245e08cbb952fe2204af9fea0fc3f18b68e794a6edb51efa0000000600000000000000000000000000000000000000000000000000000000000000000000000240000000a000cb00cc284801019dfa0bf465e64775c20410b7361eb96b2558e89d355f4bd75a71c1e8530472d50001284801017237e3a4111c87d7fdf381f1b28a07fcf2c6eb9b1d1092e5b2cdd6ef6fbaf9f2000302090ca8e7ec1000ce00cf0253bfc45b1b2a94e3a5fd0357edc092e26a9368c726ab7ca1a7e9e338d2c42a5ef60d18516180198516184000d800ff02090c80372c1000d000d10252bf8d215f22a136dbc5da9d8a92dabe5bca1906445d8ac8aab2567cf7ce97ba3cf03138fda033138fda00dc00e402090c31f7c41000d200d30251bf40e4caff642735e282f8b2317dbe50edaadfc4a2e72c2df1f1fafee0fe04a7fa618fbe206618fbe300de00f70245bf4f3b9675139bbc98deb9c607adf136c710faf78d9d807977c5332af686b99384001000f200ee02010100d500d60345bfc45b1b2a94e3a5fd0357edc092e26a9368c726ab7ca1a7e9e338d2c42a5ef60d014000d800ee00d712013afe12276f1c76fbf18fa7b2cb09d82cee2e2f43e65770b846e310ccf555fe4c00070100d900da02076614586100d800ff010c4606030a2c3001030344bf8d215f22a136dbc5da9d8a92dabe5bca1906445d8ac8aab2567cf7ce97ba3cf00200dc00ff00db0344bf8072657fb2139af1417c5918bedf2876d56fe251739616f8f8fd7f707f0253fd0200de00e400dd020766271fb500dc00e4010c460603138fda010502076618fbe300de00f7010c4606030c7df100fb0209100917fbad00e000e102091004c427e100e200e302a8bff1f838655b0b7d55c4fa483733ea29693c1ec95057ab05675b57e200a213f6812008a7a79978fc1c32ad85beaae27d241b99f514b49e0f64a82bd582b3adabf1005109fb40a8000001004e44a7b0680229e9e600ff010102a3bf9f075f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa43163d21f4328f83af99beacee3eff4cbe9a0058a29d103597d0754404dc9d64a91bb6fd218b50000002009c894f614f487d0d00e400e603a3bf81bc692f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be35eeab52a0de3497ba035297848bc119772a5fc44095f3fd41f87e316d1cf294ddb6a3df4f400002009c894f606bdd56a800eb00ec00ed03b571f075f337d59dc7dfe997d3400b1453a206b2fa0ea8809b93ac952376dfa43160000080272253d85d6f57df6686e353a3f0adbd063896ff110327b641626c8ce6f02e0403011ee13000008026c7ba7c563edda8b000347a43e86800e500e600e70201e0010500e8008272c1ca49b77e05cb74b586f811af79f8cd857dcd76bd4658c9ce4d8ee7aa85a1af99bfd3aec401a8819ab497c15948b90934944dc9f7db8fd72bf8f3b522f0582c0217047b09013358aa18797bed1100e900ea0101df00fb009e46862c04eae400000000000000017700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fc9895e704c18fbbc0000000000020000000000025a53fd54dd36a4d0d750acce3e5ed7b935c607eaaebbea4a3c65a8d33a04475440901a0c010964d3f2e75000ee0109f1878f8c2000f7008272d5bb680b3041dff56a9e7d9dc11becd88d0dd57ff767f3753533ec9962c8f4f8ba1924caa1f8af8ab2322d1b4a4b883150ec3a4d677546d6a366ba714ce8664f03b5741bc692f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be0000080272253d81c6aa19d9fa298203f743da7fdd43da18ea8e3ae93a7ec2370cf32da0a578b1c80000080264e9ca1063edda8b0003469f973a800ef00f000f10201e000f200f3008272d5bb680b3041dff56a9e7d9dc11becd88d0dd57ff767f3753533ec9962c8f4f8996c8498471bf244f798348384ce93c85311d95b655ce7677ccb77be1b19802c020f0c63461993cf044000f500f601e188008378d25ee80d4a5e122f0465dca97f110257cff507e1f8c5b473ca5376da8f7c0793ee806a67602ab0c777ef81efdc55b37003ae9dde0489875cf2c291c16a18162c1eed62833f6f7050f87619d8d2822fe5265204e36a2736203cc5e8ea59b0494d4d18bb1f6ed63000005598000c00f40101df0103007a620071f838655b0b7d55c4fa483733ea29693c1ec95057ab05675b57e200a213f681202faf08000000000000000000000000000000000000436c61696d009d419d8313880000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020006fc987a1204c14584000000000000200000000000225a47ea2e18d826e18d44ee0b6070689059be2f46de52e4b1d8eb3d94fe774ae4050184c03b5741bc692f7406a52f09178232ee54bf88812be7fa83f0fc62da39e529bb6d47be0000080272253d8787c3ca3b853f9f1d1625fc95e465285405c4c814f81d9b63b16abc2a8be6973a0000080272253d8163edda8b0001461e3e30800f800f900fa0101a000fb008272996c8498471bf244f798348384ce93c85311d95b655ce7677ccb77be1b19802cba1924caa1f8af8ab2322d1b4a4b883150ec3a4d677546d6a366ba714ce8664f0215040901df50755861e3e31100fd00fe01b168003e0ebe66fab3b8fbfd32fa6801628a7440d65f41d51013727592a46edbf4862d00106f1a4bdd01a94bc245e08cbb952fe2204af9fea0fc3f18b68e794a6edb51ef901df507540618fbe200001004e44a7b0cc7dbb516c000fc002000000000436c61696d20526577617264009e407bec07ab4400000000000000001d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005bc00000000000000000000000012d452da449e50b8cf7dd27861f146122afe1b546bb8b70fc8216f0c614139f8e0403b77e3f070cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed020000080272253d838dd6ebb3b532a7260c3e7a1ee233d985fba01dca343283c076c2a72ce3564a01000008026451338c63edda8b0003480229e9e680100010101020201e001030104008272cc22777aaa80cfc0aa89ffcae6ac217c2b529b1dcbfad6d877abf1cf6a73e0b0bc553edcf31e8f8bfb1f3c10289924b6b7c1ed0b4e503d84de9e358bef79c14a021b04819d49017d784018802164d4110107010800c368008378d25ee80d4a5e122f0465dca97f110257cff507e1f8c5b473ca5376da8f7d0038fc1c32ad85beaae27d241b99f514b49e0f64a82bd582b3adabf1005109fb409017d784000614586000001004e44a7b04c7dbb5160000000021b630b4b6c00101df010501b16801c7e0e1956c2df55713e920dccfa8a5a4f07b25415eac159d6d5f8802884fda050007c1d7ccdf56771f7fa65f4d002c514e881acbe83aa2026e4eb2548ddb7e90c59013358aa006271fb400001004e44a7b08c7dbb516c0010600cdee3b3cee0000000000000000000000000000000000000000000000000000000000000001400e3f070cab616faab89f4906e67d452d2783d92a0af560aceb6afc4014427ed028008378d25ee80d4a5e122f0465dca97f110257cff507e1f8c5b473ca5376da8f7d009e488c8c061a8000000000000000019900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fc98eabdc4c271f7800000000000200000000000248285ea0fd47f7bb381418103f5af3db5b687ba1984b385cacb8ac70da82232a40902fc48e6f7e77
	at org.ton.boc.BagOfCells$Companion.of(BagOfCells.kt:47)
	at org.ton.boc.BagOfCellsKt.BagOfCells(BagOfCells.kt:8)
	at org.ton.lite.client.LiteClient.getBlock(LiteClient.kt:314)
	... 95 more
Caused by: java.lang.IllegalStateException: First hash mismatch in merkle update cell:
merkle hash: c8009bc4fe2bd607fa56fc245e84e1b89b9f705d00352b4e3b5969a354d478ec
 child hash: a0dd25b4d971457d11c22f3baeeac15d4ec44db3ead091ea7dcf166f4fec28cb
       data: 04c8009bc4fe2bd607fa56fc245e84e1b89b9f705d00352b4e3b5969a354d478ecc4d43fcbe7ed75ef648df4d2d0e7582d2e2f1df1907a01739dd0a93d04ffb62901340134
	at org.ton.cell.CellImpl$Companion.of(CellImpl.kt:144)
	at org.ton.cell.Cell$Companion.of(Cell.kt:86)
	at org.ton.boc.BagOfCellsUtilsKt.createCell(BagOfCellsUtils.kt:317)
	at org.ton.boc.BagOfCellsUtilsKt.createCell(BagOfCellsUtils.kt:156)
	at org.ton.boc.BagOfCellsUtilsKt.readBagOfCell(BagOfCellsUtils.kt:127)
	at org.ton.boc.BagOfCells$Companion.read(BagOfCells.kt:52)
	at org.ton.boc.BagOfCells$Companion.of(BagOfCells.kt:45)
	... 97 more


@90K2
Copy link
Contributor Author

90K2 commented Feb 21, 2023

same for block 0:8744343

@andreypfau
Copy link
Collaborator

Related to #14

@90K2
Copy link
Contributor Author

90K2 commented Mar 4, 2023

fixed in 0.2.15

@90K2 90K2 closed this as completed Mar 4, 2023
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

2 participants