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

Fix typo #4831

Open
wants to merge 1 commit into
base: main
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,096 changes: 1,048 additions & 1,048 deletions dist/ethers.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.min.js

Large diffs are not rendered by default.

2,097 changes: 1,049 additions & 1,048 deletions dist/ethers.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs.wrm/basics/abi.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ keccak256 of the normalized event signature. This allows a specific
event to be efficiently filtered, finding the matching events in a block.

Each additional **indexed** parameter (i.e. parameters marked with
``indexed`` in the signautre) are placed in the topics as well, but may be
``indexed`` in the signature) are placed in the topics as well, but may be
filtered to find matching values.

All non-indexed parameters are encoded and placed in the **data**. This
Expand Down
2 changes: 1 addition & 1 deletion lib.commonjs/contract/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type { ContractTransactionResponse } from "./wrappers.js";
*
* [[DeferredTopicFilter]] - A filter created by calling a [[ContractEvent]]
* with parameters, which will create a filter for a specific event
* signautre and dereference each parameter when calling the listener.
* signature and dereference each parameter when calling the listener.
*/
export type ContractEventName = string | ContractEvent | TopicFilter | DeferredTopicFilter;
/**
Expand Down
2 changes: 1 addition & 1 deletion lib.commonjs/crypto/signature.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type SignatureLike = Signature | string | {
export declare class Signature {
#private;
/**
* The ``r`` value for a signautre.
* The ``r`` value for a signature.
*
* This represents the ``x`` coordinate of a "reference" or
* challenge point, from which the ``y`` can be computed.
Expand Down
2 changes: 1 addition & 1 deletion lib.commonjs/crypto/signature.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.commonjs/crypto/signing-key.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.esm/contract/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type { ContractTransactionResponse } from "./wrappers.js";
*
* [[DeferredTopicFilter]] - A filter created by calling a [[ContractEvent]]
* with parameters, which will create a filter for a specific event
* signautre and dereference each parameter when calling the listener.
* signature and dereference each parameter when calling the listener.
*/
export type ContractEventName = string | ContractEvent | TopicFilter | DeferredTopicFilter;
/**
Expand Down
2 changes: 1 addition & 1 deletion lib.esm/crypto/signature.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type SignatureLike = Signature | string | {
export declare class Signature {
#private;
/**
* The ``r`` value for a signautre.
* The ``r`` value for a signature.
*
* This represents the ``x`` coordinate of a "reference" or
* challenge point, from which the ``y`` can be computed.
Expand Down
2 changes: 1 addition & 1 deletion lib.esm/crypto/signature.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.esm/crypto/signing-key.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src.ts/contract/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import type { ContractTransactionResponse } from "./wrappers.js";
*
* [[DeferredTopicFilter]] - A filter created by calling a [[ContractEvent]]
* with parameters, which will create a filter for a specific event
* signautre and dereference each parameter when calling the listener.
* signature and dereference each parameter when calling the listener.
*/
export type ContractEventName = string | ContractEvent | TopicFilter | DeferredTopicFilter;

Expand Down
2 changes: 1 addition & 1 deletion src.ts/crypto/signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Signature {
#networkV: null | bigint;

/**
* The ``r`` value for a signautre.
* The ``r`` value for a signature.
*
* This represents the ``x`` coordinate of a "reference" or
* challenge point, from which the ``y`` can be computed.
Expand Down
2 changes: 1 addition & 1 deletion src.ts/crypto/signing-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class SigningKey {
secpSig = secpSig.addRecoveryBit(sig.yParity);

const pubKey = secpSig.recoverPublicKey(getBytesCopy(digest));
assertArgument(pubKey != null, "invalid signautre for digest", "signature", signature);
assertArgument(pubKey != null, "invalid signature for digest", "signature", signature);

return "0x" + pubKey.toHex(false);
}
Expand Down