From ddb86f1ff93466e0b76e2b8a3947074c78e7e9fd Mon Sep 17 00:00:00 2001 From: alvarius Date: Thu, 4 Apr 2024 22:00:00 +0200 Subject: [PATCH] Update .changeset/popular-oranges-end.md --- .changeset/popular-oranges-end.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/popular-oranges-end.md b/.changeset/popular-oranges-end.md index bcaa4203d8..eff44b8764 100644 --- a/.changeset/popular-oranges-end.md +++ b/.changeset/popular-oranges-end.md @@ -3,4 +3,4 @@ "@latticexyz/cli": patch --- -Fixed the behaviour of static arrays, so that they always return zero for uninitialised values. Previously they would revert with `Store_IndexOutOfBounds` if the index had not been set yet. +Fixed the behaviour of static arrays, so that they return zero for uninitialised values, to mirror the native Solidity behavior. Previously they reverted with `Store_IndexOutOfBounds` if the index had not been set yet.