Commit e2b3293a authored by elenadimitrova's avatar elenadimitrova Committed by Kelvin Fichter

Fix linting issues

parent 75d52adf
...@@ -25,10 +25,12 @@ contract L1ChugSplashProxy { ...@@ -25,10 +25,12 @@ contract L1ChugSplashProxy {
bytes13 constant internal DEPLOY_CODE_PREFIX = 0x600D380380600D6000396000f3; bytes13 constant internal DEPLOY_CODE_PREFIX = 0x600D380380600D6000396000f3;
// bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1) // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
bytes32 constant internal IMPLEMENTATION_KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; bytes32 constant internal IMPLEMENTATION_KEY =
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
// bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1) // bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1)
bytes32 constant internal OWNER_KEY = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; bytes32 constant internal OWNER_KEY =
0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
/*************** /***************
......
...@@ -5,8 +5,8 @@ pragma solidity >0.5.0 <0.8.0; ...@@ -5,8 +5,8 @@ pragma solidity >0.5.0 <0.8.0;
contract TestERC20 { contract TestERC20 {
using SafeMath for uint; using SafeMath for uint;
string public constant name = 'Test'; string public constant name = "Test";
string public constant symbol = 'TST'; string public constant symbol = "TST";
uint8 public constant decimals = 18; uint8 public constant decimals = 18;
uint256 public totalSupply; uint256 public totalSupply;
mapping(address => uint) public balanceOf; mapping(address => uint) public balanceOf;
...@@ -55,14 +55,14 @@ contract TestERC20 { ...@@ -55,14 +55,14 @@ contract TestERC20 {
library SafeMath { library SafeMath {
function add(uint256 x, uint256 y) internal pure returns (uint256 z) { function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x, 'ds-math-add-overflow'); require((z = x + y) >= x, "ds-math-add-overflow");
} }
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) { function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x - y) <= x, 'ds-math-sub-underflow'); require((z = x - y) <= x, "ds-math-sub-underflow");
} }
function mul(uint256 x, uint256 y) internal pure returns (uint256 z) { function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow'); require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment