Skip to content

Commit

Permalink
refactor: removed default deployment block
Browse files Browse the repository at this point in the history
This value depends on the network, so we shouldn't add a default that
won't work most of the time.
  • Loading branch information
gligneul committed Jan 18, 2024
1 parent e4d5c49 commit 7228f40
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ The deployment block for the input box contract.
The node will begin to read blockchain events from this block.

* **Type:** `int64`
* **Default:** `"1"`

### `CARTESI_CONTRACTS_AUTHORITY_ADDRESS`
Address of the Authority contract.
Expand Down
1 change: 0 additions & 1 deletion internal/config/generate/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ description = """
Address of the InputBox contract."""

[blockchain.CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER]
default = "1"
go-type = "int64"
description = """
The deployment block for the input box contract.
Expand Down
2 changes: 1 addition & 1 deletion internal/config/get.go

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

0 comments on commit 7228f40

Please sign in to comment.