Skip to content

Commit

Permalink
fix(docs): fix link to development guide (#40)
Browse files Browse the repository at this point in the history
* fix(docs): fix link to development guide

* fix: minor mispellings
  • Loading branch information
mikeshultz authored Oct 13, 2023
1 parent feb3cff commit 8b313b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Some examples of these types of applications:

## Documentation

Read the [development userguide](https://docs.apeworx.io/silverback/stable/development) to learn more how to develop an application.
Read the [development userguide](https://docs.apeworx.io/silverback/stable/userguides/development.html) to learn more how to develop an application.

## Dependencies

Expand Down
6 changes: 3 additions & 3 deletions silverback/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ def __init__(self, settings: Optional[Settings] = None):
network_str = f'\n NETWORK="{provider.network.ecosystem.name}:{provider.network.name}"'
signer_str = f"\n SIGNER={repr(self.signer)}"
start_block_str = f"\n START_BLOCK={self.start_block}" if self.start_block else ""
new_bock_timeout_str = (
new_block_timeout_str = (
f"\n NEW_BLOCK_TIMEOUT={self.new_block_timeout}" if self.new_block_timeout else ""
)
logger.info(
f"Loaded Silverback App:{network_str}"
f"{signer_str}{start_block_str}{new_bock_timeout_str}"
f"{signer_str}{start_block_str}{new_block_timeout_str}"
)

def on_startup(self) -> Callable:
Expand Down Expand Up @@ -132,7 +132,7 @@ def on_(
Args:
container: (Union[BlockContainer, ContractEvent]): The event source to watch.
new_block_timeout: (Optional[int]): Override for block timeoui that is acceptable.
new_block_timeout: (Optional[int]): Override for block timeout that is acceptable.
Defaults to whatever the app's settings are for default polling timeout are.
start_block (Optional[int]): block number to start processing events from.
Defaults to whatever the latest block is.
Expand Down

0 comments on commit 8b313b1

Please sign in to comment.