From de9124ef88e9869553957506608c3b84d160b8bd Mon Sep 17 00:00:00 2001 From: alvrs Date: Thu, 21 Sep 2023 16:49:25 +0100 Subject: [PATCH] run prettier --- .changeset/stale-seahorses-pay.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/stale-seahorses-pay.md b/.changeset/stale-seahorses-pay.md index 12e8233a32..8bd942565b 100644 --- a/.changeset/stale-seahorses-pay.md +++ b/.changeset/stale-seahorses-pay.md @@ -8,7 +8,7 @@ - `ResourceSelector` is replaced with `ResourceId`, `ResourceIdLib`, `ResourceIdInstance`, `WorldResourceIdLib` and `WorldResourceIdInstance`. Previously a "resource selector" was a `bytes32` value with the first 16 bytes reserved for the resource's namespace, and the last 16 bytes reserved for the resource's name. - Now a "resource ID" is a `bytes32` value with the first 2 bytes reserved for the resource type, the next 14 bytes reserved for the resource's namespace, and the last 16 bytes reserved for the resource's name. + Now a "resource ID" is a `bytes32` value with the first 2 bytes reserved for the resource type, the next 14 bytes reserved for the resource's namespace, and the last 16 bytes reserved for the resource's name. Previously `ResouceSelector` was a library and the resource selector type was a plain `bytes32`. Now `ResourceId` is a user type, and the functionality is implemented in the `ResourceIdInstance` (for type) and `WorldResourceIdInstance` (for namespace and name) libraries.