Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
whqwjb
go-ethereum
提交
5375dd67
G
go-ethereum
项目概览
whqwjb
/
go-ethereum
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
go-ethereum
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5375dd67
编写于
2月 28, 2015
作者:
C
Christoph Jentzsch
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #69 from winsvega/develop
Fork block tests
上级
35f53abc
11fbc41e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
89 addition
and
0 deletion
+89
-0
BlockTests/blForkBlocks.json
BlockTests/blForkBlocks.json
+85
-0
TransactionTests/ttWrongRLPTransaction.json
TransactionTests/ttWrongRLPTransaction.json
+4
-0
未找到文件。
BlockTests/blForkBlocks.json
0 → 100644
浏览文件 @
5375dd67
{
"ForkBlockTransactionFee5"
:
{
"genesisBlockHeader"
:
{
"bloom"
:
"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
,
"coinbase"
:
"0x8888f1f195afa192cfee860698584c030f4c9db1"
,
"difficulty"
:
"10000"
,
"extraData"
:
"42"
,
"gasLimit"
:
"10000000000000000000000"
,
"gasUsed"
:
"0"
,
"nonce"
:
"5c4b5a259003f5717d9fb6bedf298fbb4e07e1eaef1cfe747e4a54932fac2d5c"
,
"number"
:
"0"
,
"parentHash"
:
"0x0000000000000000000000000000000000000000000000000000000000000000"
,
"receiptTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"stateRoot"
:
"5a4dfc958aba3034471698fe05df217e24637181edabff9259bbc826f0424ac4"
,
"timestamp"
:
"0x54c98c81"
,
"transactionsTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"uncleHash"
:
"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10000000000"
,
"nonce"
:
"0"
,
"code"
:
""
,
"storage"
:
{}
}
},
"rlp"
:
"0xf9019af90133a01027db44289ca8ee6531aa143f57dbd9c14cc6330fb2d255fed1c47b77be10e5a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a022fab51fe44db728d2c8caa2018ad4581688305471fea3d57aa8cbab5501ad2fa088d9a9f6cbc82e9c4b5712cbe9784f61ab95ed7de920bdbe786aa7dea3aaae3aa06e87d93a708dbd3e74a92a8bdf163d2712d173cd6cd25ff8ca07d73cc387b324b84000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000822707018a021d925a518843937000058454f0dccf80a006c3abf5074d88d97e9cb1270b8bfccf78bb8717c06c5094aef3ee049485171ff861f85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b64801ca012b0439b2d0a4dda01f1d3150a6b82472656dbedcc2b0ecf9d8eaa838486d6fea03feed6ee8b7746219694fbbbd4b9d97020bb4484b2a05cd1f13559eb49297e91c0"
},
"ForkBlockValueNotInTransactionCost"
:
{
"genesisBlockHeader"
:
{
"bloom"
:
"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
,
"coinbase"
:
"0x8888f1f195afa192cfee860698584c030f4c9db1"
,
"difficulty"
:
"10000"
,
"extraData"
:
"42"
,
"gasLimit"
:
"10000000000000000000000"
,
"gasUsed"
:
"0"
,
"nonce"
:
"d499a99249cb29fcec16ea199034f5ee514fd7ef175a9c5df15e8b52ffd5dd70"
,
"number"
:
"0"
,
"parentHash"
:
"0x0000000000000000000000000000000000000000000000000000000000000000"
,
"receiptTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"stateRoot"
:
"5a4dfc958aba3034471698fe05df217e24637181edabff9259bbc826f0424ac4"
,
"timestamp"
:
"0x54c98c81"
,
"transactionsTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"uncleHash"
:
"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10000000000"
,
"nonce"
:
"0"
,
"code"
:
""
,
"storage"
:
{}
}
},
"rlp"
:
"0xf9019cf90135a061d539f8f80e058754d06518a523175f12df9de06cb0b5634d988c0769fdbfaba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a069fd3f94d654a84e1160cb4864c41e9811250225355a7d5ccefe6d4f4eae9c0da042544006026776e4a36626cfe686c0a1ebf974660bb20b15e6c7e853f5055fa7a014d66747ae958fc4a9baf9684e67c135f8fb98bb5db3bdffef1f795fc8f0eb2fb84000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000822707018a021d925a5188439370008201f48454f0e47b80a074d42816c7a2daeed1d7c6bcbfa2e8fb1053357622e3c3ce1c2913c1a61e9677f861f85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b64801ba04c5dbdafda364e28209857554030787414dcbf67861f727af3704ec9c616fa96a00dbb8979c53534d163f788eb28864f1a2b3ae746e015b414e1c0eed5f9ef0756c0"
},
"ForkBlockCreatedContractsStartWith1000eth"
:
{
"genesisBlockHeader"
:
{
"bloom"
:
"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
,
"coinbase"
:
"0x8888f1f195afa192cfee860698584c030f4c9db1"
,
"difficulty"
:
"10000"
,
"extraData"
:
"42"
,
"gasLimit"
:
"10000000000000000000000"
,
"gasUsed"
:
"0"
,
"nonce"
:
"61d3037528d7dcd86166936d27b6b5335f66bee76ab04a1b18a21712b7cd2daf"
,
"number"
:
"0"
,
"parentHash"
:
"0x0000000000000000000000000000000000000000000000000000000000000000"
,
"receiptTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"stateRoot"
:
"5a4dfc958aba3034471698fe05df217e24637181edabff9259bbc826f0424ac4"
,
"timestamp"
:
"0x54c98c81"
,
"transactionsTrie"
:
"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
,
"uncleHash"
:
"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10000000000"
,
"nonce"
:
"0"
,
"code"
:
""
,
"storage"
:
{}
}
},
"rlp"
:
"0xf90188f90135a000080f45353c77c06ceda8a1e532f342f553f0b12bf72cedac418faa2e8f95dea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0feb1c35a6fb17928f8df46556de8c69f274c298a7f402cc2292a2ed4722529ffa01f48e009e7ca22aa905aa0b20b22aea7db1356c6fd377b04e73096cd065367f8a013473ade795b967f4d44485c1e13ed71bd2e5033d29ab9654ad4060d4d31c178b84000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000822707018a021d925a5188439370008201f48454f0e60380a09ab495bd9cafdb1c78a51e8db07dc8246fa7400489660c715305ee174def2021f84df84b80018207d08080801ba0757204fb437aded3bad4e618c317824c28c0ea0b5a8a4decc91dc1599030234fa01ad3cdfff76ffecd8c2dec28d03abf77f23f7f6663a7188d15078c140bb000b5c0"
}
}
TransactionTests/ttWrongRLPTransaction.json
浏览文件 @
5375dd67
...
...
@@ -19,6 +19,10 @@
"rlp"
:
"0xf85f800182094894095v7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"RLPWrongData"
:
{
"rlp"
:
"0xf86d800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a8e0358ac39584bc98a7v979f984b031ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"RLPAddressWithFirstZeros"
:
{
"rlp"
:
"0xf86080018209489500095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录