diff --git a/foundry.toml b/foundry.toml index f63f64a..2762038 100644 --- a/foundry.toml +++ b/foundry.toml @@ -13,7 +13,7 @@ optimizer = true optimizer_runs = 10_000 out = "out" script = "script" -solc = "0.8.17" +solc = "0.8.24" src = "src" test = "test" diff --git a/scripts/Deploy.s.sol b/scripts/Deploy.s.sol new file mode 100644 index 0000000..c7293c9 --- /dev/null +++ b/scripts/Deploy.s.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.24; + +import {Script, console2} from "forge-std/Script.sol"; + +contract MyPluginScript is Script { + function setUp() public {} + + function run() public { + vm.broadcast(); + } +} diff --git a/src/MyPlugin.sol b/src/MyPlugin.sol index 07f4682..e101ceb 100644 --- a/src/MyPlugin.sol +++ b/src/MyPlugin.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {PluginUUPSUpgradeable, IDAO} from "@aragon/osx/core/plugin/PluginUUPSUpgradeable.sol"; diff --git a/src/MyPluginSetup.sol b/src/MyPluginSetup.sol index 41d0a9f..f96516d 100644 --- a/src/MyPluginSetup.sol +++ b/src/MyPluginSetup.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {PermissionLib} from "@aragon/osx/core/permission/PermissionLib.sol"; import {PluginSetup, IPluginSetup} from "@aragon/osx/framework/plugin/setup/PluginSetup.sol"; diff --git a/test/MyPlugin.t.sol b/test/MyPlugin.t.sol index 0d223f7..d77cc71 100644 --- a/test/MyPlugin.t.sol +++ b/test/MyPlugin.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {DAO} from "@aragon/osx/core/dao/DAO.sol"; diff --git a/test/MyPluginE2E.t.sol b/test/MyPluginE2E.t.sol index e214af3..4a23910 100644 --- a/test/MyPluginE2E.t.sol +++ b/test/MyPluginE2E.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {DAO} from "@aragon/osx/core/dao/DAO.sol"; import {DaoUnauthorized} from "@aragon/osx/core/utils/auth.sol"; diff --git a/test/base/AragonE2E.sol b/test/base/AragonE2E.sol index 065a480..07b9e01 100644 --- a/test/base/AragonE2E.sol +++ b/test/base/AragonE2E.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {Vm} from "forge-std/Test.sol"; import {console2} from "forge-std/console2.sol"; diff --git a/test/base/AragonTest.sol b/test/base/AragonTest.sol index 10911ad..efafce5 100644 --- a/test/base/AragonTest.sol +++ b/test/base/AragonTest.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.17; +pragma solidity 0.8.24; import {IPluginSetup, PluginSetup} from "@aragon/osx/framework/plugin/setup/PluginSetup.sol"; import {DAO} from "@aragon/osx/core/dao/DAO.sol";