Skip to content

Commit

Permalink
fix: rm duplicate setting of CHAIN_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraRingas committed Nov 19, 2024
1 parent 3f16769 commit 24f22c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/SuperVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ contract SuperVault is BaseStrategy, ISuperVault {
superRegistry = ISuperRegistry(superRegistry_);
superformFactory = ISuperformFactory(superRegistry.getAddress(keccak256("SUPERFORM_FACTORY")));

CHAIN_ID = uint64(block.chainid);

if (CHAIN_ID > type(uint64).max) {
revert BLOCK_CHAIN_ID_OUT_OF_BOUNDS();
}
Expand Down

0 comments on commit 24f22c8

Please sign in to comment.