Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #3541

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void AddCandidateAsOption(string publicKey)
State.VoteContract.Value =
Context.GetContractAddressByName(SmartContractConstants.VoteContractSystemName);

// Add this candidate as an option for the the Voting Item.
// Add this candidate as an option for the Voting Item.
State.VoteContract.AddOption.Send(new AddOptionInput
{
VotingItemId = State.MinerElectionVotingItemId.Value,
Expand Down
2 changes: 1 addition & 1 deletion docs/protocol/blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ message BlockBody {

```

A block is the aggregation of a BlockHeader and a BlockBody. The header contains metadata about the block itself. It also contains the the merkle roots of both the transactions and the world state. The block body is used to contain the transaction ids that where included in this block by the miner.
A block is the aggregation of a BlockHeader and a BlockBody. The header contains metadata about the block itself. It also contains the merkle roots of both the transactions and the world state. The block body is used to contain the transaction ids that where included in this block by the miner.

#### Block hash

Expand Down
12 changes: 6 additions & 6 deletions docs/resources/cli/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ In this example, you can read the [protobuf file](https://github.com/AElfProject

```bash
$ aelf-command send
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -485,7 +485,7 @@ aelf-command send AElf.ContractNames.Token Transfer '{"symbol": "ELF", "to": "C9

```bash
$ aelf-command call
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … D3vSjRYL8MpeRpvUDy85ktXijnBe2tHn8NTACsggUVteQCNGP
✔ Enter the password you typed when creating a wallet … ********
✔ Enter contract name (System contracts only) or the address of contract … AElf.ContractNames.Token
Expand Down Expand Up @@ -547,7 +547,7 @@ $ aelf-command get-chain-status

```bash
$ aelf-command get-tx-result
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid transaction id in hex format … 7b620a49ee9666c0c381fdb33f94bd31e1b5eb0fdffa081463c3954e9f734a02
✔ Succeed!
{ TransactionId:
Expand Down Expand Up @@ -577,7 +577,7 @@ $ aelf-command get-tx-result

```bash
$ aelf-command get-blk-height
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
> 7902091
```

Expand All @@ -587,7 +587,7 @@ You can pass a block height or a block hash to this sub-command.

```bash
$ aelf-command get-blk-info
✔ Enter the the URI of an AElf node: http://13.231.179.27:8000
✔ Enter the URI of an AElf node: http://13.231.179.27:8000
✔ Enter a valid height or block hash: 123
✔ Include transactions whether or not: no / yes
{ BlockHash:
Expand Down Expand Up @@ -622,7 +622,7 @@ aelf-command get-blk-info ca61c7c8f5fc1bc8af0536bc9b51c61a94f39641a93a748e72802b

```bash
$ aelf-command console
✔ Enter the the URI of an AElf node … http://13.231.179.27:8000
✔ Enter the URI of an AElf node … http://13.231.179.27:8000
✔ Enter a valid wallet address, if you don't have, create one by aelf-command create … 2Ue31YTuB5Szy7cnr3SCEGU2gtGi5uMQBYarYUR5oGin1sys6H
✔ Enter the password you typed when creating a wallet … ********
✔ Succeed!
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/smart-contract-apis/consensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ message MinerInRound {
- **term number**: the current term number.
- **confirmed irreversible block height**: irreversible block height.
- **confirmed irreversible block round number**: irreversible block round number.
- **is miner list just changed**: is miner list different from the the miner list in the previous round.
- **is miner list just changed**: is miner list different from the miner list in the previous round.
- **round id for validation**: round id, calculated by summing block producers' expecting time (second).

**MinerInRound**:
Expand Down Expand Up @@ -170,7 +170,7 @@ Gets the current round's information.
- **term number**: the current term number.
- **confirmed irreversible block height**: irreversible block height.
- **confirmed irreversible block round number**: irreversible block round number.
- **is miner list just changed**: is miner list different from the the miner list in the previous round.
- **is miner list just changed**: is miner list different from the miner list in the previous round.
- **round id for validation**: round id, calculated by summing block producers' expecting time(second).

**MinerInRound**:
Expand Down Expand Up @@ -209,7 +209,7 @@ rpc GetPreviousRoundInformation (google.protobuf.Empty) returns (Round) {}
- **term number**: the current term number.
- **confirmed irreversible block height**: irreversible block height.
- **confirmed irreversible block round number**: irreversible block round number.
- **is miner list just changed**: is miner list different from the the miner list in the previous round.
- **is miner list just changed**: is miner list different from the miner list in the previous round.
- **round id for validation**: round id, calculated by summing block producers' expecting time(second).

**MinerInRound**:
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/__save.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Setup

To easily follow this tutorial you will need to open the the **AElf Boilerplate** root folder in Visual Studio Code and also open the **Integrated Terminal**.
To easily follow this tutorial you will need to open the **AElf Boilerplate** root folder in Visual Studio Code and also open the **Integrated Terminal**.

<p align="center">
<img src="boilerplate-structure-autox200.png">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ After adding these elements, Boilerplate will deploy your contract when the node

```bash
aelf-command get-chain-status
? Enter the the URI of an AElf node: http://127.0.0.1:1235
? Enter the URI of an AElf node: http://127.0.0.1:1235
✔ Succeed
{
"ChainId": "AELF",
Expand Down