Skip to content

Commit

Permalink
Add line about pre-linked libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
njgheorghita committed Aug 24, 2018
1 parent 4c2cf99 commit a24d552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/package-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ Link References: ``link_references``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The ``link_references`` field defines the locations in the corresponding
bytecode which require |linking|. If bytecode contains no link references, this field should be an empty array.
bytecode which require |linking|. If bytecode contains no link references, this field **must** be an empty array.

:Required: Yes
:Type: Array
Expand All @@ -439,6 +439,9 @@ any of the link references intersect.

Intersection is defined as two link references which overlap.

If you want to pre-link your contracts (for example, to a library) and not tell EthPM about it,
just say there are no link references (i.e. ``link_references: []``).

----

The *LinkedBytecode* Object
Expand Down

0 comments on commit a24d552

Please sign in to comment.