Skip to content

Commit

Permalink
setting tx_gas_limit should execute setSystemConfigByKey (#766)
Browse files Browse the repository at this point in the history
* setting tx_gas_limit should execute  setSystemConfigByKey
Should: setSystemConfigByKey tx_gas_limit 400000000
Co-authored-by: Xingqang Bai <bxq2011hust@qq.com>
  • Loading branch information
bigkun committed Mar 26, 2020
1 parent 50f174b commit 2d16751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/manual/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ FISCO BCOS系统目前主要包括如下系统参数(未来会扩展其他系统
[500]

# 设置交易gas限制为400000000
[group:1]> getSystemConfigByKey tx_gas_limit 400000000
[group:1]> setSystemConfigByKey tx_gas_limit 400000000
[group:1]> getSystemConfigByKey
[400000000]
```
```
2 changes: 1 addition & 1 deletion en/docs/manual/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ Console provides **[setSystemConfigByKey](./console.html#setsystemconfigbykey)**
[500]

# To set transaction gas limit as 400000000
> getSystemConfigByKey tx_gas_limit 400000000
> setSystemConfigByKey tx_gas_limit 400000000
> getSystemConfigByKey
[400000000]
```

0 comments on commit 2d16751

Please sign in to comment.