From 71e5a52353ac69a3bcc919f2942cbfa4096e1857 Mon Sep 17 00:00:00 2001 From: Antonis Kogias Date: Mon, 11 Jul 2022 15:40:10 +0300 Subject: [PATCH] fix: add warning in docs --- docs/source/mocks.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/source/mocks.rst b/docs/source/mocks.rst index dde017b..9ad5bcb 100644 --- a/docs/source/mocks.rst +++ b/docs/source/mocks.rst @@ -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