You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't expect much but maybe some pointers as to what might be going wrong.
Here is my setup:
I have custom compiled every single library needed to compile the main waves blockchain. I have changed my address version to 15. I am using a node id of % - this generates addresses that begin with Tu (nodes.tactoken.io).
I clone the wavesj library from your repo as the other versions of wavesj don't work build with wavesfx. I enter the directory.
I issue the command grep -rli 'WAVES' * | xargs -i@ sed -i 's/WAVES/TAC/g' @
This should rewrite every instance of the word WAVES with TAC in all files.
I then remove the test direct from the source seeing as I don't have a testnet setup none of the tests are going to pass.
I compile. All goes ok so far.
Next I clone the wavesfx folder. First I modify the AddressValidator.java file to set the address version to 15. Next I modify the build.gradle to add.
flatDir { dirs 'libs' }
I copy the wavesj-with-dependancies file to to libs folder. I change the chain ID from W to % in the ApplicationSettings.java file.
I compile. All goes well.
I run app - create a new wallet... all is working great.
Next I go back into the wavesj and then the wavesfx folders and issue
Then I rename all files with the words Waves or waves in them to replace the word waves with tac or Tac.
Basically I just changed every instance of the word waves to the word tac and the words wavelets to the word taclet.
I then rebuild, copy the net TacJ.jar file to the wavefx libs folder and rebuild wavesfx.
Again all goes well. I start the wallet. Create a new address......... and it creates the wrong address (they begin with 3 as if ignoring the ADDRESS_VERSION settings) and starts tossing all sorts of errors.
[ERROR] 2021-02-08 18:23:32.843 [RxCachedThreadScheduler-172] NodeService - Error fetching balance details java.io.IOException: {"error":102,"message":"invalid address"} at com.tacplatform.tacj.Node.exec(Node.java:706) ~[TacJ.jar:?] at com.tacplatform.tacj.Node.send(Node.java:362) ~[TacJ.jar:?]
Any possible insite as to what would cause this? I mean practically it works just fine until I do those last series of renames then suddenly everything fails.
Is their some check that is taking place and failing that I am not seeing? Suggestions or ideas?
The text was updated successfully, but these errors were encountered:
I don't expect much but maybe some pointers as to what might be going wrong.
Here is my setup:
I have custom compiled every single library needed to compile the main waves blockchain. I have changed my address version to 15. I am using a node id of % - this generates addresses that begin with Tu (nodes.tactoken.io).
I clone the wavesj library from your repo as the other versions of wavesj don't work build with wavesfx. I enter the directory.
I issue the command
grep -rli 'WAVES' * | xargs -i@ sed -i 's/WAVES/TAC/g' @
This should rewrite every instance of the word WAVES with TAC in all files.
I then remove the test direct from the source seeing as I don't have a testnet setup none of the tests are going to pass.
I compile. All goes ok so far.
Next I clone the wavesfx folder. First I modify the AddressValidator.java file to set the address version to 15. Next I modify the build.gradle to add.
flatDir { dirs 'libs' }
I copy the wavesj-with-dependancies file to to libs folder. I change the chain ID from W to % in the ApplicationSettings.java file.
I compile. All goes well.
I run app - create a new wallet... all is working great.
Next I go back into the wavesj and then the wavesfx folders and issue
grep -rli 'Waves' * | xargs -i@ sed -i 's/Waves/Tac/g' @
grep -rli 'waves' * | xargs -i@ sed -i 's/waves/tac/g' @
grep -rli 'Wavel' * | xargs -i@ sed -i 's/wavel/racl/g' @
grep -rli 'WAVEL' * | xargs -i@ sed -i 's/WAVEL/TACL/g' @
grep -rli 'wavel' * | xargs -i@ sed -i 's/wavel/tacl/g' @
Then I rename all files with the words Waves or waves in them to replace the word waves with tac or Tac.
Basically I just changed every instance of the word waves to the word tac and the words wavelets to the word taclet.
I then rebuild, copy the net TacJ.jar file to the wavefx libs folder and rebuild wavesfx.
Again all goes well. I start the wallet. Create a new address......... and it creates the wrong address (they begin with 3 as if ignoring the ADDRESS_VERSION settings) and starts tossing all sorts of errors.
[ERROR] 2021-02-08 18:23:32.843 [RxCachedThreadScheduler-172] NodeService - Error fetching balance details java.io.IOException: {"error":102,"message":"invalid address"} at com.tacplatform.tacj.Node.exec(Node.java:706) ~[TacJ.jar:?] at com.tacplatform.tacj.Node.send(Node.java:362) ~[TacJ.jar:?]
Any possible insite as to what would cause this? I mean practically it works just fine until I do those last series of renames then suddenly everything fails.
Is their some check that is taking place and failing that I am not seeing? Suggestions or ideas?
The text was updated successfully, but these errors were encountered: