Skip to content

Commit

Permalink
fix: add warning in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykogias committed Jul 11, 2022
1 parent ed0a700 commit 71e5a52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/source/mocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,22 @@ Setting the value of multiple variables
Getting the value of an internal variable
********************

.. warning::
This is an experimental feature and it does not support multidimensional or packed arrays

.. code-block:: typescript
const myUint256 = await myMock.getVariable('myUint256VariableName');
Getting the value of an internal mapping given the value's key
********************
#######################################

.. code-block:: typescript
const myMappingValue = await myMock.getVariable('myMappingVariableName', [mappingKey]);
Getting the value of an internal nested mapping given the value's keys
********************
#######################################

.. code-block:: typescript
Expand Down

0 comments on commit 71e5a52

Please sign in to comment.