fix(crypto): resolve the invalid witness by Federico2014 · Pull Request #6368 · tronprotocol/java-tron

added 4 commits

June 13, 2025 17:23

@Federico2014 Federico2014 changed the title fix(crypto): optimize the null witness fix(crypto): resolve the invalid witness

Jun 30, 2025

@kuny0707 kuny0707 linked an issue

Jun 30, 2025

that may be closed by this pull request

@Federico2014

bladehan1

3for

3for approved these changes Jul 3, 2025

317787106

@Federico2014

…_witness

# Conflicts:
#	framework/src/test/java/org/tron/core/zksnark/ShieldedReceiveTest.java

barbatos2011

@Federico2014

kuny0707

lxcmyf

raymondliu0711

halibobo1205

xxo1shine

@Federico2014

# Conflicts:
#	framework/src/main/java/org/tron/core/config/args/Args.java
#	framework/src/test/java/org/tron/core/config/args/ArgsTest.java
#	plugins/build.gradle

@Federico2014

@Federico2014

warku123 pushed a commit to warku123/java-tron that referenced this pull request

Feb 6, 2026
* feat(crypto): upgrade the bouncycastle denpendency

* fix(crypto): optimize the null localwitness

* fix(metric): process the null witness address

* feat(crypto): optimize the code

* feat(doc): add the comment

* feat(test): add the nullWitnessAddress test

* add witness config test

* strengthen the private key validation

* increase the test coverage

* optimiz the witnessAddress initialization

* simplify the localWitness

* refactor the code

* add the test unit