Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Resolution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ export default class Resolution {
* @param ticker - currency ticker (USDT, FTM, etc.)
* @param chain - chain version, usually means blockchain ( ERC20, BEP2, OMNI, etc. )
* @throws [[ResolutionError]] if address is not found
* @returns A promise that resolves in an adress
* @returns A promise that resolves in an address
*/
async multiChainAddr(
domain: string,
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/ens/newResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default [
stateMutability: 'nonpayable',
type: 'function',
},
// This funciton is defined, however there is other version with 2 arguments
// This function is defined, however there is other version with 2 arguments
// that we prefer to use all the time to be consistent
// {
// constant: true,
Expand Down
6 changes: 3 additions & 3 deletions src/tests/Resolution.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe('Resolution', () => {
},
ens: {url: l1Url},
});
// We need to manually restore the function as jest.restoreAllMocks and simillar works only with spyOn
// We need to manually restore the function as jest.restoreAllMocks and similar works only with spyOn
Uns.autoNetwork = UnsGetNetworkOriginal;
Ens.autoNetwork = EnsGetNetworkOriginal;
expect(
Expand Down Expand Up @@ -317,7 +317,7 @@ describe('Resolution', () => {
).toBe(1);
});

it('should fail because provided url failled net_version call', async () => {
it('should fail because provided url failed net_version call', async () => {
const mockedProvider = new FetchProvider(
NamingServiceName.UNS,
'https://google.com',
Expand Down Expand Up @@ -578,7 +578,7 @@ describe('Resolution', () => {

describe('.ipfsHash', () => {
skipItInLive(
'should prioritize new keys over depricated ones',
'should prioritize new keys over deprecated ones',
async () => {
const spies = mockAsyncMethods(uns, {
get: {
Expand Down