Skip to content

Commit

Permalink
Report for issue #194 updated by chrisdior4
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Oct 24, 2022
1 parent 826e9b7 commit b244908
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions data/chrisdior4-Q.md
Expand Up @@ -35,3 +35,22 @@
}
2.https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographGenesis.sol#L146


# Code Style: constants should be named in all caps

### Here are some examples that the code style does not follow the best practices:

#### File: HolographBridge.sol

1.bytes32 constant _factorySlot = 0xa49f20855ba576e09d13c8041c8039fa655356ea27f6c40f1ec46a4301cd5b23;
1.https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographBridge.sol#L126

#### Consider changing the name to: FACTORY_SLOT



#### File: HolographTreasury.sol
2.bytes32 constant _holographSlot = 0xb4107f746e9496e8452accc7de63d1c5e14c19f510932daa04077cd49e8bd77a;
2.https://github.com/code-423n4/2022-10-holograph/blob/f8c2eae866280a1acfdc8a8352401ed031be1373/contracts/HolographTreasury.sol#L133

#### Consider changing the name to: HOLOGRAPH_SLOT

0 comments on commit b244908

Please sign in to comment.