Skip to content

Commit

Permalink
fix: typos (#923)
Browse files Browse the repository at this point in the history
* fix: typo
  • Loading branch information
Thabokani authored Jan 18, 2024
1 parent c9d9a9a commit 10bc918
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import "./IInbox.sol";
import "./IOutbox.sol";

/// @notice L1 utility contract to assist with L1 <=> L2 interactions
/// @dev this is an abstract contract instead of library so the functions can be easily overriden when testing
/// @dev this is an abstract contract instead of library so the functions can be easily overridden when testing
abstract contract L1ArbitrumMessenger {
event TxToL2(address indexed _from, address indexed _to, uint256 indexed _seqNum, bytes _data);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pragma solidity ^0.7.6;
import "arbos-precompiles/arbos/builtin/ArbSys.sol";

/// @notice L2 utility contract to assist with L1 <=> L2 interactions
/// @dev this is an abstract contract instead of library so the functions can be easily overriden when testing
/// @dev this is an abstract contract instead of library so the functions can be easily overridden when testing
abstract contract L2ArbitrumMessenger {
address internal constant ARB_SYS_ADDRESS = address(100);

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/staking/Staking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ abstract contract Staking is StakingV4Storage, GraphUpgradeable, IStakingBase, M
}

/**
* @dev Send rewards to the appropiate destination.
* @dev Send rewards to the appropriate destination.
* @param _graphToken Graph token
* @param _amount Number of rewards tokens
* @param _beneficiary Address of the beneficiary of rewards
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/test/unit/gns.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ describe('L1GNS', () => {
it('should transfer signal from one curator to another', async function () {
await transferSignal(subgraph.id, other, another, otherNSignal)
})
it('should fail when transfering to zero address', async function () {
it('should fail when transferring to zero address', async function () {
const tx = gns
.connect(other)
.transferSignal(subgraph.id, ethers.constants.AddressZero, otherNSignal)
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/test/unit/staking/allocation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ describe('Staking:Allocation', () => {
// Update rebate parameters, α = 0, λ = 1
await staking.connect(governor).setRebateParameters(0, 1, 1, 1)

// Succesive collections
// Successive collections
// Indexer gets 100% of the query fees
// Parameters changed so now they are under-rebated and should get more than the available amount but we cap it
// Distributed amount will never catch up due to the initial collection which was less than 100%
Expand Down

0 comments on commit 10bc918

Please sign in to comment.