Skip to content

Commit

Permalink
Add ABI link to README and change opcodes link (FuelLabs#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
digorithm authored Aug 28, 2021
1 parent 39be11b commit 97849dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

This repository specifies the Fuel protocol, including the Fuel Virtual Machine (FuelVM, FVM), a next-generation verifiable virtual machine for [the Fuel v2 blockchain](https://github.com/FuelLabs).

- [Specification](#specification)
- [Protocol](#protocol)
- [FuelVM](#fuelvm)
- [Fuel Specifications](#fuel-specifications)
- [Specification](#specification)
- [Protocol](#protocol)
- [FuelVM](#fuelvm)
- [Contributing](#contributing)

## Specification

Expand All @@ -15,6 +17,7 @@ This repository specifies the Fuel protocol, including the Fuel Virtual Machine
1. [identifiers.md](./specs/protocol/identifiers.md): How to compute unique IDs for transactions and UTXOs.
1. [tx_validity.md](./specs/protocol/tx_validity.md): Defines transaction validity rules.
1. [cryptographic_primitives](./specs/protocol/cryptographic_primitives.md): Cryptographic primitives used in Fuel.
1. [abi.md](./specs/protocol/abi.md): ABI specifications.

### FuelVM

Expand Down
2 changes: 1 addition & 1 deletion specs/protocol/abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ All receipts will have a `type` property:
- "Transfer"
- "TransferOut"

Then, each receipt type will have its own properties. Some of these properties are related to the FuelVM's registers, as specified in more detail [here](https://github.com/FuelLabs/fuel-specs/blob/master/specs/vm/opcodes.md).
Then, each receipt type will have its own properties. Some of these properties are related to the FuelVM's registers, as specified in more detail [here](../vm/opcodes.md).

_Important note:_ For the JSON representation of receipts, we represent 64-bit unsigned integers as a JSON `String` due to limitations around the type `Number` in the JSON specification, which only supports numbers up to `2^{53-1}`, while the FuelVM's registers hold values up to `2^64`.

Expand Down

0 comments on commit 97849dd

Please sign in to comment.