Skip to content

Commit

Permalink
Apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
matjazv committed Dec 10, 2024
1 parent 99c6f70 commit 81f650a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions script/upgraded/deployPriceFeedWithoutRoundsV2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ echo "Setting environment variables..."
source .env
echo "Done."

echo "Creating $NETWORK directory inside deployment directory..."
echo "Creating $NETWORK directory inside deployment/artifacts/contracts directory..."
if [ -z "$NETWORK" ]
then
echo "NETWORK variable inside .env file is not set. Please set NETWORK environment variable."
exit 1
else
if [ -d "deployment/$NETWORK" ]
if [ -d "deployment/artifacts/contracts/$NETWORK" ]
then
echo "Directory deployment/$NETWORK already exists."
echo "Directory deployment/artifacts/contracts/$NETWORK already exists."
else
mkdir deployment/$NETWORK
mkdir deployment/artifacts/contracts/$NETWORK
fi
fi
echo "Done."
Expand Down
4 changes: 2 additions & 2 deletions test/L2/L2PriceFeedWithoutRounds.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ contract L2PriceFeedWithoutRoundsTest is Test {
L2PriceFeedWithoutRounds public l2PriceFeed;
L2PriceFeedWithoutRounds public l2PriceFeedImplementation;

address public priceFeedAdapter = 0x1038999DCf0A302Cc8Eed72fAeCbf0eEBfC476b0;
address public newPriceFeedAdapter = 0x2038999Dcf0A302cc8eeD72fAECbF0EebFc476b1;
address public priceFeedAdapter = vm.addr(uint256(bytes32("priceFeedAdapter")));
address public newPriceFeedAdapter = vm.addr(uint256(bytes32("newPriceFeedAdapter")));

function setUp() public {
// deploy L2PriceFeedWithoutRoundsFactory Implementation contract
Expand Down

0 comments on commit 81f650a

Please sign in to comment.