Hello, could not find the information neither in Google nor in chat history :(

Does Smart Contract run on every node of TON Blockchain?

Or is there a way for some nodes to validate without actually executing the contract?

May 25, 2023, 3:33 PM
Smart contract is program written in Turing-full language, so there is no way to validate it without actually launching TVM. So, all validators need to execute the contract.
May 25, 2023, 3:34 PM
Thank you! I asked, because I saw about ethereum on Quora that there’s a way around
May 25, 2023, 3:46 PM
Actually, TON uses sharding, that means that network can split to a few shards, each of which is validated by some group of validators (and not by all validators), all other validators apply state updates to their state without necessity to run every transaction itself
May 25, 2023, 3:51 PM
Moreover, if TON becomes even more widely adopted, the validators could possibly add short-circuit computations for wallets' external messages (don't launch TVM if the signature, seqno, etc is correct and there are enough funds) based on code hash.
May 25, 2023, 3:54 PM

© 2024 Draquery.com All rights reserved.