From 95509d2e25f0daa7f9c55de8606a3503571e6c6f Mon Sep 17 00:00:00 2001 From: alvarius Date: Wed, 8 May 2024 13:33:14 +0100 Subject: [PATCH] Create blue-countries-drive.md --- .changeset/blue-countries-drive.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/blue-countries-drive.md diff --git a/.changeset/blue-countries-drive.md b/.changeset/blue-countries-drive.md new file mode 100644 index 0000000000..15d826ee0a --- /dev/null +++ b/.changeset/blue-countries-drive.md @@ -0,0 +1,8 @@ +--- +"@latticexyz/cli": patch +--- + +The deploy CLI now uses logs to find registered function selectors and their corresponding function signatures. +Previously only function signatures were fetched via logs and then mapped to function selectors via `getRecord` calls, +but this approach failed for namespaced function selectors of non-root system, +because the function signature table includes both the namespaced and non-namespaced signature but the function selector table only includes the namespaced selector that is registered on the world.