Skip to content

Commit

Permalink
Fix/tests proxy impl slot (#25)
Browse files Browse the repository at this point in the history
* deploy: MultirecipientFeeCollect redeploy on all networks - disallow zero amount

* fix: Tests - Proxy Admin slot

* Update test/foundry/BaseSetup.t.sol

Co-authored-by: Alan <[email protected]>

* fix: formatting

---------

Co-authored-by: Alan <[email protected]>
  • Loading branch information
vicnaum and donosonaumczuk authored Apr 18, 2023
1 parent 2eb2f09 commit 8dde22f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/foundry/BaseSetup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ contract BaseSetup is Test, ForkManagement {
}

function loadBaseAddresses(string memory json, string memory targetEnv) internal virtual {
bytes32 PROXY_IMPLEMENTATION_STORAGE_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
bytes32 PROXY_IMPLEMENTATION_STORAGE_SLOT = bytes32(
uint256(keccak256('eip1967.proxy.implementation')) - 1
);

console.log('targetEnv:', targetEnv);

Expand Down

0 comments on commit 8dde22f

Please sign in to comment.