From 8501dd66058c35481fed0830680a7bd08d8f7d5f Mon Sep 17 00:00:00 2001 From: Daejun Park Date: Tue, 24 Sep 2024 23:53:13 -0700 Subject: [PATCH] chore: fix compiler warning --- test/KeyRegistry/KeyRegistry.symbolic.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/KeyRegistry/KeyRegistry.symbolic.t.sol b/test/KeyRegistry/KeyRegistry.symbolic.t.sol index 61e4e92..e014853 100644 --- a/test/KeyRegistry/KeyRegistry.symbolic.t.sol +++ b/test/KeyRegistry/KeyRegistry.symbolic.t.sol @@ -179,7 +179,7 @@ contract KeyRegistrySymTest is SymTest, Test { } } - function slice(bytes calldata data, uint start, uint end) external returns (bytes memory) { + function slice(bytes calldata data, uint start, uint end) external pure returns (bytes memory) { return data[start:end]; } }