Commit Graph

1173 Commits

Author SHA1 Message Date
Faiz Khan f1c4cd529c Excluded tests (and comments for why) 2015-03-02 22:36:07 -06:00
Faiz Khan 196be7cf44 More of CJ's tests 2015-03-02 16:23:21 -06:00
Faiz Khan 3bb69e3180 Add Test for quadratic cost 2015-03-02 15:50:24 -06:00
Faiz Khan 6f66552f00 Quadratic memory cost 2015-02-26 16:27:16 -06:00
Roman Mandeleil fa484fa892 Update protocol version eth:53 2015-02-11 13:55:17 +02:00
Roman Mandeleil 15ea0c17c4 Merge pull request #222 from 8aff8265aa/fixtransactiongaslimit
Fixing transaction tests
2015-02-11 13:31:43 +02:00
Faiz Khan 6198be355a Remove passing tests 2015-02-10 15:58:46 -06:00
Faiz Khan 5e8c795187 Trigger buildbot 2015-02-10 15:36:28 -06:00
Faiz Khan 8d8b734859 Fix regressions, use signum constructor for BigInteger 2015-02-10 15:35:06 -06:00
Faiz Khan 9f5678c769 Merge branch 'master' of https://github.com/ethereum/ethereumj into fixtransactiongaslimit 2015-02-10 14:56:15 -06:00
Faiz Khan 43b89fe161 Remove passing tests 2015-02-10 14:47:14 -06:00
Roman Mandeleil 6eb77e1068 Fix VMTest
+ Design special type repository that acts according the
 rules of VMTesting means save any account been approached
 even if didn't change.

 + Automatically fetch and run all tests in github
 tree {ethereum_git_tests_repo}/VMTests/RandomTests

 + Fix all tests in VMTests/vmEnvironmentalInfoTest

