From 42bbc5f98fa91bb37289c99f7e123e50f85034bd Mon Sep 17 00:00:00 2001 From: D <51912515+adaki2004@users.noreply.github.com> Date: Thu, 3 Aug 2023 09:27:50 +0200 Subject: [PATCH] feat(protocol): Fix failing unit test (#14358) Co-authored-by: David --- packages/protocol/test/ERC20Vault.t.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/protocol/test/ERC20Vault.t.sol b/packages/protocol/test/ERC20Vault.t.sol index ef4ed942c7..e5e438a4a7 100644 --- a/packages/protocol/test/ERC20Vault.t.sol +++ b/packages/protocol/test/ERC20Vault.t.sol @@ -387,11 +387,13 @@ contract TestERC20Vault is Test { // Upgrade the implementation of that contract // so that it supports now the 'helloWorld' call UpdatedBridgedERC20 newBridgedContract = new UpdatedBridgedERC20(); + vm.stopPrank(); vm.prank(Amelia, Amelia); TransparentUpgradeableProxy(payable(bridgedAddressAfter)).upgradeTo( address(newBridgedContract) ); + vm.prank(Alice, Alice); try UpdatedBridgedERC20(bridgedAddressAfter).helloWorld() { //It should support now this function call assertEq(true, true);