From f8a1791320675e85fb5aa4ac43bb35cf1fcff230 Mon Sep 17 00:00:00 2001 From: Justin Brower Date: Tue, 12 Nov 2024 11:18:57 -0500 Subject: [PATCH] fix compile issues --- src/utils/ZeusScript.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/utils/ZeusScript.sol b/src/utils/ZeusScript.sol index 1416fc7..7793dcf 100644 --- a/src/utils/ZeusScript.sol +++ b/src/utils/ZeusScript.sol @@ -28,17 +28,18 @@ abstract contract ZeusScript is Script { */ // NOTE: you do not need to use these for contract addresses, which are tracked and injected automatically. // NOTE: do not use `.update()` during a vm.broadcast() segment. - function update(string memory key, string memory value) { + function update(string memory key, string memory value) public { emit ZeusEnvironmentUpdate(key, EnvironmentVariableType.STRING, abi.encode(value)); } - function update(string memory key, address memory value) { + function update(string memory key, address value) public { emit ZeusEnvironmentUpdate(key, EnvironmentVariableType.ADDRESS, abi.encode(value)); } - function update(string memory key, uint256 memory value) { + function update(string memory key, uint256 value) public { emit ZeusEnvironmentUpdate(key, EnvironmentVariableType.INT_256, abi.encode(value)); } + /** * */