From d72476aaf01deaf9dd806e934050839f283af701 Mon Sep 17 00:00:00 2001 From: Felipe Novaes F Rocha Date: Mon, 27 Nov 2023 18:05:09 -0300 Subject: [PATCH] :sparkles: remapping for allo --- lib/allo-v2 | 1 + pkg/contracts/src/Counter.sol | 2 ++ remappings.txt | 1 + 3 files changed, 4 insertions(+) create mode 160000 lib/allo-v2 diff --git a/lib/allo-v2 b/lib/allo-v2 new file mode 160000 index 000000000..6fc1b507c --- /dev/null +++ b/lib/allo-v2 @@ -0,0 +1 @@ +Subproject commit 6fc1b507c27d5643c7fe8417b17921e581204dc7 diff --git a/pkg/contracts/src/Counter.sol b/pkg/contracts/src/Counter.sol index 8ccf33f88..93b9be6c3 100644 --- a/pkg/contracts/src/Counter.sol +++ b/pkg/contracts/src/Counter.sol @@ -1,6 +1,8 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; +import "allo-v2/core/Allo.sol"; + contract Counter { uint256 public number; diff --git a/remappings.txt b/remappings.txt index 845bd0af0..dd60740fd 100644 --- a/remappings.txt +++ b/remappings.txt @@ -1,2 +1,3 @@ ds-test/=lib/forge-std/lib/ds-test/src/ forge-std/=lib/forge-std/src/ +allo-v2/=lib/allo-v2/contracts/ \ No newline at end of file