Merge pull request #14226 from kuzdogan/docs-add-immutable-ref

Mention `immutableReferences` in immutables docs
This commit is contained in:
Nikola Matić 2023-05-24 20:02:12 +02:00 committed by GitHub
commit 6db4f182a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,8 @@ contract's runtime code before it is returned by replacing all references
to immutables with the values assigned to them. This is important if
you are comparing the
runtime code generated by the compiler with the one actually stored in the
blockchain.
blockchain. The compiler outputs where these immutables are located in the deployed bytecode
in the ``immutableReferences`` field of the :ref:`compiler JSON standard output <compiler-api>`.
.. note::
Immutables that are assigned at their declaration are only considered