Skip to content

Commit 7d17b9c

Browse files
committed
Add line about pre-linked libraries
1 parent 4c2cf99 commit 7d17b9c

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/source/package-spec.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,13 +424,24 @@ Link References: ``link_references``
424424
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
425425

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

429429
:Required: Yes
430430
:Type: Array
431431
:Format: All values **must** be valid :ref:`Link Reference objects <link-reference-object>`.
432432
See also below.
433433

434+
Link Dependencies: ``link_dependencies``
435+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
436+
437+
The ``link_dependencies`` defines the |LinkValues| that have been used to link
438+
the corresponding bytecode. For example, if a contract type references a deployed library.
439+
440+
:Required: No
441+
:Type: Array
442+
:Format: All values **must** be valid :ref:`Link Value objects <link-value-object>`.
443+
See also below.
444+
434445
**Format**
435446

436447
This field is considered invalid if *any* of the |LinkReferences| are

0 commit comments

Comments
 (0)