Skip to content

Commit

Permalink
<fix>(help): fix system config auth_check_status helper. (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyonRay authored Apr 20, 2023
1 parent 6451cda commit 58f6065
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
//compile 'org.fisco-bcos:solcJ:0.5.2.1'
compile 'org.fisco-bcos:solcJ:0.8.11.1'

compile('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:3.3.0-SNAPSHOT') {
compile('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:3.3.0') {
exclude group: "org.slf4j"
}

Expand All @@ -51,7 +51,7 @@ dependencies {
compile('org.jline:jline:3.21.0')
compile('io.bretty:console-table-builder:1.2')
compile('com.github.jsqlparser:jsqlparser:2.0')
compile('org.fisco-bcos.code-generator:bcos-code-generator:1.1.0-SNAPSHOT') {
compile('org.fisco-bcos.code-generator:bcos-code-generator:1.1.0') {
exclude group: "org.fisco-bcos.java-sdk"
exclude group: "org.slf4j"
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/console/command/category/BfsCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ public Map<String, CommandInfo> getAllCommandInfo(boolean isWasm) {
new CommandInfo(
"fixBFS",
"Fix the bfs bug of the specified version.",
() -> {
System.out.println("Fix the bfs bug of the specified version.");
System.out.println("Fix the bfs bug of the specified version.");
},
() -> System.out.println("Fix the bfs bug of the specified version."),
(consoleInitializer, params, pwd) ->
consoleInitializer.getPrecompiledFace().fixBFS(params),
0,
Expand Down
6 changes: 1 addition & 5 deletions src/main/java/console/command/model/HelpInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,7 @@ public static void systemConfigHelper() {
+ Common.SYS_CONFIG_RANGE
+ "(default 1).");
System.out.println(
" -- the value of "
+ Common.AUTH_CHECK_STATUS
+ " "
+ Common.SYS_CONFIG_RANGE
+ "(default 0).");
" -- the value of " + Common.AUTH_CHECK_STATUS + " " + Common.AUTH_CHECK_DESC);
}

public static void getSystemConfigByKeyHelp() {
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/console/common/Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ private Common() {}
public static final String NON_NEGATIVE_INTEGER_RANGE = "from 0 to 2147483647";
public static final String DEPLOY_LOG_INTEGER_RANGE = "from 1 to 100";
public static final String TX_GAS_LIMIT_RANGE = "must be greater than 100000";
public static final String SYS_CONFIG_RANGE = "must be greater than 1";
public static final String SYS_CONFIG_RANGE = "must be greater or equal to 1";
public static final String AUTH_CHECK_DESC =
"means whether to check auth when deploy/call contract, if value>0, check auth, otherwise not check auth.";
public static final String COMPATIBILITY_VERSION_DESC =
"must be in this format: 3.0.0, 3.1.0, etc. Latest version now is "
+ ConsoleVersion.Version;
Expand Down

0 comments on commit 58f6065

Please sign in to comment.