adridadou / eth-contract-api

EthereumJ native API or how to call contracts easily and with type safety
http://www.davidroon.com/ethcontractapi/
Apache License 2.0
60 stars 34 forks source link

Enhance TestEthereum to make it closer to reality #82

Closed adridadou closed 7 years ago

adridadou commented 7 years ago

StandaloneBlockchain is perfect to write tests but right now it is very limited. I'd like to take some times to see how I can improve it and make it better fit to write even integration tests

adridadou commented 7 years ago

It works pretty well. I still need to enhance / debug how multithreading is handled.

Right now, some test may work with an actual node but hang with the test one.

Also, I have an example that takes 17 sec (vs 50 sec with an actual node) and I am sure it can be greatly improved. I want this test to run in under 1 sec !! (have a look at the branch better-test to see how it works)