Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
		
							
								
								
									
										59
									
								
								vmtests/random.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								vmtests/random.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,59 @@
 | 
			
		||||
{
 | 
			
		||||
    "random": {
 | 
			
		||||
        "pre": {
 | 
			
		||||
            "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": {
 | 
			
		||||
                "nonce": "0", 
 | 
			
		||||
                "balance": "1", 
 | 
			
		||||
                "storage": {}, 
 | 
			
		||||
                "code": "0x"
 | 
			
		||||
            }, 
 | 
			
		||||
            "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
 | 
			
		||||
                "nonce": "0", 
 | 
			
		||||
                "balance": "2500000000000000000", 
 | 
			
		||||
                "storage": {}, 
 | 
			
		||||
                "code": "0x"
 | 
			
		||||
            }
 | 
			
		||||
        }, 
 | 
			
		||||
        "exec": {
 | 
			
		||||
            "origin": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1", 
 | 
			
		||||
            "code": "0x60f86363f011b260c16324413d44608e633688a34a6043637657ab003809060b0cff0aff00070f413041f234344542020f0043393104590c09325c13383458f137f0600845f205300a0d36030b35402011393635395454593a015940", 
 | 
			
		||||
            "value": "0", 
 | 
			
		||||
            "address": "7d577a597b2742b498cb5cf0c26cdcd726d39e6e", 
 | 
			
		||||
            "gas": "10000", 
 | 
			
		||||
            "caller": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1", 
 | 
			
		||||
            "data": "0x604e63f12f6b0c60426319bcb28060986330a233e8604463265e809d0104600a3af0f10ff10d0c1336114408583a33f05135410160540f524057201313440d585513f25c54115c433a0d37045a5212094109f10108125c35100f535a", 
 | 
			
		||||
            "gasPrice": "1000000000000"
 | 
			
		||||
        }, 
 | 
			
		||||
        "callcreates": [], 
 | 
			
		||||
        "gas": "9987", 
 | 
			
		||||
        "env": {
 | 
			
		||||
            "currentTimestamp": "1405320512", 
 | 
			
		||||
            "currentGasLimit": "999023", 
 | 
			
		||||
            "previousHash": "112a6e7995fcb66376f44e52f011c38d328a9ed3a1dac6eebb1376fccd055fad", 
 | 
			
		||||
            "currentCoinbase": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1", 
 | 
			
		||||
            "currentDifficulty": "4190208", 
 | 
			
		||||
            "currentNumber": "1"
 | 
			
		||||
        }, 
 | 
			
		||||
        "post": {
 | 
			
		||||
            "0000000000000000000000000000000000000001": {
 | 
			
		||||
                "nonce": "0", 
 | 
			
		||||
                "balance": "1", 
 | 
			
		||||
                "storage": {}, 
 | 
			
		||||
                "code": "0x"
 | 
			
		||||
            }, 
 | 
			
		||||
            "7d577a597b2742b498cb5cf0c26cdcd726d39e6e": {
 | 
			
		||||
                "nonce": "0", 
 | 
			
		||||
                "balance": "0", 
 | 
			
		||||
                "storage": {}, 
 | 
			
		||||
                "code": "0x"
 | 
			
		||||
            }, 
 | 
			
		||||
            "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
 | 
			
		||||
                "nonce": "0", 
 | 
			
		||||
                "balance": "2500000000000000000", 
 | 
			
		||||
                "storage": {}, 
 | 
			
		||||
                "code": "0x"
 | 
			
		||||
            }
 | 
			
		||||
        }, 
 | 
			
		||||
        "out": "0x"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3197
									
								
								vmtests/vmArithmeticTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3197
									
								
								vmtests/vmArithmeticTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1946
									
								
								vmtests/vmBitwiseLogicOperationTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1946
									
								
								vmtests/vmBitwiseLogicOperationTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										269
									
								
								vmtests/vmBlockInfoTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										269
									
								
								vmtests/vmBlockInfoTest.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,269 @@
 | 
			
		||||
{
 | 
			
		||||
    "coinbase" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x41600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9798",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x41600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x41600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "difficulty" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x44600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9798",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x44600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x0100"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x44600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "gaslimit" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x45600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9798",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x45600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x0f4240"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x45600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "number" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x43600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9898",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x43600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x43600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "prevhash" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x40600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9798",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x40600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x40600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "timestamp" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x42600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9798",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x42600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x01"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x42600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1177
									
								
								vmtests/vmEnvironmentalInfoTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1177
									
								
								vmtests/vmEnvironmentalInfoTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1299
									
								
								vmtests/vmIOandFlowOperationsTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1299
									
								
								vmtests/vmIOandFlowOperationsTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										3008
									
								
								vmtests/vmPushDupSwapTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3008
									
								
								vmtests/vmPushDupSwapTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										179
									
								
								vmtests/vmSha3Test.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										179
									
								
								vmtests/vmSha3Test.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,179 @@
 | 
			
		||||
{
 | 
			
		||||
    "sha3_0" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x6000600020600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "100000000000",
 | 
			
		||||
            "gasPrice" : "1000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "99999999777",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6000600020600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6000600020600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "sha3_1" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x6005600420600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9776",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6005600420600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0xc41589e7559804ea4a2080dad19d876a024ccb05117835447d72ce08c1d020ec"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6005600420600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "sha3_2" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x600a600a20600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9776",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x600a600a20600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                    "0x" : [
 | 
			
		||||
                        "0x6bd2dd6bd408cbee33429358bf24fdc64612fbf8b1b4db604518f40ffd34b607"
 | 
			
		||||
                    ]
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x600a600a20600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "sha3_3" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x6064640fffffffff20600057",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "0",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6064640fffffffff20600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x6064640fffffffff20600057",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1312
									
								
								vmtests/vmSystemOperationsTest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1312
									
								
								vmtests/vmSystemOperationsTest.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										206
									
								
								vmtests/vmtests.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										206
									
								
								vmtests/vmtests.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,206 @@
 | 
			
		||||
{
 | 
			
		||||
    "arith" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9770",
 | 
			
		||||
                "value" : "74"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9949",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "999999999999999926",
 | 
			
		||||
                "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "boolean" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9786",
 | 
			
		||||
                "value" : "2"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9732",
 | 
			
		||||
                "value" : "12"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9696",
 | 
			
		||||
                "value" : "13"
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9660",
 | 
			
		||||
                "value" : "14"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9832",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "999999999999999959",
 | 
			
		||||
                "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "mktx" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
            {
 | 
			
		||||
                "data" : "0x",
 | 
			
		||||
                "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
                "gasLimit" : "9792",
 | 
			
		||||
                "value" : "500000000000000000"
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9971",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "500000000000000000",
 | 
			
		||||
                "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "suicide" : {
 | 
			
		||||
        "callcreates" : [
 | 
			
		||||
        ],
 | 
			
		||||
        "env" : {
 | 
			
		||||
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
 | 
			
		||||
            "currentDifficulty" : "256",
 | 
			
		||||
            "currentGasLimit" : "1000000",
 | 
			
		||||
            "currentNumber" : "0",
 | 
			
		||||
            "currentTimestamp" : "1",
 | 
			
		||||
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
 | 
			
		||||
        },
 | 
			
		||||
        "exec" : {
 | 
			
		||||
            "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
 | 
			
		||||
            "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "code" : "0x33ff",
 | 
			
		||||
            "data" : "0x",
 | 
			
		||||
            "gas" : "10000",
 | 
			
		||||
            "gasPrice" : "100000000000000",
 | 
			
		||||
            "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
 | 
			
		||||
            "value" : "1000000000000000000"
 | 
			
		||||
        },
 | 
			
		||||
        "gas" : "9999",
 | 
			
		||||
        "out" : "0x",
 | 
			
		||||
        "post" : {
 | 
			
		||||
            "cd1722f3947def4cf144679da39c4c32bdc35681" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "pre" : {
 | 
			
		||||
            "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
 | 
			
		||||
                "balance" : "1000000000000000000",
 | 
			
		||||
                "code" : "0x33ff",
 | 
			
		||||
                "nonce" : "0",
 | 
			
		||||
                "storage" : {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user