Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen van den Hout <[email protected]>
  • Loading branch information
lucas-tortora and jlvandenhout authored Jan 25, 2024
1 parent 9e83ca2 commit 527a0da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/learn/smart-contracts/protocol-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ blockchain's engine to process these contracts.

## Virtual Machines

[Validators](#validators) run th virtual machines are the powerhouses that run smart contracts. They take the
Virtual machines, operated by [Validators](#validators), are the execution engines of smart contracts that understand smart contract bytecode and are able compute state changes. They take the
current [state](#state) of the [blockchain](#blockchains) and the inputs from users, execute the smart contract's
bytecode, and produce a new state. These machines also set rules and restrictions for smart contracts, ensuring secure
and orderly operation. The IOTA architecture currently supports two types of virtual machines:
Expand All @@ -50,8 +50,7 @@ achieve consensus on state updates, and create a blockchain that represents the

## State

The state in a [blockchain](#blockchains) is the data that smart contracts interact with and modify. It's a record of
all changes made by executing smart contracts, committed in blocks, and forms the backbone of the blockchain's history.
The state in a [blockchain](#blockchains) is a key-value store that smart contracts interact with and modify. It's a result of smart contract execution, committed in blocks, forming a blockchain representing the history of state updates leading to the current state.

## Blockchains

Expand Down
2 changes: 1 addition & 1 deletion docs/learn/smart-contracts/smart-contract-execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords:

## TL;DR;

- [Introduction](#introduction): Smart contracts are self-executing contracts on blockchain networks, activated by validators in response to user requests.
- [Introduction](#introduction): Smart contracts are programs run by validators upon request by validators in response to user requests.
- [Structure of a Smart Contract](#structure-of-a-smart-contract): Comprising functions within a decentralized framework, smart contracts have a unique state and accounts, managed by validator node consensus.
- [View Entry Points](#view-entry-points): Read-only operations in smart contracts that do not modify data or incur execution fees.
- [Full Entry Points](#full-entry-points): Functions that can alter a contract's state and typically require execution fees.
Expand Down

0 comments on commit 527a0da

Please sign in to comment.