Commit Graph

1578 Commits

Author SHA1 Message Date
Gav Wood
2026871882 Merge pull request #1236 from CJentzsch/suicideRefundTests
add suicide refund tests
2015-03-10 16:02:41 +00:00
chriseth
0fcd2212d4 Global variable "now" (alias for block.timestamp). 2015-03-09 19:22:43 +01:00
Lefteris Karapetsas
d586a88f3c style fixes in TestHelper.h 2015-03-09 13:06:16 +01:00
Lefteris Karapetsas
3efbe46a49 Improving ETH_TEST() exceptions
- Properly printing fail check/require message same way as BOOST
  implementation does

- Also add a Test Pass Checkpoint call to be sure the last checkpoint is
  reported properly

- Catch any sort of exception in the no throw
2015-03-09 12:27:30 +01:00
CJentzsch
b5c78387c0 Merge remote-tracking branch 'upstream/develop' into suicideRefundTests
Conflicts:
	test/stTransactionTestFiller.json
	test/vmArithmeticTestFiller.json
2015-03-09 10:43:08 +01:00
Gav Wood
52e9a85d62 Merge pull request #1235 from winsvega/poc9trie
vmTests
2015-03-08 14:51:03 +01:00
CJentzsch
2dfb5eb3f2 adjust gas prices for arithmetic tests 2015-03-07 23:52:26 +01:00
CJentzsch
8172e11f1a Merge remote-tracking branch 'upstream/develop' into suicideRefundTests 2015-03-07 22:33:03 +01:00
Gav Wood
a2ca8cefb7 Gas pricing infrastructure and a couple of pricing mechanisms. 2015-03-07 16:43:05 +01:00
CJentzsch
db9e0e7b31 add suiciderefund tests 2015-03-07 14:18:22 +01:00
Gav Wood
986fdb9d5f Avoid checking for difficulty when doing PoW test. 2015-03-06 22:53:49 +01:00
winsvega
65c82ecde2 vmTests
Arithmetic gas increased
2015-03-06 22:51:56 +03:00
chriseth
0f6224a70f Merge pull request #1228 from LefterisJP/eth_TestNoThrowInfo
Test macros for printing Exception information
2015-03-06 16:25:58 +01:00
chriseth
ce29adc29f Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth
2650703ece Typo 2015-03-06 15:40:02 +01:00
Lefteris Karapetsas
e2c01948f4 Style fixes and better exception message format 2015-03-06 14:40:46 +01:00
Lefteris Karapetsas
4534ff8792 Adding ETH_TEST macros to ABI and EndToEndTests 2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
4cd659c51d NameAndtypeResolution tests use ETH_TEST macros 2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
79bbe1e5d8 Move ETH_TEST() Macros to TestHelper.h
- Also use them in Solidity Parser
2015-03-06 14:37:20 +01:00
Lefteris Karapetsas
10c666fb52 Extracting ETH_TEST_REQUIRE_NO_THROW() from my other PR 2015-03-06 14:37:20 +01:00
chriseth
1234526c93 Fix type checks for storage variable initializer. 2015-03-06 13:47:32 +01:00
Gav Wood
1308d62308 Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
Conflicts:
	libethcore/BlockInfo.cpp
	libethcore/Exceptions.cpp
	libethcore/Exceptions.h
2015-03-06 13:28:37 +01:00
chriseth
e6c778e740 Fix for arrays containing mappings. 2015-03-06 13:17:52 +01:00
chriseth
7639bfe7e5 Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
CJentzsch
08669316d8 fix 2015-03-06 12:49:39 +01:00
CJentzsch
3112948e53 try to have a uncle with block number = 1 2015-03-06 12:49:39 +01:00
CJentzsch
f0e015843d merge 2015-03-06 12:49:39 +01:00
CJentzsch
873d365ce5 add secure trie tests 2015-03-06 12:49:39 +01:00
CJentzsch
c10f41d0c9 add uncle tests 2015-03-06 12:49:39 +01:00
CJentzsch
96da2e9789 style + add test cases 2015-03-06 12:49:39 +01:00
CJentzsch
072a4fb4ba style 2015-03-06 12:49:39 +01:00
CJentzsch
58f1414e36 add first uncle test 2015-03-06 12:49:38 +01:00
CJentzsch
4606b7a311 update blockchain test filler to new min diff and min gasLimit 2015-03-06 12:49:38 +01:00
CJentzsch
3fa4f14859 add uncle header feature for fillers 2015-03-06 12:49:38 +01:00
CJentzsch
d449b1704f add quadratic complexity tests 2015-03-06 12:49:38 +01:00
Gav Wood
937c8a35c1 For Marek :)
BlockChain::transaction(h256 _transactionHash)
BlockChain::transactionHashes(h256 _blockHash)
2015-03-06 12:49:38 +01:00
CJentzsch
63be15a83d merge 2015-03-06 12:49:34 +01:00
Gav Wood
aa2bc0eb65 Add date/time language to solidity. 2015-03-06 12:49:13 +01:00
CJentzsch
44c991107d update block tests to latest changes PoW changes 2015-03-06 12:49:13 +01:00
CJentzsch
fefeb706ef more block tests + bugfix for longer chains 2015-03-06 12:49:13 +01:00
CJentzsch
4a48392a90 blockchain tests
Conflicts:
	test/block.cpp
2015-03-06 12:47:26 +01:00
Gav Wood
5fa066869d New Proof-of-Work. 2015-03-06 12:47:26 +01:00
CJentzsch
e674f08570 remove genesis state from state tests
Conflicts:
	test/state.cpp
2015-03-06 12:47:18 +01:00
Gav Wood
cfed92a8ce state rebase. 2015-03-06 12:47:18 +01:00
Gav Wood
d774b3e188 Update precompiled stuff.
Add extra tests for secure trie.
2015-03-06 12:47:17 +01:00
CJentzsch
dd05751adf add memory tests 2015-03-06 12:47:17 +01:00
CJentzsch
8762db977d only check rootHash of state if FATDB is off 2015-03-06 12:47:17 +01:00
Gav Wood
ac0159e4dd State integration test.
Fixes to the FatTrie.
2015-03-06 12:47:17 +01:00
Gav Wood
c21f080305 Update precompiled stuff.
Add extra tests for secure trie.
2015-03-06 12:47:13 +01:00
CJentzsch
d9f2ea7b69 add memory tests 2015-03-06 12:46:59 +01:00