Minor formatting. `True` -> `true`, `False` -> `false`

This commit is contained in:
Hsiao-Wei Wang 2021-06-19 02:13:02 +08:00
parent 2445fe5a76
commit 7a9ae57335
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E
1 changed files with 6 additions and 6 deletions

View File

@ -30,8 +30,8 @@ The parameter that is required for executing `on_tick(store, time)`.
```yaml ```yaml
{ {
tick: int -- to execute `on_tick(store, time)`. tick: int -- to execute `on_tick(store, time)`.
valid: bool -- optional, default to `True`. valid: bool -- optional, default to `true`.
If it's `False`, this execution step is expected to be invalid. If it's `false`, this execution step is expected to be invalid.
} }
``` ```
@ -45,8 +45,8 @@ The parameter that is required for executing `on_attestation(store, attestation)
{ {
attestation: string -- the name of the `attestation_<32-byte-root>.ssz_snappy` file. attestation: string -- the name of the `attestation_<32-byte-root>.ssz_snappy` file.
To execute `on_attestation(store, attestation)` with the given attestation. To execute `on_attestation(store, attestation)` with the given attestation.
valid: bool -- optional, default to `True`. valid: bool -- optional, default to `true`.
If it's `False`, this execution step is expected to be invalid. If it's `false`, this execution step is expected to be invalid.
} }
``` ```
The file is located in the same folder (see below). The file is located in the same folder (see below).
@ -61,8 +61,8 @@ The parameter that is required for executing `on_block(store, block)`.
{ {
block: string -- the name of the `block_<32-byte-root>.ssz_snappy` file. block: string -- the name of the `block_<32-byte-root>.ssz_snappy` file.
To execute `on_block(store, block)` with the given attestation. To execute `on_block(store, block)` with the given attestation.
valid: bool -- optional, default to `True`. valid: bool -- optional, default to `true`.
If it's `False`, this execution step is expected to be invalid. If it's `false`, this execution step is expected to be invalid.
} }
``` ```
The file is located in the same folder (see below). The file is located in the same folder (see below).