Skip to content

Commit 7f38abd

Browse files
authored
docs: fix spelling issues (#390)
* Update event.md * Update contract.md * Update advanced-configuration.md
1 parent f079b99 commit 7f38abd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/architecture/event.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Contract Event and Contract Log Even support event filter function which include
7272
```
7373
fromBlock: the start block number
7474
toBlock: the end block number
75-
contractAddress: contract adsresses list
75+
contractAddress: contract addresses list
7676
contractTopics: contract topics list
7777
```
7878

@@ -190,4 +190,4 @@ When the node has a new block, the subscriber will receive block event, the outp
190190
```
191191
received a message related to: blockTrigger, containing message: {"timeStamp":1678343709000,"triggerName":"blockTrigger","blockNumber":1361,"blockHash":"00000000000005519b3995cd638753a862c812d1bda11de14bbfaa5ad3383280","transactionSize":0,"latestSolidifiedBlockNumber":1361,"transactionList":[]}
192192
received a message related to: blockTrigger, containing message: {"timeStamp":1678343712000,"triggerName":"blockTrigger","blockNumber":1362,"blockHash":"0000000000000552d53d1bdd9929e4533a983f14df8931ee9b3bf6d6c74a47b0","transactionSize":0,"latestSolidifiedBlockNumber":1362,"transactionList":[]}
193-
```
193+
```

docs/contracts/contract.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ message SmartContract {
6262
```
6363
origin_address: smart contract creator address
6464
contract_address: smart contract address
65-
abi: the api information of the all the function of the smart contract
65+
abi: the api information of all the function of the smart contract
6666
bytecode: smart contract byte code
6767
call_value: TRX transferred into smart contract while call the contract
6868
consume_user_resource_percent: resource consumption percentage set by the developer
6969
name: smart contract name
70-
origin_energy_limit: energy consumption of the developer limit in one call, must greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)
70+
origin_energy_limit: energy consumption of the developer limit in one call, must be greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)
7171

7272
Through other two grpc message types CreateSmartContract and TriggerSmartContract to create and use smart contract.
7373

docs/developers/advanced-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ node.backup {
9292
```
9393
policy:
9494
1. the one which synchronized first will become master.
95-
2. if synchronization is completed at the same time, the one which with big priority will become master.
95+
2. if synchronization is completed at the same time, the one with big priority will become master.
9696

9797
E.g. create backups for node A(192.168.0.100) and node B(192.168.0.100 ):
9898
node A's configuration:

0 commit comments

Comments
 (0)