diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-04-03 23:37:59 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-20 03:57:49 +0800 |
commit | e2d333d2095edb349388433c28f4d6a381b1df62 (patch) | |
tree | 2bc2dbf45ffeb1de93606122d263913d790d048f /core/genesis.go | |
parent | ac0e5e8b6de43a40bbc25f541aa2399202bbe420 (diff) | |
download | go-tangerine-e2d333d2095edb349388433c28f4d6a381b1df62.tar.gz go-tangerine-e2d333d2095edb349388433c28f4d6a381b1df62.tar.zst go-tangerine-e2d333d2095edb349388433c28f4d6a381b1df62.zip |
NatSpec contracts in genesis block, end to end test (unfinished)
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go index 8ef1e140f..14ac2ec0f 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -56,7 +56,15 @@ func GenesisBlock(db common.Database) *types.Block { return genesis } +const ( + TestAccount = "e273f01c99144c438695e10f24926dc1f9fbf62d" + TestBalance = "1000000000000000000" +) + var genesisData = []byte(`{ + "` + TestAccount + `": {"balance": "` + TestBalance + `"}, + "` + ContractAddrURLhint + `": {"balance": "` + TestBalance + `", "code": "` + ContractCodeURLhint + `" }, + "` + ContractAddrHashReg + `": {"balance": "` + TestBalance + `", "code": "` + ContractCodeHashReg + `" }, "0000000000000000000000000000000000000001": {"balance": "1"}, "0000000000000000000000000000000000000002": {"balance": "1"}, "0000000000000000000000000000000000000003": {"balance": "1"}, |