Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rrecuero committed Oct 11, 2024
1 parent b817e46 commit 6731a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion script/actions/deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ contract DeployerScript is Create2Helper, DeployerHelper {
(engenGovernance) = deployGovernance();

// deploy & upgrade KintoID implementation (passing the factory)
bytes memory bytecode = abi.encodePacked(type(KintoID).creationCode, abi.encode(address(factory), address(faucet)));
bytes memory bytecode =
abi.encodePacked(type(KintoID).creationCode, abi.encode(address(factory), address(faucet)));
kintoIDImpl = KintoID(_deployImplementation("KintoID", type(KintoID).creationCode, bytecode, true));
privateKey > 0 ? vm.broadcast(privateKey) : vm.broadcast();
kintoID.upgradeTo(address(kintoIDImpl));
Expand Down
4 changes: 2 additions & 2 deletions test/unit/KintoWalletFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ contract KintoWalletFactoryTest is SharedSetup {

vm.deal(_user, 1 ether);
vm.prank(_user);
uint balance = address(_user2).balance;
uint256 balance = address(_user2).balance;
_walletFactory.sendMoneyToAccount{value: 1e18}(address(_user2));
assertEq(address(_user2).balance, balance + 1e18);
}
Expand All @@ -398,7 +398,7 @@ contract KintoWalletFactoryTest is SharedSetup {
approveKYC(_kycProvider, _user, _userPk);
revokeKYC(_kycProvider, _owner, _ownerPk);
vm.prank(_owner);
uint balance = address(_user).balance;
uint256 balance = address(_user).balance;
_walletFactory.sendMoneyToAccount{value: 1e18}(address(_user));
assertEq(address(_user).balance, balance + 1e18);
}
Expand Down

0 comments on commit 6731a24

Please sign in to comment.