Skip to content

Commit

Permalink
Fix typos using typos-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed Dec 17, 2024
1 parent 9ce5f52 commit 9a90ff4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
To execute an explicit call to `Ethers.send/2` or `Ethers.call/2` is required
- Events no longer accept `address` overrides. Overriding now happens at `Ethers.get_logs/2`
- Function `Ethers.get_logs/3` is now changed to `Ethers.get_logs/2`
- Generated contract modules and EventFilter modules `default_address/0` function is now renamed to `__default_adress__/0` to prevent collision
- Generated contract modules and EventFilter modules `default_address/0` function is now renamed to `__default_address__/0` to prevent collision
- Removal of `Ethers.RPC` module
- Remove `Ethers.Types.dynamically_sized_types/0` function
- `Ethers.call/2` response is not always a list
Expand Down Expand Up @@ -267,7 +267,7 @@

- Improved generative documentation for modules
- Improved gas estimation API
- Add gas limit to sending trasnactions
- Add gas limit to sending transactions
- Remove redundant gas estimation function

### Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions lib/ethers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ defmodule Ethers do
Other than what stated below, any other option given in the overrides keyword list will be merged
with the map that the RPC client will receive.
- `:to`: Indicates recepient address. (Contract address in this case)
- `:to`: Indicates recipient address. (Contract address in this case)
- `:block`: The block number or block alias. Defaults to `latest`
- `:rpc_client`: The RPC Client to use. It should implement ethereum jsonRPC API. default: Ethereumex.HttpClient
- `:rpc_opts`: Extra options to pass to rpc_client. (Like timeout, Server URL, etc.)
Expand Down Expand Up @@ -417,7 +417,7 @@ defmodule Ethers do
## Overrides and Options
- `:to`: Indicates recepient address. (Contract address in this case)
- `:to`: Indicates recipient address. (Contract address in this case)
- `:rpc_client`: The RPC Client to use. It should implement ethereum jsonRPC API. default: Ethereumex.HttpClient
- `:rpc_opts`: Extra options to pass to rpc_client. (Like timeout, Server URL, etc.)
Expand Down
2 changes: 1 addition & 1 deletion lib/ethers/contract.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Ethers.Contract do
```
## Valid `use` options
- `abi`: Used to pass in the decoded (or even encoded json binay) ABI of contract.
- `abi`: Used to pass in the decoded (or even encoded json binary) ABI of contract.
- `abi_file`: Used to pass in the file path to the json ABI of contract.
- `default_address`: Default contract deployed address to include in the parameters. (Optional)
- `skip_docs`: Determines if Ethers should skip generating docs and typespecs. (Default: false)
Expand Down
2 changes: 1 addition & 1 deletion lib/ethers/transaction/eip1559.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Ethers.Transaction.Eip1559 do
def type_envelope(_transaction), do: @for.type_envelope()

def to_rlp_list(tx, _mode) do
# Eip1559 does not descriminate in RLP encoding between payload and hash
# Eip1559 does not discriminate in RLP encoding between payload and hash
[
tx.chain_id,
tx.nonce,
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ defmodule Ethers.MixProject do
~r/^Ethers\.Signer\.[A-Za-z0-9.]+$/,
~r/^Ethers\.Signer$/
],
"Buitin Contract Errors": [
"Builtin Contract Errors": [
~r/^Ethers\.Contracts\..*$/
]
],
Expand Down

0 comments on commit 9a90ff4

Please sign in to comment.