Homework on EVM

Homework on EVM - Questions

  1. What is the EVM?

  2. What does it mean when we say that the EVM runs in a sandbox environment?

  1. What is the EVM?
    The EVM is the Etheruem Virtual machine that is a global singleton machine. With a global singleton state. The state is maintained by the nodes in the network that accept and verify the transactions. Each of those nodes runs the EVM. The EVM that is running on those nodes creates an isolated(encapsulated) environment to run smart contracts and transaction request that have been submitted to it. It uses OP Codes and gas to prevent from a spam attack.
  2. What does it mean when we say that the EVM runs in a sandbox environment?
    The EVM is its own virtual machine. operations inside of that virtual machine are pure to that virtual machine. This helps prevent “Noisy neighbor” problem for anything running in that EVM and other programs running on the node. It is the underlying architecture required to keep solidity code encapsulated within the EVM It keeps track of the code and state for all the smart contracts running on the chain It does this via the EVM that runs runs on the ETH node.
1 Like

image

1 Like
  1. Ethereum Virtual Machine where the smart contract code runs.

  2. EVM is isolated from local computer. Running in a virtual or sandbox environment to protect network operators from malicious code.

1 Like