aboutsummaryrefslogtreecommitdiffstats
path: root/GenesisTests
diff options
context:
space:
mode:
authorVitalik Buterin <v@buterin.com>2015-07-05 18:14:40 +0800
committerVitalik Buterin <v@buterin.com>2015-07-05 18:14:40 +0800
commitbd21d1745a2e09cbe6f24315e81cb26a861e3da3 (patch)
tree989a6cc88d4faf839bfc7eccdbf170edf043a0e1 /GenesisTests
parent65b710628dddce040a463323ec7d12ea0447a8c1 (diff)
downloaddexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar.gz
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar.bz2
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar.lz
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar.xz
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.tar.zst
dexon-tests-bd21d1745a2e09cbe6f24315e81cb26a861e3da3.zip
Added genesis tests
Diffstat (limited to 'GenesisTests')
-rw-r--r--GenesisTests/basic_genesis_tests.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/GenesisTests/basic_genesis_tests.json b/GenesisTests/basic_genesis_tests.json
new file mode 100644
index 000000000..9d5ff6991
--- /dev/null
+++ b/GenesisTests/basic_genesis_tests.json
@@ -0,0 +1,61 @@
+{
+ "test1": {
+ "alloc": {
+ "9ca0e998df92c5351cecbbb6dba82ac2266f7e0c": {
+ "code": "0x606060606060606060",
+ "storage": {
+ "0x03": "0x07"
+ }
+ },
+ "cd2a3d9f938e13cd947ec05abc7fe734df8dd826": {
+ "balance": "1234567000000000000000"
+ }
+ },
+ "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0dd406a973a0a5a9826d00da276e996d28426d24f12b8fa683723e9db532b8c59a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0"
+ },
+ "test2": {
+ "alloc": {
+ "e4157b34ea9615cfbde6b4fda419828124b70c78": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "6c386a4b26f73c802f34673f7248bb118f97424a": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "2ef47100e0787b915105fd5e3f4ff6752079d5cb": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "e6716f9544a56c530d868e4bfbacb172315bdead": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "1a26338f0d905e295fccb71fa9ea849ffa12aaf4": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "b9c015918bdaba24b4ff057a92a3873d6eb201be": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "0000000000000000000000000000000000000001": {
+ "wei": "1"
+ },
+ "0000000000000000000000000000000000000002": {
+ "wei": "1"
+ },
+ "0000000000000000000000000000000000000003": {
+ "wei": "1"
+ },
+ "0000000000000000000000000000000000000004": {
+ "wei": "1"
+ },
+ "dbdbdb2cbd23b783741e8d7fcf51e459b497e4a6": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ },
+ "cd2a3d9f938e13cd947ec05abc7fe734df8dd826": {
+ "wei": "1606938044258990275541962092341162602522202993782792835301376"
+ }
+ },
+ "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a09178d0f23c965d81f0834a4c72c6253ce6830f4022b1359aaebfc1ecba442d4ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0"
+ },
+ "testempty": {
+ "alloc": {},
+ "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0"
+ }
+}