From ce03439ea071fae8daa6f361ab6f47cbae9a1fd9 Mon Sep 17 00:00:00 2001 From: alvrs Date: Mon, 18 Sep 2023 17:23:18 +0100 Subject: [PATCH] prettier --- .changeset/few-papayas-leave.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.changeset/few-papayas-leave.md b/.changeset/few-papayas-leave.md index 918bf81065..27a1cfa787 100644 --- a/.changeset/few-papayas-leave.md +++ b/.changeset/few-papayas-leave.md @@ -33,7 +33,7 @@ + uint40 deleteCount, + bytes memory data + ) external; - + + function onAfterSpliceStaticData( + bytes32 tableId, + bytes32[] memory keyTuple, @@ -41,7 +41,7 @@ + uint40 deleteCount, + bytes memory data + ) external; - + + function onBeforeSpliceDynamicData( + bytes32 tableId, + bytes32[] memory keyTuple, @@ -51,7 +51,7 @@ + bytes memory data, + PackedCounter encodedLengths + ) external; - + + function onAfterSpliceDynamicData( + bytes32 tableId, + bytes32[] memory keyTuple, @@ -63,7 +63,7 @@ + ) external; } ``` - + - All `calldata` parameters on the `IStoreHook` interface were changed to `memory`, since the functions are called with `memory` from the `World`. - `IStore` exposes two new functions: `spliceStaticData` and `spliceDynamicData`. @@ -75,7 +75,7 @@ ```solidity interface IStore { - // Splice data in the static part of the record + // Splice data in the static part of the record function spliceStaticData( bytes32 tableId, bytes32[] calldata keyTuple, @@ -83,7 +83,7 @@ uint40 deleteCount, bytes calldata data ) external; - + // Splice data in the dynamic part of the record function spliceDynamicData( bytes32 tableId, @@ -95,4 +95,3 @@ ) external; } ``` -