Skip to content

Commit

Permalink
fix(content): intro filecoin vm - typo (#1172)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
Co-authored-by: Yiannis Psaras <52073247+yiannisbot@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 15, 2020
1 parent ee2535b commit fd506ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/intro/filecoin_vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The `global state` here consists of a set of `actors`, each with their own priva

An `actor` is the Filecoin equivalent of Ethereum's smart contracts, it is essentially an 'object' in the filecoin network with state and a set of methods that can be used to interact with it. Every actor has a Filecoin balance attributed to it, a `state` pointer, a `code` CID which tells the system what type of actor it is, and a `nonce` which tracks the number of messages sent by this actor.

There are two routes to calling a method on an `actor`. First, to call a method as an external participant of the system (aka, a normal user with Filecoin) you must send a signed `message` to the network, and pay a fee to the miner that includes your `message`. The signature on the message must match the key associated with an account with sufficient Filecoin to pay for the messages execution. The fee here is equivalent to transaction fees in Bitcoin and Ethereum, where it is proportional to the work that is done to process the message (Bitcoin prices messages per byte, Ethereum uses the concept of 'gas'. We also use 'gas').
There are two routes to calling a method on an `actor`. First, to call a method as an external participant of the system (aka, a normal user with Filecoin) you must send a signed `message` to the network, and pay a fee to the miner that includes your `message`. The signature on the message must match the key associated with an account with sufficient Filecoin to pay for the message's execution. The fee here is equivalent to transaction fees in Bitcoin and Ethereum, where it is proportional to the work that is done to process the message (Bitcoin prices messages per byte, Ethereum uses the concept of 'gas'. We also use 'gas').

Second, an `actor` may call a method on another actor during the invocation of one of its methods. However, the only time this may happen is as a result of some actor being invoked by an external users message (note: an actor called by a user may call another actor that then calls another actor, as many layers deep as the execution can afford to run for).

For full implementation details, see the [VM Subsystem](systems/filecoin_vm).
For full implementation details, see the [VM Subsystem](systems/filecoin_vm).

0 comments on commit fd506ee

Please sign in to comment.