Closed ruanbekker closed 2 years ago
When attempting to start a Tron Fullnode on the Tesnet it fails with the following error:
$ java -Xmx2g -XX:+UseConcMarkSweepGC -jar FullNode.jar -c test_net_config.conf Exception in thread "main" java.lang.IllegalArgumentException: The address() must be 21 bytes. at org.tron.common.args.Account.setAddress(Account.java:53) at org.tron.core.config.args.Args.createAccount(Args.java:851) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) at org.tron.core.config.args.Args.getAccountsFromConfig(Args.java:844) at org.tron.core.config.args.Args.setParam(Args.java:391) at org.tron.program.FullNode.main(FullNode.java:54)
The testnet configuration was found from this github repo:
The jar was downloaded from the 4.4.0 release:
Java version:
$ java -version openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Documentation referenced:
Any help will be appreciated.
Joining the Nile test network requires the use of the Nile branch code:https://github.com/tronprotocol/java-tron/tree/Nile, and config file pls check:https://nileex.io/join/getJoinPage
Thanks for your contribution to java-tron, this issue will be closed as no update for a long time.
Please feel free to re-open it if you still see the issue, thanks.
When attempting to start a Tron Fullnode on the Tesnet it fails with the following error:
The testnet configuration was found from this github repo:
The jar was downloaded from the 4.4.0 release:
Java version:
Documentation referenced:
Any help will be appreciated.