This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added new line for test suite data * Test_appendLogsToFilters add some transactions to test block * Use non-zero recipient address in test transactions * Introduce toReceipt, toLogs and toLog and UTs * Fix unit test and lint * Better readability * Add TestOverrideAccount_ToType * Test toBlock with full transactions * Fix linter issues
- Loading branch information
1 parent
3b5ad9d
commit fbe5657
Showing
16 changed files
with
365 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"parentHash": "0x00000000000000000000000000000000000000000000506172656e7448617368", | ||
"sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"miner": "0x", | ||
"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"difficulty": "0x0", | ||
"totalDifficulty": "0x0", | ||
"size": "0x224", | ||
"number": "0x14", | ||
"gasLimit": "0x0", | ||
"gasUsed": "0x0", | ||
"timestamp": "0x0", | ||
"extraData": "0x", | ||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce": "0x0000000000000000", | ||
"hash": "0x7935c790bdff1ec20912f28c9f7722eed41837c478a1f9ce0dc49f5d4a2d7c88", | ||
"transactions": [ | ||
{ | ||
"nonce": "0x0", | ||
"gasPrice": "0x190", | ||
"gas": "0x0", | ||
"to": "0x0000000000000000000000000000000000000002", | ||
"value": "0x64", | ||
"input": "0x", | ||
"v": "0x1", | ||
"r": "0x2", | ||
"s": "0x3", | ||
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"from": "0x0000000000000000000000000000000000000001", | ||
"blockHash": "0x7935c790bdff1ec20912f28c9f7722eed41837c478a1f9ce0dc49f5d4a2d7c88", | ||
"blockNumber": "0x14", | ||
"transactionIndex": "0x0", | ||
"type": "0x0" | ||
}, | ||
{ | ||
"nonce": "0x0", | ||
"gasPrice": "0x190", | ||
"gas": "0x0", | ||
"to": "0x0000000000000000000000000000000000000002", | ||
"value": "0x64", | ||
"input": "0x", | ||
"v": "0x1", | ||
"r": "0x2", | ||
"s": "0x3", | ||
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"from": "0x0000000000000000000000000000000000000001", | ||
"blockHash": "0x7935c790bdff1ec20912f28c9f7722eed41837c478a1f9ce0dc49f5d4a2d7c88", | ||
"blockNumber": "0x14", | ||
"transactionIndex": "0x1", | ||
"type": "0x0" | ||
} | ||
], | ||
"uncles": [], | ||
"baseFeePerGas": "0xc8" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"root": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"cumulativeGasUsed": "0x6d60", | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"logs": null, | ||
"status": "0x1", | ||
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionIndex": "0x0", | ||
"blockHash": "0x9a4931c84f077e3b77984b216ea409186811ad681f66a4ab2ca6be53fae9da82", | ||
"blockNumber": "0x14", | ||
"gasUsed": "0x6590", | ||
"contractAddress": "0x0000000000000000000000000000000000000003", | ||
"from": "0x0000000000000000000000000000000000000001", | ||
"to": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"root": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"cumulativeGasUsed": "0x6d60", | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"logs": null, | ||
"status": "0x1", | ||
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionIndex": "0x0", | ||
"blockHash": "0xc6434852d5086633921b6bb2d71c412dc9dc4f6c6c6d8b279903e1fbaba52f57", | ||
"blockNumber": "0xf", | ||
"gasUsed": "0x6590", | ||
"contractAddress": null, | ||
"from": "0x0000000000000000000000000000000000000001", | ||
"to": "0x0000000000000000000000000000000000000002" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"root": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"cumulativeGasUsed": "0x6d60", | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"logs": [ | ||
{ | ||
"address": "0x0000000000000000000000000000000000000002", | ||
"topics": [ | ||
"0x0000000000000000000000000000000000000000000000000000000000000100", | ||
"0x000000000000000000000000000000000000000000000000000000000000abcd" | ||
], | ||
"data": "0x4c6f72656d20497073756d20446f6c6f72", | ||
"blockNumber": "0x1e", | ||
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionIndex": "0x1", | ||
"blockHash": "0x6644e9031437757ffed25e1776c4a1c55ad953ff9875252b84746ae771c2c688", | ||
"logIndex": "0x0", | ||
"removed": false | ||
}, | ||
{ | ||
"address": "0x0000000000000000000000000000000000000002", | ||
"topics": [ | ||
"0x0000000000000000000000000000000000000000000000000000000000000100", | ||
"0x000000000000000000000000000000000000000000000000000000000000abcd" | ||
], | ||
"data": "0x4c6f72656d20497073756d20446f6c6f72", | ||
"blockNumber": "0x1e", | ||
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionIndex": "0x1", | ||
"blockHash": "0x6644e9031437757ffed25e1776c4a1c55ad953ff9875252b84746ae771c2c688", | ||
"logIndex": "0x1", | ||
"removed": false | ||
} | ||
], | ||
"status": "0x1", | ||
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"transactionIndex": "0x1", | ||
"blockHash": "0x6644e9031437757ffed25e1776c4a1c55ad953ff9875252b84746ae771c2c688", | ||
"blockNumber": "0x1e", | ||
"gasUsed": "0x6590", | ||
"contractAddress": null, | ||
"from": "0x0000000000000000000000000000000000000001", | ||
"to": "0x0000000000000000000000000000000000000002" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.