mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added stSystemOperationsTest
This commit is contained in:
parent
f49fbb16a0
commit
4262fbd5e4
@ -27,7 +27,7 @@
|
|||||||
#include <libethereum/Client.h>
|
#include <libethereum/Client.h>
|
||||||
#include <liblll/Compiler.h>
|
#include <liblll/Compiler.h>
|
||||||
|
|
||||||
//#define FILL_TESTS
|
#define FILL_TESTS
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace dev::eth;
|
using namespace dev::eth;
|
||||||
|
1266
stSystemOperationsTestFiller.json
Normal file
1266
stSystemOperationsTestFiller.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -121,10 +121,10 @@ BOOST_AUTO_TEST_CASE(stExample)
|
|||||||
dev::test::executeTests("stExample", "/StateTests", dev::test::doStateTests);
|
dev::test::executeTests("stExample", "/StateTests", dev::test::doStateTests);
|
||||||
}
|
}
|
||||||
|
|
||||||
//BOOST_AUTO_TEST_CASE(stSystemOperationsTest)
|
BOOST_AUTO_TEST_CASE(stSystemOperationsTest)
|
||||||
//{
|
{
|
||||||
// dev::test::executeStateTests("stSystemOperationsTest");
|
dev::test::executeTests("stSystemOperationsTest", "/StateTests", dev::test::doStateTests);
|
||||||
//}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(tmp)
|
BOOST_AUTO_TEST_CASE(tmp)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ABAcalls0": {
|
"CallToReturn1": {
|
||||||
"env" : {
|
"env" : {
|
||||||
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
|
||||||
"currentNumber" : "0",
|
"currentNumber" : "0",
|
||||||
@ -12,12 +12,12 @@
|
|||||||
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "1000000000000000000",
|
"balance" : "1000000000000000000",
|
||||||
"nonce" : 0,
|
"nonce" : 0,
|
||||||
"code" : "{ [[ (PC) ]] (CALL 1000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 24 0 0 0 0) }",
|
"code" : "{ (MSTORE 0 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (MSTORE 32 0xaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa ) [[ 0 ]] (CALL 1000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 23 0 64 0 2) }",
|
||||||
"storage": {}
|
"storage": {}
|
||||||
},
|
},
|
||||||
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
|
"945304eb96065b2a98b57a48a06ae28d285a71b5" : {
|
||||||
"balance" : "23",
|
"balance" : "23",
|
||||||
"code" : " { [[ (PC) ]] (ADD 1 (CALL 500 0x095e7baea6a6c7c4c2dfeb977efac326af552d87 23 0 0 0 0)) } ",
|
"code" : "0x6001600153603760005360026000f2",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
@ -30,15 +30,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"transaction" : {
|
"transaction" : {
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"gasLimit" : "10000",
|
"gasLimit" : "10000",
|
||||||
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "100000",
|
"value" : "100000",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"data" : ""
|
"data" : ""
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user