[Delivers #88044620]  [Delivers #87875292]
2015-02-10 21:10:05 +02:00
Roman Mandeleil 32ff7a7b68 Fix AdminInfo#getExecAverage divide by zero
AdminInfo#getExecAverage throws divide by zero exception when
blockExecTime#size is 0 [Delivers #88031650]
2015-02-10 16:07:55 +02:00
Roman Mandeleil ad2eefb789 Fix VMTests
+ VMTests/vmBlockInfoTest

[Delivers #87875124]
2015-02-10 14:56:31 +02:00
Roman Mandeleil 664c3296b9 Merge remote-tracking branch 'origin/master' 2015-02-10 14:30:15 +02:00
Roman Mandeleil 54ac03c205 Fix VMTests
+ VMTests/vmSha3Test

[Delivers #87875840]
2015-02-10 14:30:03 +02:00
Roman Mandeleil ffa06ed843 Update README.md 2015-02-10 14:17:00 +02:00
Roman Mandeleil 670726c1af Fix VMTests
+ VMTests/vmSystemOperationsTest
 + VMTests/testArithmeticFromGitHub

[Delivers #87876108], [Delivers #87874276]
2015-02-10 14:09:38 +02:00
Faiz Khan ba3b1c34b3 Fixing transaction tests 2015-02-08 20:55:52 -06:00
Roman Mandeleil 87c97652b6 Fix VMTests/vmSystemOperationsTest
+ [DONE] CallToNameRegistratorNotMuchMemory0
 + [DONE] ABAcallsSuicide0
 + [DONE] CallToNameRegistratorNotMuchMemory1
 + [DONE] CallToNameRegistratorOutOfGas
 + [DONE] callcodeToReturn1
 + [DONE] ABAcallsSuicide1
 + [DONE] ABAcalls1
 + [DONE] ABAcalls2
 + [DONE] ABAcalls3
 + [DONE] CallToNameRegistrator0
 + [DONE] ABAcalls0
 + [DONE] CallRecursiveBomb3
 + [DONE] CallRecursiveBomb2
 + [DONE] CallRecursiveBomb1
 + [DONE] CallRecursiveBomb0
 + [DONE] CallToReturn1
 + [DONE] callcodeToNameRegistrator0
2015-02-08 22:01:32 +02:00
Roman Mandeleil e032b2248f Introduce Transaction default factory method 2015-02-08 17:21:11 +02:00
Roman Mandeleil 3090f64dde Map failures in TCK / VMTest 2015-02-07 21:56:44 +02:00
Roman Mandeleil bd2e6c8042 Ignore failure 2015-02-07 20:42:28 +02:00
Roman Mandeleil 25754f97cd Work on modulus testing in context of vmArithmeticTest.json
+ excluded test cases that fails
+ modulus work with sign number now
+ VM testing api can be used with excluded as well
2015-02-07 20:32:21 +02:00
Roman Mandeleil 02a39d0d27 Merge pull request #221 from 8aff8265aa/longtobigintfix
Fix long type usage for jsontestsuite & gaslimit
2015-02-07 17:27:52 +02:00
Roman Mandeleil 142e26e020 Update README.md 2015-02-07 15:03:34 +02:00
Roman Mandeleil 0ea7e7f3d6 Update README.md 2015-02-07 15:00:16 +02:00
Faiz Khan 6669523825 Fix long type usage for jsontestsuite & gaslimit 2015-02-07 06:36:42 -06:00
Roman Mandeleil a7b281007d Exclude recent failures 2015-02-06 22:49:02 +02:00
Roman Mandeleil 601c5f9b3a Measure block execution time 2015-02-06 10:34:42 +02:00
Roman Mandeleil 06c2d6ae73 Exclude faling tests 2015-02-04 17:58:08 +02:00
Roman Mandeleil 6fbd5b4611 Merge pull request #220 from 8aff8265aa/master_2
Catch and protect against when getHReturn() passes null to avoid NPE
2015-02-04 17:49:41 +02:00
Faiz Khan a7e6bf65d0 Catch and protect against when getHReturn() passes null to avoid NPE 2015-02-04 08:02:48 -06:00
Roman Mandeleil 8985f6374a Cancel transaction approve by the clone transaction. 2015-02-04 15:14:15 +02:00
Roman Mandeleil a232df1998 Merge pull request #219 from 8aff8265aa/master_2
Protections must be done before state changes
2015-02-03 20:43:39 +02:00
Faiz Khan d6a2714c12 Move protection to beginning of contract creation to not spend gas 2015-02-03 12:34:35 -06:00
Faiz Khan 7c4f749835 Gas checks must be made earlier than other checks 2015-02-03 12:34:27 -06:00
Roman Mandeleil 097cc5418f Ignore failing test for a while 2015-02-03 19:58:33 +02:00
Roman Mandeleil 0e2720894b Adding block receipts to listener cycles 2015-02-03 19:13:16 +02:00
Roman Mandeleil 277ca6af7a Fix pending tx functionality + expose the correct interface 2015-02-02 22:02:57 +02:00
Roman Mandeleil 163036c5ea Introduce remote config + in memory block store
The library now can be initialized with just in memory
block saving with eviction policy of keep only last 1000 blocks,
that kind of block store is useful in on server usage of library.
In order to change the configuration for on server usage
use: `ethereum =  EthereumFactory.createEthereum(RemoteConfig.class);`
2015-01-30 22:20:45 +02:00
Chris Beams 63bb2aa852
Upgrade to antlr v4.5
Pick up the fix to antlr/antlr4#487 to eliminate spurious annotation
processor warnings.

Fixes #185
2015-01-30 14:05:56 +01:00
Roman Mandeleil dafa4b0718 Merge remote-tracking branch 'origin/master' 2015-01-29 15:05:25 +02:00
Roman Mandeleil f6233bba72 Adjust system to work with list of listeners + Upgrade Genesis + Upgrade to eth:52 2015-01-29 15:05:05 +02:00
Roman Mandeleil a5b9101448 Merge pull request #215 from 8aff8265aa/master
Remove @Ignore and include passing test
2015-01-27 11:38:54 +02:00
Faiz Khan f9dd4fa735 Remove @Ignore and include passing test 2015-01-27 03:33:49 -06:00
Roman Mandeleil 8959f14c44 Extract key/val data source init to the DefaultConfig 2015-01-27 02:24:34 +02:00
Roman Mandeleil 86e7643f63 Redesign config init
Extracting DefaultConfig class and open the door
to implement plug-able custom config classes
2015-01-27 01:22:05 +02:00
Roman Mandeleil f3e067d28b Merge pull request #214 from 8aff8265aa/master
Add fix for emptyTransaction test
2015-01-24 20:42:11 +02:00
Faiz Khan 36ea2069f4 Add fix for emptyTransaction test 2015-01-23 20:33:16 -06:00