Skip to content

Commit

Permalink
fix all signature
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent committed Nov 9, 2024
1 parent 80dd879 commit bda9014
Show file tree
Hide file tree
Showing 17 changed files with 2,112 additions and 2,111 deletions.
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/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

0 comments on commit bda9014

Please sign in to comment.