diff --git a/.changeset/curvy-dingos-draw.md b/.changeset/curvy-dingos-draw.md new file mode 100644 index 0000000000..8ca6af4d16 --- /dev/null +++ b/.changeset/curvy-dingos-draw.md @@ -0,0 +1,13 @@ +--- +"@latticexyz/world-modules": major +"@latticexyz/schema-type": major +"@latticexyz/gas-report": major +"@latticexyz/common": minor +"@latticexyz/noise": major +"@latticexyz/store": major +"@latticexyz/world": major +"@latticexyz/cli": minor +"create-mud": minor +--- + +Bumped Solidity version to 0.8.24. diff --git a/e2e/packages/contracts/foundry.toml b/e2e/packages/contracts/foundry.toml index d0ed548d14..e8a674b19f 100644 --- a/e2e/packages/contracts/foundry.toml +++ b/e2e/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/e2e/packages/contracts/script/PostDeploy.s.sol b/e2e/packages/contracts/script/PostDeploy.s.sol index 5e7da474d5..ae55c158a0 100644 --- a/e2e/packages/contracts/script/PostDeploy.s.sol +++ b/e2e/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/e2e/packages/contracts/src/CustomTypes.sol b/e2e/packages/contracts/src/CustomTypes.sol index 28973fd5fd..4c4db5eab6 100644 --- a/e2e/packages/contracts/src/CustomTypes.sol +++ b/e2e/packages/contracts/src/CustomTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; struct Position { int32 x; diff --git a/e2e/packages/contracts/src/codegen/index.sol b/e2e/packages/contracts/src/codegen/index.sol index 32762ce31a..409d155bf2 100644 --- a/e2e/packages/contracts/src/codegen/index.sol +++ b/e2e/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/Multi.sol b/e2e/packages/contracts/src/codegen/tables/Multi.sol index 81b06c8aaf..3e30ab0d5f 100644 --- a/e2e/packages/contracts/src/codegen/tables/Multi.sol +++ b/e2e/packages/contracts/src/codegen/tables/Multi.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/Number.sol b/e2e/packages/contracts/src/codegen/tables/Number.sol index def46cb309..53feeb91c7 100644 --- a/e2e/packages/contracts/src/codegen/tables/Number.sol +++ b/e2e/packages/contracts/src/codegen/tables/Number.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/NumberList.sol b/e2e/packages/contracts/src/codegen/tables/NumberList.sol index a0b71641e8..48ed29de1d 100644 --- a/e2e/packages/contracts/src/codegen/tables/NumberList.sol +++ b/e2e/packages/contracts/src/codegen/tables/NumberList.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/Position.sol b/e2e/packages/contracts/src/codegen/tables/Position.sol index e34da534d7..f100614a3c 100644 --- a/e2e/packages/contracts/src/codegen/tables/Position.sol +++ b/e2e/packages/contracts/src/codegen/tables/Position.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/StaticArray.sol b/e2e/packages/contracts/src/codegen/tables/StaticArray.sol index c1a9d358f5..977512e429 100644 --- a/e2e/packages/contracts/src/codegen/tables/StaticArray.sol +++ b/e2e/packages/contracts/src/codegen/tables/StaticArray.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/tables/Vector.sol b/e2e/packages/contracts/src/codegen/tables/Vector.sol index 9bcb795d5b..17e069e7d4 100644 --- a/e2e/packages/contracts/src/codegen/tables/Vector.sol +++ b/e2e/packages/contracts/src/codegen/tables/Vector.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/world/ICustomErrorsSystem.sol b/e2e/packages/contracts/src/codegen/world/ICustomErrorsSystem.sol index 6b71f94343..a7fb0f251f 100644 --- a/e2e/packages/contracts/src/codegen/world/ICustomErrorsSystem.sol +++ b/e2e/packages/contracts/src/codegen/world/ICustomErrorsSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/world/INumberListSystem.sol b/e2e/packages/contracts/src/codegen/world/INumberListSystem.sol index 20d93abd8c..318735091d 100644 --- a/e2e/packages/contracts/src/codegen/world/INumberListSystem.sol +++ b/e2e/packages/contracts/src/codegen/world/INumberListSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/codegen/world/IWorld.sol b/e2e/packages/contracts/src/codegen/world/IWorld.sol index 16d509b732..984df7dd71 100644 --- a/e2e/packages/contracts/src/codegen/world/IWorld.sol +++ b/e2e/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol b/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol index 9a43670985..437078c12e 100644 --- a/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol +++ b/e2e/packages/contracts/src/systems/CustomErrorsSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Position } from "../CustomTypes.sol"; diff --git a/e2e/packages/contracts/src/systems/NumberListSystem.sol b/e2e/packages/contracts/src/systems/NumberListSystem.sol index 0433e1efc5..a36fe62521 100644 --- a/e2e/packages/contracts/src/systems/NumberListSystem.sol +++ b/e2e/packages/contracts/src/systems/NumberListSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; import { EncodeArray } from "@latticexyz/store/src/tightcoder/EncodeArray.sol"; diff --git a/e2e/packages/contracts/test/StaticArray.t.sol b/e2e/packages/contracts/test/StaticArray.t.sol index 4548cc2a88..87a33135c6 100644 --- a/e2e/packages/contracts/test/StaticArray.t.sol +++ b/e2e/packages/contracts/test/StaticArray.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/e2e/packages/contracts/test/Worldgen.t.sol b/e2e/packages/contracts/test/Worldgen.t.sol index 2db3db9226..1695c2f465 100644 --- a/e2e/packages/contracts/test/Worldgen.t.sol +++ b/e2e/packages/contracts/test/Worldgen.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/examples/minimal/packages/contracts/foundry.toml b/examples/minimal/packages/contracts/foundry.toml index 8904c99c97..3eb96af5e6 100644 --- a/examples/minimal/packages/contracts/foundry.toml +++ b/examples/minimal/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/examples/minimal/packages/contracts/script/PostDeploy.s.sol b/examples/minimal/packages/contracts/script/PostDeploy.s.sol index 661a15ba47..9a760231f0 100644 --- a/examples/minimal/packages/contracts/script/PostDeploy.s.sol +++ b/examples/minimal/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/examples/minimal/packages/contracts/src/codegen/index.sol b/examples/minimal/packages/contracts/src/codegen/index.sol index 46a45a2b39..ac4baf9ad1 100644 --- a/examples/minimal/packages/contracts/src/codegen/index.sol +++ b/examples/minimal/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol b/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol index 709f5330da..f0cb4503e2 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol b/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol index 2098e55a28..c95a5e9a88 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol b/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol index 157e866c76..ca0ac16ff3 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/world/IChatSystem.sol b/examples/minimal/packages/contracts/src/codegen/world/IChatSystem.sol index 9af52330c6..48e977a1c7 100644 --- a/examples/minimal/packages/contracts/src/codegen/world/IChatSystem.sol +++ b/examples/minimal/packages/contracts/src/codegen/world/IChatSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/world/IIncrementSystem.sol b/examples/minimal/packages/contracts/src/codegen/world/IIncrementSystem.sol index 9c576d2c82..8989fe0eae 100644 --- a/examples/minimal/packages/contracts/src/codegen/world/IIncrementSystem.sol +++ b/examples/minimal/packages/contracts/src/codegen/world/IIncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/world/IInventorySystem.sol b/examples/minimal/packages/contracts/src/codegen/world/IInventorySystem.sol index db08afdd87..2b59bb3249 100644 --- a/examples/minimal/packages/contracts/src/codegen/world/IInventorySystem.sol +++ b/examples/minimal/packages/contracts/src/codegen/world/IInventorySystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/world/IStructSystem.sol b/examples/minimal/packages/contracts/src/codegen/world/IStructSystem.sol index 6223542f90..061c1bfce9 100644 --- a/examples/minimal/packages/contracts/src/codegen/world/IStructSystem.sol +++ b/examples/minimal/packages/contracts/src/codegen/world/IStructSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/codegen/world/IWorld.sol b/examples/minimal/packages/contracts/src/codegen/world/IWorld.sol index d46a073b79..31f6c0439b 100644 --- a/examples/minimal/packages/contracts/src/codegen/world/IWorld.sol +++ b/examples/minimal/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/minimal/packages/contracts/src/interfaces/IChatNamespacedSystem.sol b/examples/minimal/packages/contracts/src/interfaces/IChatNamespacedSystem.sol index 54a19f0379..e8280c717f 100644 --- a/examples/minimal/packages/contracts/src/interfaces/IChatNamespacedSystem.sol +++ b/examples/minimal/packages/contracts/src/interfaces/IChatNamespacedSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; interface IChatNamespacedSystem { function namespace__sendMessage(string memory message) external; diff --git a/examples/minimal/packages/contracts/src/systems/ChatNamespacedSystem.sol b/examples/minimal/packages/contracts/src/systems/ChatNamespacedSystem.sol index fa42fbdada..5531e515db 100644 --- a/examples/minimal/packages/contracts/src/systems/ChatNamespacedSystem.sol +++ b/examples/minimal/packages/contracts/src/systems/ChatNamespacedSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { MessageTable } from "../codegen/index.sol"; diff --git a/examples/minimal/packages/contracts/src/systems/ChatSystem.sol b/examples/minimal/packages/contracts/src/systems/ChatSystem.sol index 83b1962d08..f41b02c9b9 100644 --- a/examples/minimal/packages/contracts/src/systems/ChatSystem.sol +++ b/examples/minimal/packages/contracts/src/systems/ChatSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { MessageTable } from "../codegen/index.sol"; diff --git a/examples/minimal/packages/contracts/src/systems/IncrementSystem.sol b/examples/minimal/packages/contracts/src/systems/IncrementSystem.sol index 7cdf5c28e0..6a788091a0 100644 --- a/examples/minimal/packages/contracts/src/systems/IncrementSystem.sol +++ b/examples/minimal/packages/contracts/src/systems/IncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { console } from "forge-std/console.sol"; import { System } from "@latticexyz/world/src/System.sol"; import { CounterTable } from "../codegen/index.sol"; diff --git a/examples/minimal/packages/contracts/src/systems/InventorySystem.sol b/examples/minimal/packages/contracts/src/systems/InventorySystem.sol index a22f30c3fe..5e6bbf06cb 100644 --- a/examples/minimal/packages/contracts/src/systems/InventorySystem.sol +++ b/examples/minimal/packages/contracts/src/systems/InventorySystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Inventory } from "../codegen/index.sol"; diff --git a/examples/minimal/packages/contracts/src/systems/StructSystem.sol b/examples/minimal/packages/contracts/src/systems/StructSystem.sol index 9ec22140ea..fda05895e8 100644 --- a/examples/minimal/packages/contracts/src/systems/StructSystem.sol +++ b/examples/minimal/packages/contracts/src/systems/StructSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { CounterTable } from "../codegen/index.sol"; import { BytesStruct, StringStruct } from "./structs.sol"; diff --git a/examples/minimal/packages/contracts/src/systems/structs.sol b/examples/minimal/packages/contracts/src/systems/structs.sol index c404977f9c..a0c6215448 100644 --- a/examples/minimal/packages/contracts/src/systems/structs.sol +++ b/examples/minimal/packages/contracts/src/systems/structs.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; struct BytesStruct { bytes value; diff --git a/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol b/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol index 7c033b99d0..eaecdb806a 100644 --- a/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol +++ b/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/examples/minimal/packages/contracts/test/CounterTest.t.sol b/examples/minimal/packages/contracts/test/CounterTest.t.sol index f47081eb89..81cfc6df7d 100644 --- a/examples/minimal/packages/contracts/test/CounterTest.t.sol +++ b/examples/minimal/packages/contracts/test/CounterTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/examples/minimal/packages/contracts/test/StructTest.t.sol b/examples/minimal/packages/contracts/test/StructTest.t.sol index 75528e759a..a6789628ef 100644 --- a/examples/minimal/packages/contracts/test/StructTest.t.sol +++ b/examples/minimal/packages/contracts/test/StructTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/examples/multiple-accounts/packages/contracts/foundry.toml b/examples/multiple-accounts/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/examples/multiple-accounts/packages/contracts/foundry.toml +++ b/examples/multiple-accounts/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/examples/multiple-accounts/packages/contracts/script/PostDeploy.s.sol b/examples/multiple-accounts/packages/contracts/script/PostDeploy.s.sol index de01099e0a..5d23dc76bc 100644 --- a/examples/multiple-accounts/packages/contracts/script/PostDeploy.s.sol +++ b/examples/multiple-accounts/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/examples/multiple-accounts/packages/contracts/src/codegen/index.sol b/examples/multiple-accounts/packages/contracts/src/codegen/index.sol index bb6619582e..0746454b44 100644 --- a/examples/multiple-accounts/packages/contracts/src/codegen/index.sol +++ b/examples/multiple-accounts/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/multiple-accounts/packages/contracts/src/codegen/tables/LastCall.sol b/examples/multiple-accounts/packages/contracts/src/codegen/tables/LastCall.sol index bd8c0c9dfd..1901909534 100644 --- a/examples/multiple-accounts/packages/contracts/src/codegen/tables/LastCall.sol +++ b/examples/multiple-accounts/packages/contracts/src/codegen/tables/LastCall.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/multiple-accounts/packages/contracts/src/codegen/world/ILastCallSystem.sol b/examples/multiple-accounts/packages/contracts/src/codegen/world/ILastCallSystem.sol index ea46b83c17..5c145bf3a8 100644 --- a/examples/multiple-accounts/packages/contracts/src/codegen/world/ILastCallSystem.sol +++ b/examples/multiple-accounts/packages/contracts/src/codegen/world/ILastCallSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/multiple-accounts/packages/contracts/src/codegen/world/ITasksSystem.sol b/examples/multiple-accounts/packages/contracts/src/codegen/world/ITasksSystem.sol index e9bfddc79e..81127a78eb 100644 --- a/examples/multiple-accounts/packages/contracts/src/codegen/world/ITasksSystem.sol +++ b/examples/multiple-accounts/packages/contracts/src/codegen/world/ITasksSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/multiple-accounts/packages/contracts/src/codegen/world/IWorld.sol b/examples/multiple-accounts/packages/contracts/src/codegen/world/IWorld.sol index 35618e1257..a6f78a1166 100644 --- a/examples/multiple-accounts/packages/contracts/src/codegen/world/IWorld.sol +++ b/examples/multiple-accounts/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/examples/multiple-accounts/packages/contracts/src/systems/LastCallSystem.sol b/examples/multiple-accounts/packages/contracts/src/systems/LastCallSystem.sol index 87344ea8a0..6d6bfe421f 100644 --- a/examples/multiple-accounts/packages/contracts/src/systems/LastCallSystem.sol +++ b/examples/multiple-accounts/packages/contracts/src/systems/LastCallSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { LastCall } from "../codegen/index.sol"; diff --git a/packages/cli/contracts/src/codegen/common.sol b/packages/cli/contracts/src/codegen/common.sol index 6d5e7d6de5..728b16cc27 100644 --- a/packages/cli/contracts/src/codegen/common.sol +++ b/packages/cli/contracts/src/codegen/common.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ enum Enum1 { diff --git a/packages/cli/contracts/src/codegen/index.sol b/packages/cli/contracts/src/codegen/index.sol index fb31045cfb..80f2b14a6f 100644 --- a/packages/cli/contracts/src/codegen/index.sol +++ b/packages/cli/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/Dynamics1.sol b/packages/cli/contracts/src/codegen/tables/Dynamics1.sol index 308952a97f..9143895f0d 100644 --- a/packages/cli/contracts/src/codegen/tables/Dynamics1.sol +++ b/packages/cli/contracts/src/codegen/tables/Dynamics1.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/Dynamics2.sol b/packages/cli/contracts/src/codegen/tables/Dynamics2.sol index 8fa1b6c9de..58eae21bd5 100644 --- a/packages/cli/contracts/src/codegen/tables/Dynamics2.sol +++ b/packages/cli/contracts/src/codegen/tables/Dynamics2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/Offchain.sol b/packages/cli/contracts/src/codegen/tables/Offchain.sol index d110880813..bda58e250f 100644 --- a/packages/cli/contracts/src/codegen/tables/Offchain.sol +++ b/packages/cli/contracts/src/codegen/tables/Offchain.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/Singleton.sol b/packages/cli/contracts/src/codegen/tables/Singleton.sol index 7581b13a14..809df6e628 100644 --- a/packages/cli/contracts/src/codegen/tables/Singleton.sol +++ b/packages/cli/contracts/src/codegen/tables/Singleton.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/Statics.sol b/packages/cli/contracts/src/codegen/tables/Statics.sol index 80d3d8a95d..50406a93c3 100644 --- a/packages/cli/contracts/src/codegen/tables/Statics.sol +++ b/packages/cli/contracts/src/codegen/tables/Statics.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/codegen/tables/UserTyped.sol b/packages/cli/contracts/src/codegen/tables/UserTyped.sol index 22c230bbdc..d2bb83fa35 100644 --- a/packages/cli/contracts/src/codegen/tables/UserTyped.sol +++ b/packages/cli/contracts/src/codegen/tables/UserTyped.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/cli/contracts/src/types.sol b/packages/cli/contracts/src/types.sol index 636387331e..49e9e2f5b6 100644 --- a/packages/cli/contracts/src/types.sol +++ b/packages/cli/contracts/src/types.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; type TestTypeInt64 is int64; type TestTypeAddress is address; diff --git a/packages/cli/contracts/test/Tablegen.t.sol b/packages/cli/contracts/test/Tablegen.t.sol index 86de2562f3..d00c63c0f3 100644 --- a/packages/cli/contracts/test/Tablegen.t.sol +++ b/packages/cli/contracts/test/Tablegen.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { StoreMock } from "@latticexyz/store/test/StoreMock.sol"; diff --git a/packages/cli/foundry.toml b/packages/cli/foundry.toml index 5b52f76616..77db1d6112 100644 --- a/packages/cli/foundry.toml +++ b/packages/cli/foundry.toml @@ -1,6 +1,6 @@ [profile.default] # check all "WARNING:" comments before changing major solidity versions -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/packages/common/src/codegen/render-solidity/common.ts b/packages/common/src/codegen/render-solidity/common.ts index 1d0cef651d..ff95b9537d 100644 --- a/packages/common/src/codegen/render-solidity/common.ts +++ b/packages/common/src/codegen/render-solidity/common.ts @@ -13,7 +13,7 @@ import { posixPath } from "../utils"; * Common header for all codegenerated solidity files */ export const renderedSolidityHeader = `// SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */`; diff --git a/packages/gas-report/foundry.toml b/packages/gas-report/foundry.toml index 561e05fc7b..39af2fd600 100644 --- a/packages/gas-report/foundry.toml +++ b/packages/gas-report/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/packages/gas-report/src/GasReporter.sol b/packages/gas-report/src/GasReporter.sol index d3ca40ccc3..f5a349d966 100644 --- a/packages/gas-report/src/GasReporter.sol +++ b/packages/gas-report/src/GasReporter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; diff --git a/packages/gas-report/test/GasReporter.t.sol b/packages/gas-report/test/GasReporter.t.sol index bc4a2107b7..112118e6b6 100644 --- a/packages/gas-report/test/GasReporter.t.sol +++ b/packages/gas-report/test/GasReporter.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "../src/GasReporter.sol"; diff --git a/packages/noise/contracts/Perlin.sol b/packages/noise/contracts/Perlin.sol index 243f7ce2f8..9c64b72c1f 100644 --- a/packages/noise/contracts/Perlin.sol +++ b/packages/noise/contracts/Perlin.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ABDKMath64x64 as Math } from "abdk-libraries-solidity/ABDKMath64x64.sol"; diff --git a/packages/noise/foundry.toml b/packages/noise/foundry.toml index aad1d8ec32..555dbf1c24 100644 --- a/packages/noise/foundry.toml +++ b/packages/noise/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/packages/noise/test/forge/Perlin.t.sol b/packages/noise/test/forge/Perlin.t.sol index 2148d22cd0..8e3eb5f95c 100644 --- a/packages/noise/test/forge/Perlin.t.sol +++ b/packages/noise/test/forge/Perlin.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { Perlin } from "../../contracts/Perlin.sol"; diff --git a/packages/schema-type/foundry.toml b/packages/schema-type/foundry.toml index e48d006f08..f528f93226 100644 --- a/packages/schema-type/foundry.toml +++ b/packages/schema-type/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/packages/schema-type/src/solidity/SchemaType.sol b/packages/schema-type/src/solidity/SchemaType.sol index d3090625c8..5a87c05c7f 100644 --- a/packages/schema-type/src/solidity/SchemaType.sol +++ b/packages/schema-type/src/solidity/SchemaType.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; using { getStaticByteLength } for SchemaType global; diff --git a/packages/schema-type/test/solidity/SchemaType.t.sol b/packages/schema-type/test/solidity/SchemaType.t.sol index 6a18498a9c..7411659cbe 100644 --- a/packages/schema-type/test/solidity/SchemaType.t.sol +++ b/packages/schema-type/test/solidity/SchemaType.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { stdError } from "forge-std/StdError.sol"; diff --git a/packages/store/foundry.toml b/packages/store/foundry.toml index 44ff26972e..b62eeeea4a 100644 --- a/packages/store/foundry.toml +++ b/packages/store/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = true fuzz_runs = 256 optimizer = true diff --git a/packages/store/gas-report.json b/packages/store/gas-report.json index 5bb366a751..9741002bd9 100644 --- a/packages/store/gas-report.json +++ b/packages/store/gas-report.json @@ -87,7 +87,7 @@ "file": "test/FieldLayout.t.sol", "test": "testValidate", "name": "validate field layout", - "gasUsed": 6925 + "gasUsed": 6570 }, { "file": "test/Gas.t.sol", @@ -321,7 +321,7 @@ "file": "test/KeyEncoding.t.sol", "test": "testRegisterAndGetFieldLayout", "name": "register KeyEncoding table", - "gasUsed": 727151 + "gasUsed": 725222 }, { "file": "test/Mixed.t.sol", @@ -675,7 +675,7 @@ "file": "test/StoreCoreGas.t.sol", "test": "testDeleteDataOffchainTable", "name": "StoreCore: delete record in offchain table", - "gasUsed": 4687 + "gasUsed": 4688 }, { "file": "test/StoreCoreGas.t.sol", @@ -711,19 +711,19 @@ "file": "test/StoreCoreGas.t.sol", "test": "testHooks", "name": "set record on table with subscriber", - "gasUsed": 72364 + "gasUsed": 72222 }, { "file": "test/StoreCoreGas.t.sol", "test": "testHooks", "name": "set static field on table with subscriber", - "gasUsed": 19816 + "gasUsed": 19674 }, { "file": "test/StoreCoreGas.t.sol", "test": "testHooks", "name": "delete record on table with subscriber", - "gasUsed": 18574 + "gasUsed": 18433 }, { "file": "test/StoreCoreGas.t.sol", @@ -735,19 +735,19 @@ "file": "test/StoreCoreGas.t.sol", "test": "testHooksDynamicData", "name": "set (dynamic) record on table with subscriber", - "gasUsed": 165498 + "gasUsed": 165356 }, { "file": "test/StoreCoreGas.t.sol", "test": "testHooksDynamicData", "name": "set (dynamic) field on table with subscriber", - "gasUsed": 24425 + "gasUsed": 24283 }, { "file": "test/StoreCoreGas.t.sol", "test": "testHooksDynamicData", "name": "delete (dynamic) record on table with subscriber", - "gasUsed": 20240 + "gasUsed": 20099 }, { "file": "test/StoreCoreGas.t.sol", @@ -765,7 +765,7 @@ "file": "test/StoreCoreGas.t.sol", "test": "testRegisterAndGetFieldLayout", "name": "StoreCore: register table", - "gasUsed": 650861 + "gasUsed": 648923 }, { "file": "test/StoreCoreGas.t.sol", @@ -777,13 +777,13 @@ "file": "test/StoreCoreGas.t.sol", "test": "testRegisterAndGetFieldLayout", "name": "StoreCore: get value schema (warm)", - "gasUsed": 1808 + "gasUsed": 1666 }, { "file": "test/StoreCoreGas.t.sol", "test": "testRegisterAndGetFieldLayout", "name": "StoreCore: get key schema (warm)", - "gasUsed": 2826 + "gasUsed": 2755 }, { "file": "test/StoreCoreGas.t.sol", @@ -843,13 +843,13 @@ "file": "test/StoreCoreGas.t.sol", "test": "testSetAndGetField", "name": "set static field (overlap 2 slot)", - "gasUsed": 29899 + "gasUsed": 29828 }, { "file": "test/StoreCoreGas.t.sol", "test": "testSetAndGetField", "name": "get static field (overlap 2 slot)", - "gasUsed": 1883 + "gasUsed": 1812 }, { "file": "test/StoreCoreGas.t.sol", @@ -1107,7 +1107,7 @@ "file": "test/Vector2.t.sol", "test": "testRegisterAndGetFieldLayout", "name": "register Vector2 field layout", - "gasUsed": 450995 + "gasUsed": 449007 }, { "file": "test/Vector2.t.sol", diff --git a/packages/store/src/Bytes.sol b/packages/store/src/Bytes.sol index df13cc1e92..b727cabc09 100644 --- a/packages/store/src/Bytes.sol +++ b/packages/store/src/Bytes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Bytes diff --git a/packages/store/src/FieldLayout.sol b/packages/store/src/FieldLayout.sol index 1a5fae43cc..6db7af9bd3 100644 --- a/packages/store/src/FieldLayout.sol +++ b/packages/store/src/FieldLayout.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { WORD_SIZE, WORD_LAST_INDEX, BYTE_TO_BITS, MAX_TOTAL_FIELDS, MAX_DYNAMIC_FIELDS, LayoutOffsets } from "./constants.sol"; diff --git a/packages/store/src/Hook.sol b/packages/store/src/Hook.sol index f9ac5c3bff..b650c7fd86 100644 --- a/packages/store/src/Hook.sol +++ b/packages/store/src/Hook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Hooks } from "./codegen/tables/Hooks.sol"; import { ResourceId } from "./ResourceId.sol"; diff --git a/packages/store/src/IERC165.sol b/packages/store/src/IERC165.sol index d0aee5997a..32c6176297 100644 --- a/packages/store/src/IERC165.sol +++ b/packages/store/src/IERC165.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; // See https://eips.ethereum.org/EIPS/eip-165 interface IERC165 { diff --git a/packages/store/src/IStore.sol b/packages/store/src/IStore.sol index 1799e17460..2809f10339 100644 --- a/packages/store/src/IStore.sol +++ b/packages/store/src/IStore.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreErrors } from "./IStoreErrors.sol"; import { IStoreData } from "./IStoreData.sol"; diff --git a/packages/store/src/IStoreData.sol b/packages/store/src/IStoreData.sol index 6e2772d137..93bf87a182 100644 --- a/packages/store/src/IStoreData.sol +++ b/packages/store/src/IStoreData.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreRead } from "./IStoreRead.sol"; import { IStoreWrite } from "./IStoreWrite.sol"; diff --git a/packages/store/src/IStoreErrors.sol b/packages/store/src/IStoreErrors.sol index 8b2635fcbd..62d63f085d 100644 --- a/packages/store/src/IStoreErrors.sol +++ b/packages/store/src/IStoreErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "./ResourceId.sol"; diff --git a/packages/store/src/IStoreEvents.sol b/packages/store/src/IStoreEvents.sol index 95a53f62d5..c94ea0963f 100644 --- a/packages/store/src/IStoreEvents.sol +++ b/packages/store/src/IStoreEvents.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "./ResourceId.sol"; import { PackedCounter } from "./PackedCounter.sol"; diff --git a/packages/store/src/IStoreHook.sol b/packages/store/src/IStoreHook.sol index cd3847fee4..cea4825d48 100644 --- a/packages/store/src/IStoreHook.sol +++ b/packages/store/src/IStoreHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { FieldLayout } from "./FieldLayout.sol"; import { IERC165 } from "./IERC165.sol"; diff --git a/packages/store/src/IStoreRead.sol b/packages/store/src/IStoreRead.sol index 794eb8280f..232593aaa1 100644 --- a/packages/store/src/IStoreRead.sol +++ b/packages/store/src/IStoreRead.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { PackedCounter } from "./PackedCounter.sol"; import { FieldLayout } from "./FieldLayout.sol"; diff --git a/packages/store/src/IStoreRegistration.sol b/packages/store/src/IStoreRegistration.sol index 58d73ab910..e620358ba2 100644 --- a/packages/store/src/IStoreRegistration.sol +++ b/packages/store/src/IStoreRegistration.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { FieldLayout } from "./FieldLayout.sol"; import { Schema } from "./Schema.sol"; diff --git a/packages/store/src/IStoreWrite.sol b/packages/store/src/IStoreWrite.sol index 99f6e3048c..8ee9a8f46b 100644 --- a/packages/store/src/IStoreWrite.sol +++ b/packages/store/src/IStoreWrite.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreEvents } from "./IStoreEvents.sol"; import { PackedCounter } from "./PackedCounter.sol"; diff --git a/packages/store/src/Memory.sol b/packages/store/src/Memory.sol index 9dda2a562a..87d209293e 100644 --- a/packages/store/src/Memory.sol +++ b/packages/store/src/Memory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { rightMask } from "./rightMask.sol"; diff --git a/packages/store/src/PackedCounter.sol b/packages/store/src/PackedCounter.sol index eb0104cd6b..e1dcd58120 100644 --- a/packages/store/src/PackedCounter.sol +++ b/packages/store/src/PackedCounter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { BYTE_TO_BITS } from "./constants.sol"; diff --git a/packages/store/src/ResourceId.sol b/packages/store/src/ResourceId.sol index fced287336..62f39e3ba0 100644 --- a/packages/store/src/ResourceId.sol +++ b/packages/store/src/ResourceId.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title ResourceId type definition and related utilities diff --git a/packages/store/src/Schema.sol b/packages/store/src/Schema.sol index 211bf5304c..87171de1a3 100644 --- a/packages/store/src/Schema.sol +++ b/packages/store/src/Schema.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { SchemaType } from "@latticexyz/schema-type/src/solidity/SchemaType.sol"; diff --git a/packages/store/src/Slice.sol b/packages/store/src/Slice.sol index 0a0571c867..cce6cab687 100644 --- a/packages/store/src/Slice.sol +++ b/packages/store/src/Slice.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Memory } from "./Memory.sol"; import { DecodeSlice } from "./tightcoder/DecodeSlice.sol"; diff --git a/packages/store/src/Storage.sol b/packages/store/src/Storage.sol index c96fc9fcc8..9d8fa82dac 100644 --- a/packages/store/src/Storage.sol +++ b/packages/store/src/Storage.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { rightMask } from "./rightMask.sol"; import { Memory } from "./Memory.sol"; diff --git a/packages/store/src/StoreCore.sol b/packages/store/src/StoreCore.sol index 5848de42a1..177073f501 100644 --- a/packages/store/src/StoreCore.sol +++ b/packages/store/src/StoreCore.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { STORE_VERSION } from "./version.sol"; import { Bytes } from "./Bytes.sol"; diff --git a/packages/store/src/StoreData.sol b/packages/store/src/StoreData.sol index d1df66566f..4240108cd4 100644 --- a/packages/store/src/StoreData.sol +++ b/packages/store/src/StoreData.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { STORE_VERSION } from "./version.sol"; import { IStoreData } from "./IStoreData.sol"; diff --git a/packages/store/src/StoreHook.sol b/packages/store/src/StoreHook.sol index b423d6fff2..7463af8880 100644 --- a/packages/store/src/StoreHook.sol +++ b/packages/store/src/StoreHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreHook } from "./IStoreHook.sol"; import { IERC165 } from "./IERC165.sol"; diff --git a/packages/store/src/StoreRead.sol b/packages/store/src/StoreRead.sol index 1bbd84d465..1e26674513 100644 --- a/packages/store/src/StoreRead.sol +++ b/packages/store/src/StoreRead.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreRead } from "./IStoreRead.sol"; import { StoreCore } from "./StoreCore.sol"; diff --git a/packages/store/src/StoreSwitch.sol b/packages/store/src/StoreSwitch.sol index dd099d3ab5..fbf3155bc2 100644 --- a/packages/store/src/StoreSwitch.sol +++ b/packages/store/src/StoreSwitch.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "./IStore.sol"; import { PackedCounter } from "../src/PackedCounter.sol"; diff --git a/packages/store/src/codegen/index.sol b/packages/store/src/codegen/index.sol index 0f6948556f..e627a7ed26 100644 --- a/packages/store/src/codegen/index.sol +++ b/packages/store/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/src/codegen/tables/Hooks.sol b/packages/store/src/codegen/tables/Hooks.sol index 8f0f04d667..280ec76835 100644 --- a/packages/store/src/codegen/tables/Hooks.sol +++ b/packages/store/src/codegen/tables/Hooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/src/codegen/tables/ResourceIds.sol b/packages/store/src/codegen/tables/ResourceIds.sol index 81950d4941..49534752ec 100644 --- a/packages/store/src/codegen/tables/ResourceIds.sol +++ b/packages/store/src/codegen/tables/ResourceIds.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/src/codegen/tables/StoreHooks.sol b/packages/store/src/codegen/tables/StoreHooks.sol index 72f9aab99d..5722f81f7d 100644 --- a/packages/store/src/codegen/tables/StoreHooks.sol +++ b/packages/store/src/codegen/tables/StoreHooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/src/codegen/tables/Tables.sol b/packages/store/src/codegen/tables/Tables.sol index c3cfe5fed6..070f78c1e9 100644 --- a/packages/store/src/codegen/tables/Tables.sol +++ b/packages/store/src/codegen/tables/Tables.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/src/constants.sol b/packages/store/src/constants.sol index c58779a7fa..62c41f0896 100644 --- a/packages/store/src/constants.sol +++ b/packages/store/src/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Shared Constants for EVM and Schema Handling diff --git a/packages/store/src/rightMask.sol b/packages/store/src/rightMask.sol index 932b031dc9..ad4f94a594 100644 --- a/packages/store/src/rightMask.sol +++ b/packages/store/src/rightMask.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { BYTE_TO_BITS } from "./constants.sol"; diff --git a/packages/store/src/storeHookTypes.sol b/packages/store/src/storeHookTypes.sol index 8a0d437382..c504ff618f 100644 --- a/packages/store/src/storeHookTypes.sol +++ b/packages/store/src/storeHookTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Store Hook Flags diff --git a/packages/store/src/storeResourceTypes.sol b/packages/store/src/storeResourceTypes.sol index 5ce3e438e8..f72210cb03 100644 --- a/packages/store/src/storeResourceTypes.sol +++ b/packages/store/src/storeResourceTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Resource Identifiers diff --git a/packages/store/src/tightcoder/DecodeSlice.sol b/packages/store/src/tightcoder/DecodeSlice.sol index 36c5b01eaf..6d2f70bd37 100644 --- a/packages/store/src/tightcoder/DecodeSlice.sol +++ b/packages/store/src/tightcoder/DecodeSlice.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ import { TightCoder } from "./TightCoder.sol"; diff --git a/packages/store/src/tightcoder/EncodeArray.sol b/packages/store/src/tightcoder/EncodeArray.sol index a9c8b1edae..4b04e9d52b 100644 --- a/packages/store/src/tightcoder/EncodeArray.sol +++ b/packages/store/src/tightcoder/EncodeArray.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ import { TightCoder } from "./TightCoder.sol"; diff --git a/packages/store/src/tightcoder/TightCoder.sol b/packages/store/src/tightcoder/TightCoder.sol index 5da9e8899e..5d42eeda84 100644 --- a/packages/store/src/tightcoder/TightCoder.sol +++ b/packages/store/src/tightcoder/TightCoder.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Slice } from "../Slice.sol"; diff --git a/packages/store/src/version.sol b/packages/store/src/version.sol index a38b86d657..f7963b91f4 100644 --- a/packages/store/src/version.sol +++ b/packages/store/src/version.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Store Versioning diff --git a/packages/store/test/Bytes.t.sol b/packages/store/test/Bytes.t.sol index 660b579c0e..7492b0aa11 100644 --- a/packages/store/test/Bytes.t.sol +++ b/packages/store/test/Bytes.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/Callbacks.t.sol b/packages/store/test/Callbacks.t.sol index 3dc7b7344d..f9af114b08 100644 --- a/packages/store/test/Callbacks.t.sol +++ b/packages/store/test/Callbacks.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/EchoSubscriber.sol b/packages/store/test/EchoSubscriber.sol index 1ff5768c6d..8199d4eab6 100644 --- a/packages/store/test/EchoSubscriber.sol +++ b/packages/store/test/EchoSubscriber.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { PackedCounter } from "../src/PackedCounter.sol"; import { FieldLayout } from "../src/FieldLayout.sol"; diff --git a/packages/store/test/FieldLayout.t.sol b/packages/store/test/FieldLayout.t.sol index 87d3c72d4b..915d96618f 100644 --- a/packages/store/test/FieldLayout.t.sol +++ b/packages/store/test/FieldLayout.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/FieldLayoutEncodeHelper.sol b/packages/store/test/FieldLayoutEncodeHelper.sol index 5d2e24c7d3..598a151042 100644 --- a/packages/store/test/FieldLayoutEncodeHelper.sol +++ b/packages/store/test/FieldLayoutEncodeHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { FieldLayout, FieldLayoutLib } from "../src/FieldLayout.sol"; diff --git a/packages/store/test/Gas.t.sol b/packages/store/test/Gas.t.sol index 442c0a0c69..32b4976cb3 100644 --- a/packages/store/test/Gas.t.sol +++ b/packages/store/test/Gas.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/GasStorageLoad.t.sol b/packages/store/test/GasStorageLoad.t.sol index cfafdbcd65..fc5cac5dd9 100644 --- a/packages/store/test/GasStorageLoad.t.sol +++ b/packages/store/test/GasStorageLoad.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/Hook.t.sol b/packages/store/test/Hook.t.sol index 8fe1a2c5dc..55552b446f 100644 --- a/packages/store/test/Hook.t.sol +++ b/packages/store/test/Hook.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/KeyEncoding.t.sol b/packages/store/test/KeyEncoding.t.sol index d2870e52c4..0f72fe9e48 100644 --- a/packages/store/test/KeyEncoding.t.sol +++ b/packages/store/test/KeyEncoding.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/MirrorSubscriber.sol b/packages/store/test/MirrorSubscriber.sol index dbb2c87fea..83f9041197 100644 --- a/packages/store/test/MirrorSubscriber.sol +++ b/packages/store/test/MirrorSubscriber.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "../src/IStore.sol"; import { StoreHook } from "../src/StoreHook.sol"; diff --git a/packages/store/test/Mixed.t.sol b/packages/store/test/Mixed.t.sol index 3b5b1c6302..c060604df5 100644 --- a/packages/store/test/Mixed.t.sol +++ b/packages/store/test/Mixed.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/PackedCounter.t.sol b/packages/store/test/PackedCounter.t.sol index e3765ac350..234c9258dc 100644 --- a/packages/store/test/PackedCounter.t.sol +++ b/packages/store/test/PackedCounter.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/ResourceId.t.sol b/packages/store/test/ResourceId.t.sol index e7c731c579..18c3d6b51d 100644 --- a/packages/store/test/ResourceId.t.sol +++ b/packages/store/test/ResourceId.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/RevertSubscriber.sol b/packages/store/test/RevertSubscriber.sol index c95fe5a926..6af33f2e0a 100644 --- a/packages/store/test/RevertSubscriber.sol +++ b/packages/store/test/RevertSubscriber.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreHook } from "../src/StoreHook.sol"; import { FieldLayout } from "../src/FieldLayout.sol"; diff --git a/packages/store/test/Schema.t.sol b/packages/store/test/Schema.t.sol index f22abad9e9..3762448b0c 100644 --- a/packages/store/test/Schema.t.sol +++ b/packages/store/test/Schema.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/SchemaEncodeHelper.sol b/packages/store/test/SchemaEncodeHelper.sol index 3db69f0813..e3d3770960 100644 --- a/packages/store/test/SchemaEncodeHelper.sol +++ b/packages/store/test/SchemaEncodeHelper.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { SchemaType } from "@latticexyz/schema-type/src/solidity/SchemaType.sol"; import { Schema, SchemaLib } from "../src/Schema.sol"; diff --git a/packages/store/test/Slice.t.sol b/packages/store/test/Slice.t.sol index 2384c1c7af..69d9aa4d7d 100644 --- a/packages/store/test/Slice.t.sol +++ b/packages/store/test/Slice.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/Storage.t.sol b/packages/store/test/Storage.t.sol index 6b2fb40c8f..9a52eca23f 100644 --- a/packages/store/test/Storage.t.sol +++ b/packages/store/test/Storage.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreCore.t.sol b/packages/store/test/StoreCore.t.sol index e79388659a..2f83f99ac1 100644 --- a/packages/store/test/StoreCore.t.sol +++ b/packages/store/test/StoreCore.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { SchemaType } from "@latticexyz/schema-type/src/solidity/SchemaType.sol"; diff --git a/packages/store/test/StoreCoreDynamic.t.sol b/packages/store/test/StoreCoreDynamic.t.sol index cd24221813..7af44724b3 100644 --- a/packages/store/test/StoreCoreDynamic.t.sol +++ b/packages/store/test/StoreCoreDynamic.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreCoreGas.t.sol b/packages/store/test/StoreCoreGas.t.sol index 67962c21b1..8eaaa3a708 100644 --- a/packages/store/test/StoreCoreGas.t.sol +++ b/packages/store/test/StoreCoreGas.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreHook.t.sol b/packages/store/test/StoreHook.t.sol index 889c8c5bfa..1fcca1d95e 100644 --- a/packages/store/test/StoreHook.t.sol +++ b/packages/store/test/StoreHook.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreHooks.t.sol b/packages/store/test/StoreHooks.t.sol index cd85475d39..1de1d4caf4 100644 --- a/packages/store/test/StoreHooks.t.sol +++ b/packages/store/test/StoreHooks.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreHooksColdLoad.t.sol b/packages/store/test/StoreHooksColdLoad.t.sol index 99dabe827a..c175953d75 100644 --- a/packages/store/test/StoreHooksColdLoad.t.sol +++ b/packages/store/test/StoreHooksColdLoad.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreMock.sol b/packages/store/test/StoreMock.sol index 48bab109db..fc5ea9d611 100644 --- a/packages/store/test/StoreMock.sol +++ b/packages/store/test/StoreMock.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "../src/IStore.sol"; import { IStoreHook } from "../src/IStoreHook.sol"; diff --git a/packages/store/test/StoreMock.t.sol b/packages/store/test/StoreMock.t.sol index 62a1367c47..b4e7be586a 100644 --- a/packages/store/test/StoreMock.t.sol +++ b/packages/store/test/StoreMock.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/StoreSwitch.t.sol b/packages/store/test/StoreSwitch.t.sol index df7890fb9e..be16f47331 100644 --- a/packages/store/test/StoreSwitch.t.sol +++ b/packages/store/test/StoreSwitch.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/Vector2.t.sol b/packages/store/test/Vector2.t.sol index b2d9ff89c6..c07cb1f0d0 100644 --- a/packages/store/test/Vector2.t.sol +++ b/packages/store/test/Vector2.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/codegen/common.sol b/packages/store/test/codegen/common.sol index 4f6c334a8e..88e23a3c6d 100644 --- a/packages/store/test/codegen/common.sol +++ b/packages/store/test/codegen/common.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ enum ExampleEnum { diff --git a/packages/store/test/codegen/index.sol b/packages/store/test/codegen/index.sol index f6004e70d5..a37fcf0edf 100644 --- a/packages/store/test/codegen/index.sol +++ b/packages/store/test/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/test/codegen/tables/Callbacks.sol b/packages/store/test/codegen/tables/Callbacks.sol index ec96589c0c..0aff1e88d1 100644 --- a/packages/store/test/codegen/tables/Callbacks.sol +++ b/packages/store/test/codegen/tables/Callbacks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/test/codegen/tables/KeyEncoding.sol b/packages/store/test/codegen/tables/KeyEncoding.sol index 08c517307d..8b29be3932 100644 --- a/packages/store/test/codegen/tables/KeyEncoding.sol +++ b/packages/store/test/codegen/tables/KeyEncoding.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/test/codegen/tables/Mixed.sol b/packages/store/test/codegen/tables/Mixed.sol index cffb5500b3..3b8a89388e 100644 --- a/packages/store/test/codegen/tables/Mixed.sol +++ b/packages/store/test/codegen/tables/Mixed.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/test/codegen/tables/Vector2.sol b/packages/store/test/codegen/tables/Vector2.sol index a22765840f..1cdb0de49c 100644 --- a/packages/store/test/codegen/tables/Vector2.sol +++ b/packages/store/test/codegen/tables/Vector2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/store/test/constants.t.sol b/packages/store/test/constants.t.sol index 6b553a1679..9585d408ca 100644 --- a/packages/store/test/constants.t.sol +++ b/packages/store/test/constants.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console, stdJson } from "forge-std/Test.sol"; import "../src/constants.sol"; diff --git a/packages/store/test/rightMask.t.sol b/packages/store/test/rightMask.t.sol index d0c2b48ac7..476fd64204 100644 --- a/packages/store/test/rightMask.t.sol +++ b/packages/store/test/rightMask.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/setDynamicDataLengthAtIndex.sol b/packages/store/test/setDynamicDataLengthAtIndex.sol index 5ca5ce2677..3888fe364c 100644 --- a/packages/store/test/setDynamicDataLengthAtIndex.sol +++ b/packages/store/test/setDynamicDataLengthAtIndex.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { PackedCounter } from "../src/PackedCounter.sol"; import { StoreCoreInternal } from "../src/StoreCore.sol"; diff --git a/packages/store/test/tightcoder/DecodeSlice.t.sol b/packages/store/test/tightcoder/DecodeSlice.t.sol index 54526511c5..0d54b9f14c 100644 --- a/packages/store/test/tightcoder/DecodeSlice.t.sol +++ b/packages/store/test/tightcoder/DecodeSlice.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/tightcoder/EncodeArray.t.sol b/packages/store/test/tightcoder/EncodeArray.t.sol index 438dae6b24..5edfd098d5 100644 --- a/packages/store/test/tightcoder/EncodeArray.t.sol +++ b/packages/store/test/tightcoder/EncodeArray.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/tightcoder/TightCoder.t.sol b/packages/store/test/tightcoder/TightCoder.t.sol index f852d37379..c51d02d8bb 100644 --- a/packages/store/test/tightcoder/TightCoder.t.sol +++ b/packages/store/test/tightcoder/TightCoder.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/store/test/tightcoder/TightCoderAuto.t.sol b/packages/store/test/tightcoder/TightCoderAuto.t.sol index 0dba3a51f7..6571db2462 100644 --- a/packages/store/test/tightcoder/TightCoderAuto.t.sol +++ b/packages/store/test/tightcoder/TightCoderAuto.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/foundry.toml b/packages/world-modules/foundry.toml index 3d2a6b756b..f0e017f5a0 100644 --- a/packages/world-modules/foundry.toml +++ b/packages/world-modules/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/packages/world-modules/gas-report.json b/packages/world-modules/gas-report.json index 5bd322584c..a899568577 100644 --- a/packages/world-modules/gas-report.json +++ b/packages/world-modules/gas-report.json @@ -3,139 +3,139 @@ "file": "test/ERC20.t.sol", "test": "testApprove", "name": "approve", - "gasUsed": 114348 + "gasUsed": 114363 }, { "file": "test/ERC20.t.sol", "test": "testBurn", "name": "burn", - "gasUsed": 75910 + "gasUsed": 75925 }, { "file": "test/ERC20.t.sol", "test": "testMint", "name": "mint", - "gasUsed": 161749 + "gasUsed": 161764 }, { "file": "test/ERC20.t.sol", "test": "testTransfer", "name": "transfer", - "gasUsed": 92995 + "gasUsed": 93010 }, { "file": "test/ERC20.t.sol", "test": "testTransferFrom", "name": "transferFrom", - "gasUsed": 130331 + "gasUsed": 130356 }, { "file": "test/ERC721.t.sol", "test": "testApproveAllGas", "name": "setApprovalForAll", - "gasUsed": 113972 + "gasUsed": 113987 }, { "file": "test/ERC721.t.sol", "test": "testApproveGas", "name": "approve", - "gasUsed": 87981 + "gasUsed": 87996 }, { "file": "test/ERC721.t.sol", "test": "testBurnGas", "name": "burn", - "gasUsed": 101910 + "gasUsed": 101925 }, { "file": "test/ERC721.t.sol", "test": "testMintGas", "name": "mint", - "gasUsed": 169480 + "gasUsed": 169495 }, { "file": "test/ERC721.t.sol", "test": "testSafeMintToEOAGas", "name": "safeMint", - "gasUsed": 169751 + "gasUsed": 169766 }, { "file": "test/ERC721.t.sol", "test": "testSafeTransferFromToEOAGas", "name": "safeTransferFrom", - "gasUsed": 143744 + "gasUsed": 143759 }, { "file": "test/ERC721.t.sol", "test": "testTransferFromGas", "name": "transferFrom", - "gasUsed": 136901 + "gasUsed": 136916 }, { "file": "test/KeysInTableModule.t.sol", "test": "testInstallComposite", "name": "install keys in table module", - "gasUsed": 1439483 + "gasUsed": 1435619 }, { "file": "test/KeysInTableModule.t.sol", "test": "testInstallGas", "name": "install keys in table module", - "gasUsed": 1439483 + "gasUsed": 1435619 }, { "file": "test/KeysInTableModule.t.sol", "test": "testInstallGas", "name": "set a record on a table with keysInTableModule installed", - "gasUsed": 158830 + "gasUsed": 158688 }, { "file": "test/KeysInTableModule.t.sol", "test": "testInstallSingleton", "name": "install keys in table module", - "gasUsed": 1439483 + "gasUsed": 1435619 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookCompositeGas", "name": "install keys in table module", - "gasUsed": 1439483 + "gasUsed": 1435619 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookCompositeGas", "name": "change a composite record on a table with keysInTableModule installed", - "gasUsed": 22483 + "gasUsed": 22341 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookCompositeGas", "name": "delete a composite record on a table with keysInTableModule installed", - "gasUsed": 155938 + "gasUsed": 155725 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookGas", "name": "install keys in table module", - "gasUsed": 1439483 + "gasUsed": 1435619 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookGas", "name": "change a record on a table with keysInTableModule installed", - "gasUsed": 21205 + "gasUsed": 21063 }, { "file": "test/KeysInTableModule.t.sol", "test": "testSetAndDeleteRecordHookGas", "name": "delete a record on a table with keysInTableModule installed", - "gasUsed": 85160 + "gasUsed": 84947 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testGetKeysWithValueGas", "name": "install keys with value module", - "gasUsed": 688401 + "gasUsed": 685490 }, { "file": "test/KeysWithValueModule.t.sol", @@ -153,115 +153,115 @@ "file": "test/KeysWithValueModule.t.sol", "test": "testInstall", "name": "install keys with value module", - "gasUsed": 688401 + "gasUsed": 685490 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testInstall", "name": "set a record on a table with KeysWithValueModule installed", - "gasUsed": 135410 + "gasUsed": 135268 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetAndDeleteRecordHook", "name": "install keys with value module", - "gasUsed": 688401 + "gasUsed": 685490 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetAndDeleteRecordHook", "name": "change a record on a table with KeysWithValueModule installed", - "gasUsed": 103813 + "gasUsed": 103529 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetAndDeleteRecordHook", "name": "delete a record on a table with KeysWithValueModule installed", - "gasUsed": 36468 + "gasUsed": 36255 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetField", "name": "install keys with value module", - "gasUsed": 688401 + "gasUsed": 685490 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetField", "name": "set a field on a table with KeysWithValueModule installed", - "gasUsed": 146645 + "gasUsed": 146503 }, { "file": "test/KeysWithValueModule.t.sol", "test": "testSetField", "name": "change a field on a table with KeysWithValueModule installed", - "gasUsed": 111404 + "gasUsed": 111191 }, { "file": "test/query.t.sol", "test": "testCombinedHasHasValueNotQuery", "name": "CombinedHasHasValueNotQuery", - "gasUsed": 104500 + "gasUsed": 101661 }, { "file": "test/query.t.sol", "test": "testCombinedHasHasValueQuery", "name": "CombinedHasHasValueQuery", - "gasUsed": 53210 + "gasUsed": 51507 }, { "file": "test/query.t.sol", "test": "testCombinedHasNotQuery", "name": "CombinedHasNotQuery", - "gasUsed": 130734 + "gasUsed": 128249 }, { "file": "test/query.t.sol", "test": "testCombinedHasQuery", "name": "CombinedHasQuery", - "gasUsed": 84137 + "gasUsed": 82505 }, { "file": "test/query.t.sol", "test": "testCombinedHasValueNotQuery", "name": "CombinedHasValueNotQuery", - "gasUsed": 84673 + "gasUsed": 82827 }, { "file": "test/query.t.sol", "test": "testCombinedHasValueQuery", "name": "CombinedHasValueQuery", - "gasUsed": 15539 + "gasUsed": 15042 }, { "file": "test/query.t.sol", "test": "testHasQuery", "name": "HasQuery", - "gasUsed": 18802 + "gasUsed": 18589 }, { "file": "test/query.t.sol", "test": "testHasQuery1000Keys", "name": "HasQuery with 1000 keys", - "gasUsed": 5764585 + "gasUsed": 5693514 }, { "file": "test/query.t.sol", "test": "testHasQuery100Keys", "name": "HasQuery with 100 keys", - "gasUsed": 537538 + "gasUsed": 530367 }, { "file": "test/query.t.sol", "test": "testHasValueQuery", "name": "HasValueQuery", - "gasUsed": 7438 + "gasUsed": 7296 }, { "file": "test/query.t.sol", "test": "testNotValueQuery", "name": "NotValueQuery", - "gasUsed": 46806 + "gasUsed": 45742 }, { "file": "test/StandardDelegationsModule.t.sol", @@ -303,7 +303,7 @@ "file": "test/UniqueEntityModule.t.sol", "test": "testInstall", "name": "install unique entity module", - "gasUsed": 705287 + "gasUsed": 701529 }, { "file": "test/UniqueEntityModule.t.sol", @@ -315,7 +315,7 @@ "file": "test/UniqueEntityModule.t.sol", "test": "testInstallRoot", "name": "installRoot unique entity module", - "gasUsed": 674154 + "gasUsed": 670396 }, { "file": "test/UniqueEntityModule.t.sol", diff --git a/packages/world-modules/src/index.sol b/packages/world-modules/src/index.sol index 6a983a0ac7..3602fdb1bd 100644 --- a/packages/world-modules/src/index.sol +++ b/packages/world-modules/src/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/interfaces/IBaseWorld.sol b/packages/world-modules/src/interfaces/IBaseWorld.sol index c9fd4cd86e..554767a8a4 100644 --- a/packages/world-modules/src/interfaces/IBaseWorld.sol +++ b/packages/world-modules/src/interfaces/IBaseWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/interfaces/IERC20System.sol b/packages/world-modules/src/interfaces/IERC20System.sol index 9583c9c176..80ab29773d 100644 --- a/packages/world-modules/src/interfaces/IERC20System.sol +++ b/packages/world-modules/src/interfaces/IERC20System.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/interfaces/IPuppetFactorySystem.sol b/packages/world-modules/src/interfaces/IPuppetFactorySystem.sol index 6166baa98b..c64bb25ff3 100644 --- a/packages/world-modules/src/interfaces/IPuppetFactorySystem.sol +++ b/packages/world-modules/src/interfaces/IPuppetFactorySystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc20-puppet/ERC20Module.sol b/packages/world-modules/src/modules/erc20-puppet/ERC20Module.sol index d28694c9b6..3fce7e97cd 100644 --- a/packages/world-modules/src/modules/erc20-puppet/ERC20Module.sol +++ b/packages/world-modules/src/modules/erc20-puppet/ERC20Module.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceIds } from "@latticexyz/store/src/codegen/tables/ResourceIds.sol"; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/ERC20System.sol b/packages/world-modules/src/modules/erc20-puppet/ERC20System.sol index 8c5a5474e4..c28d5cedb4 100644 --- a/packages/world-modules/src/modules/erc20-puppet/ERC20System.sol +++ b/packages/world-modules/src/modules/erc20-puppet/ERC20System.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { System } from "@latticexyz/world/src/System.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/IERC20.sol b/packages/world-modules/src/modules/erc20-puppet/IERC20.sol index 2129a3dc77..f0610bb4b2 100644 --- a/packages/world-modules/src/modules/erc20-puppet/IERC20.sol +++ b/packages/world-modules/src/modules/erc20-puppet/IERC20.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC20Events } from "./IERC20Events.sol"; import { IERC20Errors } from "./IERC20Errors.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/IERC20Errors.sol b/packages/world-modules/src/modules/erc20-puppet/IERC20Errors.sol index 1126664f2f..1d55c71bf7 100644 --- a/packages/world-modules/src/modules/erc20-puppet/IERC20Errors.sol +++ b/packages/world-modules/src/modules/erc20-puppet/IERC20Errors.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @dev Standard ERC20 Errors diff --git a/packages/world-modules/src/modules/erc20-puppet/IERC20Events.sol b/packages/world-modules/src/modules/erc20-puppet/IERC20Events.sol index 9494b29fe2..f86a921f3e 100644 --- a/packages/world-modules/src/modules/erc20-puppet/IERC20Events.sol +++ b/packages/world-modules/src/modules/erc20-puppet/IERC20Events.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; interface IERC20Events { /** diff --git a/packages/world-modules/src/modules/erc20-puppet/IERC20Mintable.sol b/packages/world-modules/src/modules/erc20-puppet/IERC20Mintable.sol index 3e5ece4d28..48284996bb 100644 --- a/packages/world-modules/src/modules/erc20-puppet/IERC20Mintable.sol +++ b/packages/world-modules/src/modules/erc20-puppet/IERC20Mintable.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC20 } from "./IERC20.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/constants.sol b/packages/world-modules/src/modules/erc20-puppet/constants.sol index 5fad8e5353..4eaf32e9b9 100644 --- a/packages/world-modules/src/modules/erc20-puppet/constants.sol +++ b/packages/world-modules/src/modules/erc20-puppet/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; import { RESOURCE_SYSTEM, RESOURCE_NAMESPACE } from "@latticexyz/world/src/worldResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/registerERC20.sol b/packages/world-modules/src/modules/erc20-puppet/registerERC20.sol index fb9d780a95..1fb446ce7c 100644 --- a/packages/world-modules/src/modules/erc20-puppet/registerERC20.sol +++ b/packages/world-modules/src/modules/erc20-puppet/registerERC20.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; import { NamespaceOwner } from "@latticexyz/world/src/codegen/tables/NamespaceOwner.sol"; diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol b/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol index 8b649d6eb9..457d9167b5 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol index 8af6dec769..2caa24f3cc 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol index 3d5e4a9a5f..e1962ce7c0 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol b/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol index d8a0fdf02f..0ba7ec51b2 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc20-puppet/utils.sol b/packages/world-modules/src/modules/erc20-puppet/utils.sol index cc319de053..c014854a8f 100644 --- a/packages/world-modules/src/modules/erc20-puppet/utils.sol +++ b/packages/world-modules/src/modules/erc20-puppet/utils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/ERC721Module.sol b/packages/world-modules/src/modules/erc721-puppet/ERC721Module.sol index 5f1fc93498..78e7c5ef91 100644 --- a/packages/world-modules/src/modules/erc721-puppet/ERC721Module.sol +++ b/packages/world-modules/src/modules/erc721-puppet/ERC721Module.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceIds } from "@latticexyz/store/src/codegen/tables/ResourceIds.sol"; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/ERC721System.sol b/packages/world-modules/src/modules/erc721-puppet/ERC721System.sol index b4ce186ef8..ab79d31566 100644 --- a/packages/world-modules/src/modules/erc721-puppet/ERC721System.sol +++ b/packages/world-modules/src/modules/erc721-puppet/ERC721System.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { System } from "@latticexyz/world/src/System.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721.sol index 9d42965d5a..8d4f371675 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC721Events } from "./IERC721Events.sol"; import { IERC721Errors } from "./IERC721Errors.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721Errors.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721Errors.sol index 5e287daec0..9d5465ad26 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721Errors.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721Errors.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @dev Standard ERC721 Errors diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721Events.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721Events.sol index fde5124465..47d8cfab0b 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721Events.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721Events.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @dev Events emitted by an ERC721 compliant contract. diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721Metadata.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721Metadata.sol index fd6621cf14..9991672c81 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721Metadata.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721Metadata.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC721 } from "./IERC721.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721Mintable.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721Mintable.sol index 6a7e570e7f..770c6a9510 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721Mintable.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721Mintable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC721 } from "./IERC721.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/IERC721Receiver.sol b/packages/world-modules/src/modules/erc721-puppet/IERC721Receiver.sol index f974fab71d..136fbeb4c3 100644 --- a/packages/world-modules/src/modules/erc721-puppet/IERC721Receiver.sol +++ b/packages/world-modules/src/modules/erc721-puppet/IERC721Receiver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title ERC721 token receiver interface diff --git a/packages/world-modules/src/modules/erc721-puppet/constants.sol b/packages/world-modules/src/modules/erc721-puppet/constants.sol index 29f0223af7..8989826441 100644 --- a/packages/world-modules/src/modules/erc721-puppet/constants.sol +++ b/packages/world-modules/src/modules/erc721-puppet/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; import { RESOURCE_SYSTEM, RESOURCE_NAMESPACE } from "@latticexyz/world/src/worldResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/registerERC721.sol b/packages/world-modules/src/modules/erc721-puppet/registerERC721.sol index b02415e779..52c43d80eb 100644 --- a/packages/world-modules/src/modules/erc721-puppet/registerERC721.sol +++ b/packages/world-modules/src/modules/erc721-puppet/registerERC721.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; import { NamespaceOwner } from "@latticexyz/world/src/codegen/tables/NamespaceOwner.sol"; diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol index a7f96ef1d4..90b7212c74 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol index 6730fd023e..4c921e7dd6 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol b/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol index 49fa556e1d..e94c1269bc 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol b/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol index 2dd1521c68..3683de8e88 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol b/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol index ff748e11b7..801928168f 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol b/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol index dce8311f33..3aef2b9f31 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/erc721-puppet/utils.sol b/packages/world-modules/src/modules/erc721-puppet/utils.sol index d7cdd6156a..d489d0da9e 100644 --- a/packages/world-modules/src/modules/erc721-puppet/utils.sol +++ b/packages/world-modules/src/modules/erc721-puppet/utils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/keysintable/KeysInTableHook.sol b/packages/world-modules/src/modules/keysintable/KeysInTableHook.sol index a155be3070..00956d6be0 100644 --- a/packages/world-modules/src/modules/keysintable/KeysInTableHook.sol +++ b/packages/world-modules/src/modules/keysintable/KeysInTableHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { PackedCounter } from "@latticexyz/store/src/PackedCounter.sol"; import { FieldLayout } from "@latticexyz/store/src/FieldLayout.sol"; diff --git a/packages/world-modules/src/modules/keysintable/KeysInTableModule.sol b/packages/world-modules/src/modules/keysintable/KeysInTableModule.sol index f9184f55fb..d81268304b 100644 --- a/packages/world-modules/src/modules/keysintable/KeysInTableModule.sol +++ b/packages/world-modules/src/modules/keysintable/KeysInTableModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { BEFORE_SET_RECORD, AFTER_SPLICE_STATIC_DATA, AFTER_SPLICE_DYNAMIC_DATA, BEFORE_DELETE_RECORD } from "@latticexyz/store/src/storeHookTypes.sol"; import { ResourceIds } from "@latticexyz/store/src/codegen/tables/ResourceIds.sol"; diff --git a/packages/world-modules/src/modules/keysintable/constants.sol b/packages/world-modules/src/modules/keysintable/constants.sol index e27da01de4..545425a914 100644 --- a/packages/world-modules/src/modules/keysintable/constants.sol +++ b/packages/world-modules/src/modules/keysintable/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; // Limiting the module namespace to 8 bytes so the last 8 bytes // can be used for an identifier of the source table namespace to avoid diff --git a/packages/world-modules/src/modules/keysintable/getKeysInTable.sol b/packages/world-modules/src/modules/keysintable/getKeysInTable.sol index 100ff42977..417ff46375 100644 --- a/packages/world-modules/src/modules/keysintable/getKeysInTable.sol +++ b/packages/world-modules/src/modules/keysintable/getKeysInTable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "@latticexyz/store/src/IStore.sol"; import { Schema } from "@latticexyz/store/src/Schema.sol"; diff --git a/packages/world-modules/src/modules/keysintable/hasKey.sol b/packages/world-modules/src/modules/keysintable/hasKey.sol index 8eb32d4f48..700309a05b 100644 --- a/packages/world-modules/src/modules/keysintable/hasKey.sol +++ b/packages/world-modules/src/modules/keysintable/hasKey.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "@latticexyz/store/src/IStore.sol"; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world-modules/src/modules/keysintable/query.sol b/packages/world-modules/src/modules/keysintable/query.sol index 4299509f7b..a5c7f9a0be 100644 --- a/packages/world-modules/src/modules/keysintable/query.sol +++ b/packages/world-modules/src/modules/keysintable/query.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "@latticexyz/store/src/IStore.sol"; import { PackedCounter } from "@latticexyz/store/src/PackedCounter.sol"; diff --git a/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol b/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol index 08e0443c72..4b6df40b65 100644 --- a/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol +++ b/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol b/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol index e3b53fce16..a19a585899 100644 --- a/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol +++ b/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/keyswithvalue/KeysWithValueHook.sol b/packages/world-modules/src/modules/keyswithvalue/KeysWithValueHook.sol index d3d7a8d2c3..acf30a05e1 100644 --- a/packages/world-modules/src/modules/keyswithvalue/KeysWithValueHook.sol +++ b/packages/world-modules/src/modules/keyswithvalue/KeysWithValueHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreHook } from "@latticexyz/store/src/StoreHook.sol"; import { Bytes } from "@latticexyz/store/src/Bytes.sol"; diff --git a/packages/world-modules/src/modules/keyswithvalue/KeysWithValueModule.sol b/packages/world-modules/src/modules/keyswithvalue/KeysWithValueModule.sol index 5e9fb3db54..3ee92750a0 100644 --- a/packages/world-modules/src/modules/keyswithvalue/KeysWithValueModule.sol +++ b/packages/world-modules/src/modules/keyswithvalue/KeysWithValueModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; import { BEFORE_SET_RECORD, BEFORE_SPLICE_STATIC_DATA, AFTER_SPLICE_STATIC_DATA, BEFORE_SPLICE_DYNAMIC_DATA, AFTER_SPLICE_DYNAMIC_DATA, BEFORE_DELETE_RECORD } from "@latticexyz/store/src/storeHookTypes.sol"; import { ResourceIds } from "@latticexyz/store/src/codegen/tables/ResourceIds.sol"; diff --git a/packages/world-modules/src/modules/keyswithvalue/constants.sol b/packages/world-modules/src/modules/keyswithvalue/constants.sol index d558ea1c1d..dd7a375f7e 100644 --- a/packages/world-modules/src/modules/keyswithvalue/constants.sol +++ b/packages/world-modules/src/modules/keyswithvalue/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; // Limiting the module namespace to 7 bytes so the remaining 7 bytes // can be used for an identifier of the source table namespace to avoid diff --git a/packages/world-modules/src/modules/keyswithvalue/getKeysWithValue.sol b/packages/world-modules/src/modules/keyswithvalue/getKeysWithValue.sol index 07507b399e..d1221942e0 100644 --- a/packages/world-modules/src/modules/keyswithvalue/getKeysWithValue.sol +++ b/packages/world-modules/src/modules/keyswithvalue/getKeysWithValue.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStore } from "@latticexyz/store/src/IStore.sol"; import { PackedCounter } from "@latticexyz/store/src/PackedCounter.sol"; diff --git a/packages/world-modules/src/modules/keyswithvalue/getTargetTableId.sol b/packages/world-modules/src/modules/keyswithvalue/getTargetTableId.sol index f2d3f6b723..ff2f5ca7e4 100644 --- a/packages/world-modules/src/modules/keyswithvalue/getTargetTableId.sol +++ b/packages/world-modules/src/modules/keyswithvalue/getTargetTableId.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { TYPE_BITS } from "@latticexyz/store/src/ResourceId.sol"; import { ResourceId, WorldResourceIdInstance, NAME_BITS } from "@latticexyz/world/src/WorldResourceId.sol"; diff --git a/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol b/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol index 8db28b8d01..ccc013c0e7 100644 --- a/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol +++ b/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/puppet/Puppet.sol b/packages/world-modules/src/modules/puppet/Puppet.sol index 0b688b2ca0..2ae3f68c7d 100644 --- a/packages/world-modules/src/modules/puppet/Puppet.sol +++ b/packages/world-modules/src/modules/puppet/Puppet.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world-modules/src/modules/puppet/PuppetDelegationControl.sol b/packages/world-modules/src/modules/puppet/PuppetDelegationControl.sol index c60d5afa6d..910b53cb54 100644 --- a/packages/world-modules/src/modules/puppet/PuppetDelegationControl.sol +++ b/packages/world-modules/src/modules/puppet/PuppetDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { DelegationControl } from "@latticexyz/world/src/DelegationControl.sol"; import { ResourceId } from "@latticexyz/world/src/WorldResourceId.sol"; diff --git a/packages/world-modules/src/modules/puppet/PuppetFactorySystem.sol b/packages/world-modules/src/modules/puppet/PuppetFactorySystem.sol index 70ead9e57b..c394d7e0ac 100644 --- a/packages/world-modules/src/modules/puppet/PuppetFactorySystem.sol +++ b/packages/world-modules/src/modules/puppet/PuppetFactorySystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { System } from "@latticexyz/world/src/System.sol"; diff --git a/packages/world-modules/src/modules/puppet/PuppetMaster.sol b/packages/world-modules/src/modules/puppet/PuppetMaster.sol index 45e587bb0a..c001a24799 100644 --- a/packages/world-modules/src/modules/puppet/PuppetMaster.sol +++ b/packages/world-modules/src/modules/puppet/PuppetMaster.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { SystemRegistry } from "@latticexyz/world/src/codegen/tables/SystemRegistry.sol"; diff --git a/packages/world-modules/src/modules/puppet/PuppetModule.sol b/packages/world-modules/src/modules/puppet/PuppetModule.sol index 0c831e927a..866ebbdbbf 100644 --- a/packages/world-modules/src/modules/puppet/PuppetModule.sol +++ b/packages/world-modules/src/modules/puppet/PuppetModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; import { Module } from "@latticexyz/world/src/Module.sol"; diff --git a/packages/world-modules/src/modules/puppet/constants.sol b/packages/world-modules/src/modules/puppet/constants.sol index 53d3e4718e..56c1443e56 100644 --- a/packages/world-modules/src/modules/puppet/constants.sol +++ b/packages/world-modules/src/modules/puppet/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/puppet/createPuppet.sol b/packages/world-modules/src/modules/puppet/createPuppet.sol index b00641a5b8..f1975611ac 100644 --- a/packages/world-modules/src/modules/puppet/createPuppet.sol +++ b/packages/world-modules/src/modules/puppet/createPuppet.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; diff --git a/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol b/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol index 8e6b2dfa90..0e38880973 100644 --- a/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol +++ b/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/puppet/utils.sol b/packages/world-modules/src/modules/puppet/utils.sol index 03028b4a99..02599ade91 100644 --- a/packages/world-modules/src/modules/puppet/utils.sol +++ b/packages/world-modules/src/modules/puppet/utils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; function toTopic(address value) pure returns (bytes32) { return bytes32(uint256(uint160(value))); diff --git a/packages/world-modules/src/modules/std-delegations/CallboundDelegationControl.sol b/packages/world-modules/src/modules/std-delegations/CallboundDelegationControl.sol index e24c2940c1..1ac35b9233 100644 --- a/packages/world-modules/src/modules/std-delegations/CallboundDelegationControl.sol +++ b/packages/world-modules/src/modules/std-delegations/CallboundDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { DelegationControl } from "@latticexyz/world/src/DelegationControl.sol"; import { ResourceId } from "@latticexyz/world/src/WorldResourceId.sol"; diff --git a/packages/world-modules/src/modules/std-delegations/StandardDelegationsModule.sol b/packages/world-modules/src/modules/std-delegations/StandardDelegationsModule.sol index 6f2d04b5d9..4a6c2469cf 100644 --- a/packages/world-modules/src/modules/std-delegations/StandardDelegationsModule.sol +++ b/packages/world-modules/src/modules/std-delegations/StandardDelegationsModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; diff --git a/packages/world-modules/src/modules/std-delegations/SystemboundDelegationControl.sol b/packages/world-modules/src/modules/std-delegations/SystemboundDelegationControl.sol index ea61274a2b..654989668f 100644 --- a/packages/world-modules/src/modules/std-delegations/SystemboundDelegationControl.sol +++ b/packages/world-modules/src/modules/std-delegations/SystemboundDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { DelegationControl } from "@latticexyz/world/src/DelegationControl.sol"; import { ResourceId } from "@latticexyz/world/src/WorldResourceId.sol"; diff --git a/packages/world-modules/src/modules/std-delegations/TimeboundDelegationControl.sol b/packages/world-modules/src/modules/std-delegations/TimeboundDelegationControl.sol index 99b4009ce8..6c9a12c0bf 100644 --- a/packages/world-modules/src/modules/std-delegations/TimeboundDelegationControl.sol +++ b/packages/world-modules/src/modules/std-delegations/TimeboundDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { DelegationControl } from "@latticexyz/world/src/DelegationControl.sol"; import { ResourceId } from "@latticexyz/world/src/WorldResourceId.sol"; diff --git a/packages/world-modules/src/modules/std-delegations/constants.sol b/packages/world-modules/src/modules/std-delegations/constants.sol index 3a51247b24..83db0d85b3 100644 --- a/packages/world-modules/src/modules/std-delegations/constants.sol +++ b/packages/world-modules/src/modules/std-delegations/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { RESOURCE_SYSTEM } from "@latticexyz/world/src/worldResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol index 2801cba1a8..fff8bb127f 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol index 19d1c6f9c2..64a4621cef 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol index e75d018947..6b9c598d55 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/tokens/tables/Balances.sol b/packages/world-modules/src/modules/tokens/tables/Balances.sol index 6af8925cf8..f1de37351e 100644 --- a/packages/world-modules/src/modules/tokens/tables/Balances.sol +++ b/packages/world-modules/src/modules/tokens/tables/Balances.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/uniqueentity/UniqueEntityModule.sol b/packages/world-modules/src/modules/uniqueentity/UniqueEntityModule.sol index 71155fd1fd..efa196df37 100644 --- a/packages/world-modules/src/modules/uniqueentity/UniqueEntityModule.sol +++ b/packages/world-modules/src/modules/uniqueentity/UniqueEntityModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; import { InstalledModules } from "@latticexyz/world/src/codegen/index.sol"; diff --git a/packages/world-modules/src/modules/uniqueentity/UniqueEntitySystem.sol b/packages/world-modules/src/modules/uniqueentity/UniqueEntitySystem.sol index 478d263dea..10d942d6ff 100644 --- a/packages/world-modules/src/modules/uniqueentity/UniqueEntitySystem.sol +++ b/packages/world-modules/src/modules/uniqueentity/UniqueEntitySystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { TABLE_ID } from "./constants.sol"; diff --git a/packages/world-modules/src/modules/uniqueentity/constants.sol b/packages/world-modules/src/modules/uniqueentity/constants.sol index cd39ae65cf..7bcd34a0aa 100644 --- a/packages/world-modules/src/modules/uniqueentity/constants.sol +++ b/packages/world-modules/src/modules/uniqueentity/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/world/src/WorldResourceId.sol"; import { RESOURCE_TABLE, RESOURCE_SYSTEM, RESOURCE_NAMESPACE } from "@latticexyz/world/src/worldResourceTypes.sol"; diff --git a/packages/world-modules/src/modules/uniqueentity/getUniqueEntity.sol b/packages/world-modules/src/modules/uniqueentity/getUniqueEntity.sol index 9a383cfc2c..1f9e1fc0f1 100644 --- a/packages/world-modules/src/modules/uniqueentity/getUniqueEntity.sol +++ b/packages/world-modules/src/modules/uniqueentity/getUniqueEntity.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; diff --git a/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol b/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol index 7350853225..a6f0062200 100644 --- a/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol +++ b/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world-modules/src/modules/utils/ArrayLib.sol b/packages/world-modules/src/modules/utils/ArrayLib.sol index 8c9f8a2218..d9294c906d 100644 --- a/packages/world-modules/src/modules/utils/ArrayLib.sol +++ b/packages/world-modules/src/modules/utils/ArrayLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; library ArrayLib { function equal(bytes32[] memory arr1, bytes32[] memory arr2) internal pure returns (bool) { diff --git a/packages/world-modules/src/utils/AccessControlLib.sol b/packages/world-modules/src/utils/AccessControlLib.sol index 462d683d67..c697de9c17 100644 --- a/packages/world-modules/src/utils/AccessControlLib.sol +++ b/packages/world-modules/src/utils/AccessControlLib.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId, WorldResourceIdInstance } from "@latticexyz/world/src/WorldResourceId.sol"; import { IWorldErrors } from "@latticexyz/world/src/IWorldErrors.sol"; diff --git a/packages/world-modules/src/utils/SystemSwitch.sol b/packages/world-modules/src/utils/SystemSwitch.sol index 87906d758c..6836433d56 100644 --- a/packages/world-modules/src/utils/SystemSwitch.sol +++ b/packages/world-modules/src/utils/SystemSwitch.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Hook } from "@latticexyz/store/src/Hook.sol"; import { Bytes } from "@latticexyz/store/src/Bytes.sol"; diff --git a/packages/world-modules/test/ERC20.t.sol b/packages/world-modules/test/ERC20.t.sol index e720751ce7..da961ad793 100644 --- a/packages/world-modules/test/ERC20.t.sol +++ b/packages/world-modules/test/ERC20.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { console } from "forge-std/console.sol"; diff --git a/packages/world-modules/test/ERC721.t.sol b/packages/world-modules/test/ERC721.t.sol index ed04a2850e..9557b528b1 100644 --- a/packages/world-modules/test/ERC721.t.sol +++ b/packages/world-modules/test/ERC721.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { console } from "forge-std/console.sol"; diff --git a/packages/world-modules/test/KeysInTableModule.t.sol b/packages/world-modules/test/KeysInTableModule.t.sol index 797cb8079d..9fac5cfac3 100644 --- a/packages/world-modules/test/KeysInTableModule.t.sol +++ b/packages/world-modules/test/KeysInTableModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/KeysWithValueModule.t.sol b/packages/world-modules/test/KeysWithValueModule.t.sol index e03228af1d..ed63a92c43 100644 --- a/packages/world-modules/test/KeysWithValueModule.t.sol +++ b/packages/world-modules/test/KeysWithValueModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/PuppetModule.t.sol b/packages/world-modules/test/PuppetModule.t.sol index be555ad215..f28fe01296 100644 --- a/packages/world-modules/test/PuppetModule.t.sol +++ b/packages/world-modules/test/PuppetModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/StandardDelegationsModule.t.sol b/packages/world-modules/test/StandardDelegationsModule.t.sol index b70728e9bb..83a3d69611 100644 --- a/packages/world-modules/test/StandardDelegationsModule.t.sol +++ b/packages/world-modules/test/StandardDelegationsModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/SystemSwitch.t.sol b/packages/world-modules/test/SystemSwitch.t.sol index cbc3663ed3..3e608fd203 100644 --- a/packages/world-modules/test/SystemSwitch.t.sol +++ b/packages/world-modules/test/SystemSwitch.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/UniqueEntityModule.t.sol b/packages/world-modules/test/UniqueEntityModule.t.sol index 77dd9e2ed6..cada4ad51d 100644 --- a/packages/world-modules/test/UniqueEntityModule.t.sol +++ b/packages/world-modules/test/UniqueEntityModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world-modules/test/query.t.sol b/packages/world-modules/test/query.t.sol index 5703da7c61..4ee4ebfeaf 100644 --- a/packages/world-modules/test/query.t.sol +++ b/packages/world-modules/test/query.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/foundry.toml b/packages/world/foundry.toml index 637fc99b5f..e7fd5eb151 100644 --- a/packages/world/foundry.toml +++ b/packages/world/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = true fuzz_runs = 256 optimizer = true diff --git a/packages/world/gas-report.json b/packages/world/gas-report.json index c32775630b..117725303b 100644 --- a/packages/world/gas-report.json +++ b/packages/world/gas-report.json @@ -45,25 +45,25 @@ "file": "test/BatchCall.t.sol", "test": "testBatchCallFromReturnData", "name": "call systems with batchCallFrom", - "gasUsed": 52611 + "gasUsed": 52477 }, { "file": "test/BatchCall.t.sol", "test": "testBatchCallReturnData", "name": "call systems with batchCall", - "gasUsed": 51457 + "gasUsed": 51323 }, { "file": "test/Factories.t.sol", "test": "testCreate2Factory", "name": "deploy contract via Create2", - "gasUsed": 4797613 + "gasUsed": 4768291 }, { "file": "test/Factories.t.sol", "test": "testWorldFactoryGas", "name": "deploy world via WorldFactory", - "gasUsed": 13018827 + "gasUsed": 12961878 }, { "file": "test/World.t.sol", @@ -105,13 +105,13 @@ "file": "test/World.t.sol", "test": "testRegisterFunctionSelector", "name": "Register a function selector", - "gasUsed": 81992 + "gasUsed": 81069 }, { "file": "test/World.t.sol", "test": "testRegisterNamespace", "name": "Register a new namespace", - "gasUsed": 124482 + "gasUsed": 123559 }, { "file": "test/World.t.sol", @@ -129,13 +129,13 @@ "file": "test/World.t.sol", "test": "testRegisterTable", "name": "Register a new table in the namespace", - "gasUsed": 536849 + "gasUsed": 534893 }, { "file": "test/World.t.sol", "test": "testRenounceNamespace", "name": "Renounce namespace ownership", - "gasUsed": 40304 + "gasUsed": 39381 }, { "file": "test/World.t.sol", @@ -153,7 +153,7 @@ "file": "test/World.t.sol", "test": "testUnregisterNamespaceDelegation", "name": "unregister a namespace delegation", - "gasUsed": 31891 + "gasUsed": 30968 }, { "file": "test/World.t.sol", @@ -207,6 +207,6 @@ "file": "test/WorldResourceId.t.sol", "test": "testToString", "name": "convert resource ID to string", - "gasUsed": 3313 + "gasUsed": 2390 } ] diff --git a/packages/world/src/AccessControl.sol b/packages/world/src/AccessControl.sol index 0933bec75c..69035f16d0 100644 --- a/packages/world/src/AccessControl.sol +++ b/packages/world/src/AccessControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceIds } from "@latticexyz/store/src/codegen/tables/ResourceIds.sol"; diff --git a/packages/world/src/Create2.sol b/packages/world/src/Create2.sol index 58678995f3..a96c14c10c 100644 --- a/packages/world/src/Create2.sol +++ b/packages/world/src/Create2.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Create2 diff --git a/packages/world/src/Create2Factory.sol b/packages/world/src/Create2Factory.sol index 30c9bec11b..3ada9c2eff 100644 --- a/packages/world/src/Create2Factory.sol +++ b/packages/world/src/Create2Factory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Create2 } from "./Create2.sol"; diff --git a/packages/world/src/Delegation.sol b/packages/world/src/Delegation.sol index cf462e6b67..3f0c180a1f 100644 --- a/packages/world/src/Delegation.sol +++ b/packages/world/src/Delegation.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; import { UNLIMITED_DELEGATION } from "./constants.sol"; diff --git a/packages/world/src/DelegationControl.sol b/packages/world/src/DelegationControl.sol index e1df8110b2..7135830047 100644 --- a/packages/world/src/DelegationControl.sol +++ b/packages/world/src/DelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "./System.sol"; import { WorldContextConsumer } from "./WorldContext.sol"; diff --git a/packages/world/src/IDelegationControl.sol b/packages/world/src/IDelegationControl.sol index c2ee95abb6..0be7e5abad 100644 --- a/packages/world/src/IDelegationControl.sol +++ b/packages/world/src/IDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IWorldContextConsumer } from "./IWorldContextConsumer.sol"; import { ResourceId } from "./WorldResourceId.sol"; diff --git a/packages/world/src/IERC165.sol b/packages/world/src/IERC165.sol index 798e6278e3..f98e35ee84 100644 --- a/packages/world/src/IERC165.sol +++ b/packages/world/src/IERC165.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title IERC165 diff --git a/packages/world/src/IModule.sol b/packages/world/src/IModule.sol index 421742bdf8..71559922cf 100644 --- a/packages/world/src/IModule.sol +++ b/packages/world/src/IModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC165 } from "./IERC165.sol"; diff --git a/packages/world/src/ISystemHook.sol b/packages/world/src/ISystemHook.sol index 7c7940383a..ef0c4a8a92 100644 --- a/packages/world/src/ISystemHook.sol +++ b/packages/world/src/ISystemHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC165 } from "./IERC165.sol"; import { ResourceId } from "./WorldResourceId.sol"; diff --git a/packages/world/src/IWorldContextConsumer.sol b/packages/world/src/IWorldContextConsumer.sol index 9ea1403016..ff781d3835 100644 --- a/packages/world/src/IWorldContextConsumer.sol +++ b/packages/world/src/IWorldContextConsumer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC165 } from "./IERC165.sol"; diff --git a/packages/world/src/IWorldErrors.sol b/packages/world/src/IWorldErrors.sol index 7308db3d23..36b9014cde 100644 --- a/packages/world/src/IWorldErrors.sol +++ b/packages/world/src/IWorldErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/IWorldFactory.sol b/packages/world/src/IWorldFactory.sol index 7a35e0ee27..625c03a051 100644 --- a/packages/world/src/IWorldFactory.sol +++ b/packages/world/src/IWorldFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title World Factory Interface diff --git a/packages/world/src/IWorldKernel.sol b/packages/world/src/IWorldKernel.sol index 85f55c0cf3..8935707526 100644 --- a/packages/world/src/IWorldKernel.sol +++ b/packages/world/src/IWorldKernel.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IWorldErrors } from "./IWorldErrors.sol"; import { IModule } from "./IModule.sol"; diff --git a/packages/world/src/Module.sol b/packages/world/src/Module.sol index 8b7ac69bb6..70d687acec 100644 --- a/packages/world/src/Module.sol +++ b/packages/world/src/Module.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { WorldContextConsumer } from "./WorldContext.sol"; import { IWorldContextConsumer } from "./IWorldContextConsumer.sol"; diff --git a/packages/world/src/System.sol b/packages/world/src/System.sol index d9a7117755..be5e76cf4e 100644 --- a/packages/world/src/System.sol +++ b/packages/world/src/System.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { WorldContextConsumer } from "./WorldContext.sol"; diff --git a/packages/world/src/SystemCall.sol b/packages/world/src/SystemCall.sol index e2e0146bf9..9817a18ebd 100644 --- a/packages/world/src/SystemCall.sol +++ b/packages/world/src/SystemCall.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Hook } from "@latticexyz/store/src/Hook.sol"; diff --git a/packages/world/src/SystemHook.sol b/packages/world/src/SystemHook.sol index 50ed4c255e..81770822bc 100644 --- a/packages/world/src/SystemHook.sol +++ b/packages/world/src/SystemHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ISystemHook } from "./ISystemHook.sol"; import { IERC165 } from "./IERC165.sol"; diff --git a/packages/world/src/Utils.sol b/packages/world/src/Utils.sol index 9829fe2a8f..200b02cfef 100644 --- a/packages/world/src/Utils.sol +++ b/packages/world/src/Utils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; import { ResourceId, WorldResourceIdInstance } from "./WorldResourceId.sol"; diff --git a/packages/world/src/World.sol b/packages/world/src/World.sol index ed03445329..59abfb0b09 100644 --- a/packages/world/src/World.sol +++ b/packages/world/src/World.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreData } from "@latticexyz/store/src/StoreData.sol"; import { StoreCore } from "@latticexyz/store/src/StoreCore.sol"; diff --git a/packages/world/src/WorldContext.sol b/packages/world/src/WorldContext.sol index 3d4dc78dd1..b33bc722bc 100644 --- a/packages/world/src/WorldContext.sol +++ b/packages/world/src/WorldContext.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; import { revertWithBytes } from "./revertWithBytes.sol"; diff --git a/packages/world/src/WorldFactory.sol b/packages/world/src/WorldFactory.sol index 6a92987d06..a336ddf670 100644 --- a/packages/world/src/WorldFactory.sol +++ b/packages/world/src/WorldFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Create2 } from "./Create2.sol"; import { World } from "./World.sol"; diff --git a/packages/world/src/WorldResourceId.sol b/packages/world/src/WorldResourceId.sol index eb91ddd245..9a97d52ee3 100644 --- a/packages/world/src/WorldResourceId.sol +++ b/packages/world/src/WorldResourceId.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Bytes } from "@latticexyz/store/src/Bytes.sol"; import { ResourceId, ResourceIdInstance, TYPE_BITS } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/codegen/index.sol b/packages/world/src/codegen/index.sol index 65059df63f..6a7c9dd016 100644 --- a/packages/world/src/codegen/index.sol +++ b/packages/world/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol b/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol index 187b16baa6..48eda4c6df 100644 --- a/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol +++ b/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol b/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol index 8269e97855..26beb1349b 100644 --- a/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol +++ b/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IBaseWorld.sol b/packages/world/src/codegen/interfaces/IBaseWorld.sol index b770d4b6a1..d294f8004b 100644 --- a/packages/world/src/codegen/interfaces/IBaseWorld.sol +++ b/packages/world/src/codegen/interfaces/IBaseWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IBatchCallSystem.sol b/packages/world/src/codegen/interfaces/IBatchCallSystem.sol index 0f4e6ee19e..80ef51c0aa 100644 --- a/packages/world/src/codegen/interfaces/IBatchCallSystem.sol +++ b/packages/world/src/codegen/interfaces/IBatchCallSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/ICoreRegistrationSystem.sol b/packages/world/src/codegen/interfaces/ICoreRegistrationSystem.sol index 83ab3319ee..3e8b7fdb04 100644 --- a/packages/world/src/codegen/interfaces/ICoreRegistrationSystem.sol +++ b/packages/world/src/codegen/interfaces/ICoreRegistrationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol b/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol index 554be1d2ce..c8f34102bc 100644 --- a/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol +++ b/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/interfaces/IWorldRegistrationSystem.sol b/packages/world/src/codegen/interfaces/IWorldRegistrationSystem.sol index 3121520454..cf097e0204 100644 --- a/packages/world/src/codegen/interfaces/IWorldRegistrationSystem.sol +++ b/packages/world/src/codegen/interfaces/IWorldRegistrationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/Balances.sol b/packages/world/src/codegen/tables/Balances.sol index 071750373f..03875c009d 100644 --- a/packages/world/src/codegen/tables/Balances.sol +++ b/packages/world/src/codegen/tables/Balances.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/CoreModuleAddress.sol b/packages/world/src/codegen/tables/CoreModuleAddress.sol index 0933c2c60c..edf343bbcd 100644 --- a/packages/world/src/codegen/tables/CoreModuleAddress.sol +++ b/packages/world/src/codegen/tables/CoreModuleAddress.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/FunctionSelectors.sol b/packages/world/src/codegen/tables/FunctionSelectors.sol index cea95028bc..3362aa9091 100644 --- a/packages/world/src/codegen/tables/FunctionSelectors.sol +++ b/packages/world/src/codegen/tables/FunctionSelectors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/FunctionSignatures.sol b/packages/world/src/codegen/tables/FunctionSignatures.sol index 9f4e5b4345..92e35dc7b1 100644 --- a/packages/world/src/codegen/tables/FunctionSignatures.sol +++ b/packages/world/src/codegen/tables/FunctionSignatures.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/InstalledModules.sol b/packages/world/src/codegen/tables/InstalledModules.sol index abf0df5adc..97f990842d 100644 --- a/packages/world/src/codegen/tables/InstalledModules.sol +++ b/packages/world/src/codegen/tables/InstalledModules.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/NamespaceDelegationControl.sol b/packages/world/src/codegen/tables/NamespaceDelegationControl.sol index 4e92b94f08..c2d05f088a 100644 --- a/packages/world/src/codegen/tables/NamespaceDelegationControl.sol +++ b/packages/world/src/codegen/tables/NamespaceDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/NamespaceOwner.sol b/packages/world/src/codegen/tables/NamespaceOwner.sol index 2c29dff8f8..f9cf0ebc8a 100644 --- a/packages/world/src/codegen/tables/NamespaceOwner.sol +++ b/packages/world/src/codegen/tables/NamespaceOwner.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/ResourceAccess.sol b/packages/world/src/codegen/tables/ResourceAccess.sol index 755fd757d6..93e043b592 100644 --- a/packages/world/src/codegen/tables/ResourceAccess.sol +++ b/packages/world/src/codegen/tables/ResourceAccess.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/SystemHooks.sol b/packages/world/src/codegen/tables/SystemHooks.sol index fa13166bf8..2d2c8b87a8 100644 --- a/packages/world/src/codegen/tables/SystemHooks.sol +++ b/packages/world/src/codegen/tables/SystemHooks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/SystemRegistry.sol b/packages/world/src/codegen/tables/SystemRegistry.sol index af6e6707c2..eba5240b1b 100644 --- a/packages/world/src/codegen/tables/SystemRegistry.sol +++ b/packages/world/src/codegen/tables/SystemRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/Systems.sol b/packages/world/src/codegen/tables/Systems.sol index bc10a9a446..0f669b4dc1 100644 --- a/packages/world/src/codegen/tables/Systems.sol +++ b/packages/world/src/codegen/tables/Systems.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/codegen/tables/UserDelegationControl.sol b/packages/world/src/codegen/tables/UserDelegationControl.sol index 4c2de3caa6..0d76ee5730 100644 --- a/packages/world/src/codegen/tables/UserDelegationControl.sol +++ b/packages/world/src/codegen/tables/UserDelegationControl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/constants.sol b/packages/world/src/constants.sol index 35cdcabeb2..f2694854ab 100644 --- a/packages/world/src/constants.sol +++ b/packages/world/src/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/modules/core/CoreModule.sol b/packages/world/src/modules/core/CoreModule.sol index aaeb5b283d..8f4d81ba48 100644 --- a/packages/world/src/modules/core/CoreModule.sol +++ b/packages/world/src/modules/core/CoreModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "../../System.sol"; import { WorldContextProviderLib } from "../../WorldContext.sol"; diff --git a/packages/world/src/modules/core/CoreRegistrationSystem.sol b/packages/world/src/modules/core/CoreRegistrationSystem.sol index a53a697dbe..52e149d7b9 100644 --- a/packages/world/src/modules/core/CoreRegistrationSystem.sol +++ b/packages/world/src/modules/core/CoreRegistrationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IWorldErrors } from "../../IWorldErrors.sol"; diff --git a/packages/world/src/modules/core/LimitedCallContext.sol b/packages/world/src/modules/core/LimitedCallContext.sol index 30603834df..6fa218d3e6 100644 --- a/packages/world/src/modules/core/LimitedCallContext.sol +++ b/packages/world/src/modules/core/LimitedCallContext.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title LimitedCallContext diff --git a/packages/world/src/modules/core/constants.sol b/packages/world/src/modules/core/constants.sol index dde37af4cd..26a92e10f8 100644 --- a/packages/world/src/modules/core/constants.sol +++ b/packages/world/src/modules/core/constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/modules/core/implementations/AccessManagementSystem.sol b/packages/world/src/modules/core/implementations/AccessManagementSystem.sol index 41e58ad6af..fb5fad7a03 100644 --- a/packages/world/src/modules/core/implementations/AccessManagementSystem.sol +++ b/packages/world/src/modules/core/implementations/AccessManagementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "../../../System.sol"; import { AccessControl } from "../../../AccessControl.sol"; diff --git a/packages/world/src/modules/core/implementations/BalanceTransferSystem.sol b/packages/world/src/modules/core/implementations/BalanceTransferSystem.sol index cb703f8bdc..82c8a17ba1 100644 --- a/packages/world/src/modules/core/implementations/BalanceTransferSystem.sol +++ b/packages/world/src/modules/core/implementations/BalanceTransferSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/modules/core/implementations/ModuleInstallationSystem.sol b/packages/world/src/modules/core/implementations/ModuleInstallationSystem.sol index 665fe3b1ca..1b03dc8abd 100644 --- a/packages/world/src/modules/core/implementations/ModuleInstallationSystem.sol +++ b/packages/world/src/modules/core/implementations/ModuleInstallationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IModule } from "../../../IModule.sol"; import { System } from "../../../System.sol"; diff --git a/packages/world/src/modules/core/implementations/StoreRegistrationSystem.sol b/packages/world/src/modules/core/implementations/StoreRegistrationSystem.sol index 40aadb7ea2..3ee901b683 100644 --- a/packages/world/src/modules/core/implementations/StoreRegistrationSystem.sol +++ b/packages/world/src/modules/core/implementations/StoreRegistrationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IStoreHook } from "@latticexyz/store/src/IStoreHook.sol"; import { StoreCore } from "@latticexyz/store/src/StoreCore.sol"; diff --git a/packages/world/src/modules/core/implementations/WorldRegistrationSystem.sol b/packages/world/src/modules/core/implementations/WorldRegistrationSystem.sol index 4f7dad0e56..2af38fe3a2 100644 --- a/packages/world/src/modules/core/implementations/WorldRegistrationSystem.sol +++ b/packages/world/src/modules/core/implementations/WorldRegistrationSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Hook, HookLib } from "@latticexyz/store/src/Hook.sol"; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/modules/core/types.sol b/packages/world/src/modules/core/types.sol index 4b1692bb0f..a8bf5b91e8 100644 --- a/packages/world/src/modules/core/types.sol +++ b/packages/world/src/modules/core/types.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { ResourceId } from "@latticexyz/store/src/ResourceId.sol"; diff --git a/packages/world/src/requireInterface.sol b/packages/world/src/requireInterface.sol index 88c152e431..5486a5918a 100644 --- a/packages/world/src/requireInterface.sol +++ b/packages/world/src/requireInterface.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { IERC165 } from "./IERC165.sol"; import { ERC165Checker } from "./ERC165Checker.sol"; diff --git a/packages/world/src/revertWithBytes.sol b/packages/world/src/revertWithBytes.sol index 72fba86835..044e5f73f1 100644 --- a/packages/world/src/revertWithBytes.sol +++ b/packages/world/src/revertWithBytes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title Raw Bytes Reverter diff --git a/packages/world/src/systemHookTypes.sol b/packages/world/src/systemHookTypes.sol index c0d7e819c9..b1567d296f 100644 --- a/packages/world/src/systemHookTypes.sol +++ b/packages/world/src/systemHookTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @title System Hook Types diff --git a/packages/world/src/test/tables/AddressArray.sol b/packages/world/src/test/tables/AddressArray.sol index b9e4230eef..1ab5c9c3fb 100644 --- a/packages/world/src/test/tables/AddressArray.sol +++ b/packages/world/src/test/tables/AddressArray.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/test/tables/Bool.sol b/packages/world/src/test/tables/Bool.sol index e110386002..7b69c6377e 100644 --- a/packages/world/src/test/tables/Bool.sol +++ b/packages/world/src/test/tables/Bool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/test/tables/TwoFields.sol b/packages/world/src/test/tables/TwoFields.sol index 8685868093..15d5559187 100644 --- a/packages/world/src/test/tables/TwoFields.sol +++ b/packages/world/src/test/tables/TwoFields.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/src/validateNamespace.sol b/packages/world/src/validateNamespace.sol index bb6f4627e0..78d9a67ac5 100644 --- a/packages/world/src/validateNamespace.sol +++ b/packages/world/src/validateNamespace.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Bytes } from "@latticexyz/store/src/Bytes.sol"; diff --git a/packages/world/src/version.sol b/packages/world/src/version.sol index 38589f3e03..1b316042fe 100644 --- a/packages/world/src/version.sol +++ b/packages/world/src/version.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /** * @dev World Version Constant diff --git a/packages/world/src/worldResourceTypes.sol b/packages/world/src/worldResourceTypes.sol index 510cf6b3ea..34e3538485 100644 --- a/packages/world/src/worldResourceTypes.sol +++ b/packages/world/src/worldResourceTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { RESOURCE_TABLE, RESOURCE_OFFCHAIN_TABLE } from "@latticexyz/store/src/storeResourceTypes.sol"; diff --git a/packages/world/test/AccessControl.t.sol b/packages/world/test/AccessControl.t.sol index ad6e555818..ecd654df08 100644 --- a/packages/world/test/AccessControl.t.sol +++ b/packages/world/test/AccessControl.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/CoreModule.t.sol b/packages/world/test/CoreModule.t.sol index be2aa929fc..f9460e3298 100644 --- a/packages/world/test/CoreModule.t.sol +++ b/packages/world/test/CoreModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; diff --git a/packages/world/test/DelegationControlMock.sol b/packages/world/test/DelegationControlMock.sol index 152e26d25c..e2a6e61960 100644 --- a/packages/world/test/DelegationControlMock.sol +++ b/packages/world/test/DelegationControlMock.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { DelegationControl } from "../src/DelegationControl.sol"; import { ResourceId, WorldResourceIdInstance } from "../src/WorldResourceId.sol"; diff --git a/packages/world/test/Factories.t.sol b/packages/world/test/Factories.t.sol index 650b60a597..742d594fb1 100644 --- a/packages/world/test/Factories.t.sol +++ b/packages/world/test/Factories.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; diff --git a/packages/world/test/MudTest.t.sol b/packages/world/test/MudTest.t.sol index 5960e4ac68..f66025ba8e 100644 --- a/packages/world/test/MudTest.t.sol +++ b/packages/world/test/MudTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; diff --git a/packages/world/test/RevertWithBytes.t.sol b/packages/world/test/RevertWithBytes.t.sol index 72464e96de..95131e1a87 100644 --- a/packages/world/test/RevertWithBytes.t.sol +++ b/packages/world/test/RevertWithBytes.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { revertWithBytes } from "../src/revertWithBytes.sol"; diff --git a/packages/world/test/System.t.sol b/packages/world/test/System.t.sol index 96e0faa298..306912f97d 100644 --- a/packages/world/test/System.t.sol +++ b/packages/world/test/System.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { World } from "../src/World.sol"; diff --git a/packages/world/test/SystemHook.t.sol b/packages/world/test/SystemHook.t.sol index 80495ef2c6..124351ef36 100644 --- a/packages/world/test/SystemHook.t.sol +++ b/packages/world/test/SystemHook.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/Utils.t.sol b/packages/world/test/Utils.t.sol index 6800510f6c..8c46453df5 100644 --- a/packages/world/test/Utils.t.sol +++ b/packages/world/test/Utils.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; diff --git a/packages/world/test/World.t.sol b/packages/world/test/World.t.sol index da973705b4..cae2f6bf6a 100644 --- a/packages/world/test/World.t.sol +++ b/packages/world/test/World.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/WorldBalance.t.sol b/packages/world/test/WorldBalance.t.sol index 30f494fe87..1d983d4e02 100644 --- a/packages/world/test/WorldBalance.t.sol +++ b/packages/world/test/WorldBalance.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/WorldContext.t.sol b/packages/world/test/WorldContext.t.sol index e0f74baa83..d3d53b6880 100644 --- a/packages/world/test/WorldContext.t.sol +++ b/packages/world/test/WorldContext.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/WorldDynamicUpdate.t.sol b/packages/world/test/WorldDynamicUpdate.t.sol index 69e14e0c4f..522f6df9e3 100644 --- a/packages/world/test/WorldDynamicUpdate.t.sol +++ b/packages/world/test/WorldDynamicUpdate.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/WorldResourceId.t.sol b/packages/world/test/WorldResourceId.t.sol index e4dfdf3e9e..10622d0428 100644 --- a/packages/world/test/WorldResourceId.t.sol +++ b/packages/world/test/WorldResourceId.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Test, console } from "forge-std/Test.sol"; import { GasReporter } from "@latticexyz/gas-report/src/GasReporter.sol"; diff --git a/packages/world/test/codegen/index.sol b/packages/world/test/codegen/index.sol index 1c657e060b..7b8ee7d49d 100644 --- a/packages/world/test/codegen/index.sol +++ b/packages/world/test/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/test/codegen/tables/AddressArray.sol b/packages/world/test/codegen/tables/AddressArray.sol index 08aad51d8a..c457299b22 100644 --- a/packages/world/test/codegen/tables/AddressArray.sol +++ b/packages/world/test/codegen/tables/AddressArray.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/test/codegen/tables/Bool.sol b/packages/world/test/codegen/tables/Bool.sol index 83d6134ec1..b7dc02e451 100644 --- a/packages/world/test/codegen/tables/Bool.sol +++ b/packages/world/test/codegen/tables/Bool.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/test/codegen/tables/TwoFields.sol b/packages/world/test/codegen/tables/TwoFields.sol index 420573e30e..48ad23b5d6 100644 --- a/packages/world/test/codegen/tables/TwoFields.sol +++ b/packages/world/test/codegen/tables/TwoFields.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/packages/world/test/createCoreModule.sol b/packages/world/test/createCoreModule.sol index ffbb174849..ed8949758c 100644 --- a/packages/world/test/createCoreModule.sol +++ b/packages/world/test/createCoreModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { AccessManagementSystem } from "../src/modules/core/implementations/AccessManagementSystem.sol"; import { BalanceTransferSystem } from "../src/modules/core/implementations/BalanceTransferSystem.sol"; diff --git a/templates/phaser/packages/contracts/foundry.toml b/templates/phaser/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/templates/phaser/packages/contracts/foundry.toml +++ b/templates/phaser/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/templates/phaser/packages/contracts/script/PostDeploy.s.sol b/templates/phaser/packages/contracts/script/PostDeploy.s.sol index 1205560c79..115adfec53 100644 --- a/templates/phaser/packages/contracts/script/PostDeploy.s.sol +++ b/templates/phaser/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/templates/phaser/packages/contracts/src/codegen/index.sol b/templates/phaser/packages/contracts/src/codegen/index.sol index 3ac2e18d1d..6364dfc884 100644 --- a/templates/phaser/packages/contracts/src/codegen/index.sol +++ b/templates/phaser/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol b/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol index 28ed85f3bb..c1a74c6761 100644 --- a/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/phaser/packages/contracts/src/codegen/world/IIncrementSystem.sol b/templates/phaser/packages/contracts/src/codegen/world/IIncrementSystem.sol index ba9898df5c..14ceb85613 100644 --- a/templates/phaser/packages/contracts/src/codegen/world/IIncrementSystem.sol +++ b/templates/phaser/packages/contracts/src/codegen/world/IIncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/phaser/packages/contracts/src/codegen/world/IWorld.sol b/templates/phaser/packages/contracts/src/codegen/world/IWorld.sol index 9798d299cd..938ff3572a 100644 --- a/templates/phaser/packages/contracts/src/codegen/world/IWorld.sol +++ b/templates/phaser/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/phaser/packages/contracts/src/systems/IncrementSystem.sol b/templates/phaser/packages/contracts/src/systems/IncrementSystem.sol index fe8de1fd37..579ba41ea2 100644 --- a/templates/phaser/packages/contracts/src/systems/IncrementSystem.sol +++ b/templates/phaser/packages/contracts/src/systems/IncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Counter } from "../codegen/index.sol"; diff --git a/templates/phaser/packages/contracts/test/CounterTest.t.sol b/templates/phaser/packages/contracts/test/CounterTest.t.sol index 69794ce2a9..2c76d7b300 100644 --- a/templates/phaser/packages/contracts/test/CounterTest.t.sol +++ b/templates/phaser/packages/contracts/test/CounterTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/templates/react-ecs/packages/contracts/foundry.toml b/templates/react-ecs/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/templates/react-ecs/packages/contracts/foundry.toml +++ b/templates/react-ecs/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/templates/react-ecs/packages/contracts/script/PostDeploy.s.sol b/templates/react-ecs/packages/contracts/script/PostDeploy.s.sol index 1205560c79..115adfec53 100644 --- a/templates/react-ecs/packages/contracts/script/PostDeploy.s.sol +++ b/templates/react-ecs/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/templates/react-ecs/packages/contracts/src/codegen/index.sol b/templates/react-ecs/packages/contracts/src/codegen/index.sol index 3ac2e18d1d..6364dfc884 100644 --- a/templates/react-ecs/packages/contracts/src/codegen/index.sol +++ b/templates/react-ecs/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol b/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol index 28ed85f3bb..c1a74c6761 100644 --- a/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react-ecs/packages/contracts/src/codegen/world/IIncrementSystem.sol b/templates/react-ecs/packages/contracts/src/codegen/world/IIncrementSystem.sol index ba9898df5c..14ceb85613 100644 --- a/templates/react-ecs/packages/contracts/src/codegen/world/IIncrementSystem.sol +++ b/templates/react-ecs/packages/contracts/src/codegen/world/IIncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol b/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol index 9798d299cd..938ff3572a 100644 --- a/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol +++ b/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react-ecs/packages/contracts/src/systems/IncrementSystem.sol b/templates/react-ecs/packages/contracts/src/systems/IncrementSystem.sol index fe8de1fd37..579ba41ea2 100644 --- a/templates/react-ecs/packages/contracts/src/systems/IncrementSystem.sol +++ b/templates/react-ecs/packages/contracts/src/systems/IncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Counter } from "../codegen/index.sol"; diff --git a/templates/react-ecs/packages/contracts/test/CounterTest.t.sol b/templates/react-ecs/packages/contracts/test/CounterTest.t.sol index 69794ce2a9..2c76d7b300 100644 --- a/templates/react-ecs/packages/contracts/test/CounterTest.t.sol +++ b/templates/react-ecs/packages/contracts/test/CounterTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/templates/react/packages/contracts/foundry.toml b/templates/react/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/templates/react/packages/contracts/foundry.toml +++ b/templates/react/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/templates/react/packages/contracts/script/PostDeploy.s.sol b/templates/react/packages/contracts/script/PostDeploy.s.sol index 5366063ee1..48b7a0cd40 100644 --- a/templates/react/packages/contracts/script/PostDeploy.s.sol +++ b/templates/react/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/templates/react/packages/contracts/src/codegen/index.sol b/templates/react/packages/contracts/src/codegen/index.sol index 03c4eefba0..541ff3b552 100644 --- a/templates/react/packages/contracts/src/codegen/index.sol +++ b/templates/react/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react/packages/contracts/src/codegen/tables/Tasks.sol b/templates/react/packages/contracts/src/codegen/tables/Tasks.sol index ffe177c0dc..974c66f008 100644 --- a/templates/react/packages/contracts/src/codegen/tables/Tasks.sol +++ b/templates/react/packages/contracts/src/codegen/tables/Tasks.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react/packages/contracts/src/codegen/world/ITasksSystem.sol b/templates/react/packages/contracts/src/codegen/world/ITasksSystem.sol index e9bfddc79e..81127a78eb 100644 --- a/templates/react/packages/contracts/src/codegen/world/ITasksSystem.sol +++ b/templates/react/packages/contracts/src/codegen/world/ITasksSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react/packages/contracts/src/codegen/world/IWorld.sol b/templates/react/packages/contracts/src/codegen/world/IWorld.sol index e19da887b0..d3a48bdf1e 100644 --- a/templates/react/packages/contracts/src/codegen/world/IWorld.sol +++ b/templates/react/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/react/packages/contracts/src/systems/TasksSystem.sol b/templates/react/packages/contracts/src/systems/TasksSystem.sol index 8638912044..9574e202c9 100644 --- a/templates/react/packages/contracts/src/systems/TasksSystem.sol +++ b/templates/react/packages/contracts/src/systems/TasksSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Tasks, TasksData } from "../codegen/index.sol"; diff --git a/templates/react/packages/contracts/test/TasksTest.t.sol b/templates/react/packages/contracts/test/TasksTest.t.sol index 11f34e62c3..fb37696955 100644 --- a/templates/react/packages/contracts/test/TasksTest.t.sol +++ b/templates/react/packages/contracts/test/TasksTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; diff --git a/templates/threejs/packages/contracts/foundry.toml b/templates/threejs/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/templates/threejs/packages/contracts/foundry.toml +++ b/templates/threejs/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/templates/threejs/packages/contracts/src/codegen/index.sol b/templates/threejs/packages/contracts/src/codegen/index.sol index 6c8169da7d..02e9432e11 100644 --- a/templates/threejs/packages/contracts/src/codegen/index.sol +++ b/templates/threejs/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/threejs/packages/contracts/src/codegen/tables/Position.sol b/templates/threejs/packages/contracts/src/codegen/tables/Position.sol index 156e794bcf..791fe7fa37 100644 --- a/templates/threejs/packages/contracts/src/codegen/tables/Position.sol +++ b/templates/threejs/packages/contracts/src/codegen/tables/Position.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/threejs/packages/contracts/src/codegen/world/IMoveSystem.sol b/templates/threejs/packages/contracts/src/codegen/world/IMoveSystem.sol index 75d29baa23..2a41302f7e 100644 --- a/templates/threejs/packages/contracts/src/codegen/world/IMoveSystem.sol +++ b/templates/threejs/packages/contracts/src/codegen/world/IMoveSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/threejs/packages/contracts/src/codegen/world/IWorld.sol b/templates/threejs/packages/contracts/src/codegen/world/IWorld.sol index e8cf1df769..b9395b8273 100644 --- a/templates/threejs/packages/contracts/src/codegen/world/IWorld.sol +++ b/templates/threejs/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/threejs/packages/contracts/src/systems/MoveSystem.sol b/templates/threejs/packages/contracts/src/systems/MoveSystem.sol index 7c9e959438..f0dfc53e68 100644 --- a/templates/threejs/packages/contracts/src/systems/MoveSystem.sol +++ b/templates/threejs/packages/contracts/src/systems/MoveSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Position, PositionData } from "../codegen/index.sol"; diff --git a/templates/vanilla/packages/contracts/foundry.toml b/templates/vanilla/packages/contracts/foundry.toml index d03fad8043..15424eb6d8 100644 --- a/templates/vanilla/packages/contracts/foundry.toml +++ b/templates/vanilla/packages/contracts/foundry.toml @@ -1,5 +1,5 @@ [profile.default] -solc = "0.8.21" +solc = "0.8.24" ffi = false fuzz_runs = 256 optimizer = true diff --git a/templates/vanilla/packages/contracts/script/PostDeploy.s.sol b/templates/vanilla/packages/contracts/script/PostDeploy.s.sol index 1205560c79..115adfec53 100644 --- a/templates/vanilla/packages/contracts/script/PostDeploy.s.sol +++ b/templates/vanilla/packages/contracts/script/PostDeploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { Script } from "forge-std/Script.sol"; import { console } from "forge-std/console.sol"; diff --git a/templates/vanilla/packages/contracts/src/codegen/index.sol b/templates/vanilla/packages/contracts/src/codegen/index.sol index 3ac2e18d1d..6364dfc884 100644 --- a/templates/vanilla/packages/contracts/src/codegen/index.sol +++ b/templates/vanilla/packages/contracts/src/codegen/index.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol b/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol index 28ed85f3bb..c1a74c6761 100644 --- a/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/vanilla/packages/contracts/src/codegen/world/IIncrementSystem.sol b/templates/vanilla/packages/contracts/src/codegen/world/IIncrementSystem.sol index ba9898df5c..14ceb85613 100644 --- a/templates/vanilla/packages/contracts/src/codegen/world/IIncrementSystem.sol +++ b/templates/vanilla/packages/contracts/src/codegen/world/IIncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol b/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol index 9798d299cd..938ff3572a 100644 --- a/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol +++ b/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; /* Autogenerated file. Do not edit manually. */ diff --git a/templates/vanilla/packages/contracts/src/systems/IncrementSystem.sol b/templates/vanilla/packages/contracts/src/systems/IncrementSystem.sol index fe8de1fd37..579ba41ea2 100644 --- a/templates/vanilla/packages/contracts/src/systems/IncrementSystem.sol +++ b/templates/vanilla/packages/contracts/src/systems/IncrementSystem.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import { System } from "@latticexyz/world/src/System.sol"; import { Counter } from "../codegen/index.sol"; diff --git a/templates/vanilla/packages/contracts/test/CounterTest.t.sol b/templates/vanilla/packages/contracts/test/CounterTest.t.sol index 69794ce2a9..2c76d7b300 100644 --- a/templates/vanilla/packages/contracts/test/CounterTest.t.sol +++ b/templates/vanilla/packages/contracts/test/CounterTest.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; +pragma solidity >=0.8.24; import "forge-std/Test.sol"; import { MudTest } from "@latticexyz/world/test/MudTest.t.sol";