Computation
๐๏ธ Computation Cost
Since Kaia aims to maintain 1-second block time, the execution time of transactions has to be managed. Here are three approaches to achieve that:
๐๏ธ Execution Model
This page describes the execution model, the data structures, and the life cycle of Kaia smart contracts.
๐๏ธ Kaia Smart Contracts
The Kaia Blockchain leverages the power of smart contracts, recognizing their importance in driving innovation and functionality within the ecosystem. Here's a closer look at the concept of smart contracts within the Kaia Blockchain:
๐๏ธ Precompiled Contracts
Kaia provides several useful precompiled contracts, none of which are state-changing.
๐๏ธ Debug tracing
Debug tracing is a feature that extracts additional information while executing a transaction in a VM. As the name suggests, it is mainly used for debbuging transaction failure or gas spending breakdown. Since VMs are deterministic, once a transaction is confirmed, the same trace will be produced no matter when it is traced. In other words, you can debug a confirmed transaction after the fact, making it a useful tool for dApp development.