Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed May 16, 2024
1 parent be9073e commit 1f94d39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l1-contracts-foundry/script/DeployL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {FeeParams, PubdataPricingMode} from "contracts/state-transition/chain-de
import {L1SharedBridge} from "contracts/bridge/L1SharedBridge.sol";
import {L1ERC20Bridge} from "contracts/bridge/L1ERC20Bridge.sol";
import {DiamondProxy} from "contracts/state-transition/chain-deps/DiamondProxy.sol";
import {ZksyncContract, AddressHasNoCode} from "./ZkSyncScriptErrors.sol";
import {AddressHasNoCode} from "./ZkSyncScriptErrors.sol";

contract DeployL1Script is Script {
using stdToml for string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ contract MailboxFacet is ZkSyncHyperchainBase, IMailbox {
request.refundRecipient = AddressAliasHelper.actualRefundRecipient(request.refundRecipient, request.sender);
// Change the sender address if it is a smart contract to prevent address collision between L1 and L2.
// Please note, currently zkSync address derivation is different from Ethereum one, but it may be changed in the future.
// solhint-disable avoid-tx-origin
// slither-disable-next-line tx-origin
// solhint-disable-next-line avoid-tx-origin
if (request.sender != tx.origin) {
request.sender = AddressAliasHelper.applyL1ToL2Alias(request.sender);
}
Expand Down
4 changes: 2 additions & 2 deletions system-contracts/SystemContractsHashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"contractName": "AccountCodeStorage",
"bytecodePath": "artifacts-zk/contracts-preprocessed/AccountCodeStorage.sol/AccountCodeStorage.json",
"sourceCodePath": "contracts-preprocessed/AccountCodeStorage.sol",
"bytecodeHash": "0x0100007591a9baad5e26108d7eb18f63754ddde0113e51e9945e8f454e3d73f7",
"sourceCodeHash": "0xfbf66e830201c4b7fda14f0ddf28a53beb7fbb48a8406392bcfd0ef7ea9265c8"
"bytecodeHash": "0x0100005d7066ebd1aa4478ba09a9a3de71b9adf9a3cd57184463aa16dc235a8c",
"sourceCodeHash": "0x69d2533e5481ff13e65f4442e650f4b90c46a48ac643cac9798bbbf421194353"
},
{
"contractName": "BootloaderUtilities",
Expand Down

0 comments on commit 1f94d39

Please sign in to comment.