Skip to content

Commit

Permalink
fixed: some spell
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayerleier committed Dec 6, 2024
1 parent ebb3561 commit 9f824f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions script/Deploy_All.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract DeployAll is Script {
address constant COLLATERAL_ADDRESS = 0xeb762Ed11a09E4A394C9c8101f8aeeaf5382ED74; // eth sepolia
uint256 constant MAX_WITHDRAW_AMOUNT = 1e9; // 10 iBTC
uint256 constant MIN_WITHDRAW_AMOUNT = 1e4;
address constant GLOABAL_RECEIVER = 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC; //NOTE third address
address constant GLOBAL_RECEIVER = 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC; //NOTE third address

// Replace with the correct checksummed addresses
address constant VAULT_FACTORY = 0x407A039D94948484D356eFB765b3c74382A050B4; // Replace with deployed VaultFactory address
Expand All @@ -52,7 +52,7 @@ contract DeployAll is Script {
owner: owner,
collateral: collateral,
delay: 0, //NOTE we can set a delay
globalReceiver: GLOABAL_RECEIVER,
globalReceiver: GLOBAL_RECEIVER,
networkReceivers: networkReceiver,
operatorNetworkReceivers: operatorNetworkReceiver
});
Expand Down
6 changes: 3 additions & 3 deletions test/iBTC_NetworkMiddleware.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ contract iBTC_NetworkMiddlewareTest is Test {

address constant NETWORK = 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266; // first address network should be a multisig contract
address constant OWNER = 0x70997970C51812dc3A010C7d01b50e0d17dc79C8; // second address
address constant GLOABAL_RECEIVER = 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC; //NOTE third address
address constant GLOBAL_RECEIVER = 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC; //NOTE third address

uint48 constant EPOCH_DURATION = 7 days;
// uint48 constant NETWORK_EPOCH = 5 days;
Expand Down Expand Up @@ -120,7 +120,7 @@ contract iBTC_NetworkMiddlewareTest is Test {
owner: OWNER,
collateral: COLLATTERAL,
delay: 0, //NOTE we can set a delay
globalReceiver: GLOABAL_RECEIVER,
globalReceiver: GLOBAL_RECEIVER,
networkReceivers: networkReceiver,
operatorNetworkReceivers: operatorNetworkReceiver
});
Expand Down Expand Up @@ -352,7 +352,7 @@ contract iBTC_NetworkMiddlewareTest is Test {
assertEq(
iBTC_networkMiddleware.getOperatorStake(alice, epoch),
iBTC_delegator.stake(NETWORK.subnetwork(0), alice),
"stake should same"
"stake should be the same"
);

uint256 cachedStake = iBTC_networkMiddleware.calcAndCacheStakes(epoch);
Expand Down

0 comments on commit 9f824f2

Please sign in to comment.