-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
1,042 additions
and
625 deletions.
There are no files selected for viewing
645 changes: 345 additions & 300 deletions
645
BlockchainTests/ValidBlocks/bcTotalDifficultyTest/lotsOfBranchesOverrideAtTheEnd.json
Large diffs are not rendered by default.
Oops, something went wrong.
651 changes: 348 additions & 303 deletions
651
BlockchainTests/ValidBlocks/bcTotalDifficultyTest/lotsOfBranchesOverrideAtTheMiddle.json
Large diffs are not rendered by default.
Oops, something went wrong.
280 changes: 280 additions & 0 deletions
280
BlockchainTests/ValidBlocks/bcValidBlockTest/reentrencySuicide.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
62 changes: 62 additions & 0 deletions
62
src/BlockchainTestsFiller/ValidBlocks/bcValidBlockTest/reentrencySuicideFiller.yml
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,62 @@ | ||
--- | ||
reentrencySuicide: | ||
genesisBlockHeader: | ||
bloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' | ||
coinbase: '0x8888f1f195afa192cfee860698584c030f4c9db1' | ||
difficulty: '231072' | ||
extraData: '0x42' | ||
gasLimit: '31415920000' | ||
gasUsed: '0' | ||
mixHash: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421' | ||
nonce: '0x0102030405060708' | ||
number: '0' | ||
parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000' | ||
receiptTrie: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421' | ||
stateRoot: '0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a' | ||
timestamp: '0x54c98c81' | ||
transactionsTrie: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421' | ||
uncleHash: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347' | ||
sealEngine: NoProof | ||
expect: | ||
- network: | ||
- ">=Merge" | ||
result: | ||
'0x000000000000000000000000000000000000c0de': | ||
shouldnotexist: '1' | ||
'0x000000000000000000000000000000000000000a': | ||
balance: '1' | ||
'0x000000000000000000000000000000000000000b': | ||
balance: '2' | ||
|
||
pre: | ||
'0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b': | ||
balance: '100000000000' | ||
nonce: '0' | ||
code: '' | ||
storage: {} | ||
'0x095e7baea6a6c7c4c2dfeb977efac326af552d87': | ||
balance: '100' | ||
nonce: '0' | ||
code: | | ||
{ | ||
(MSTORE 0 10) (CALL (GAS) 0xc0de 1 0 32 0 0) | ||
(MSTORE 0 0x000000000000000000000000000000000000c0de) (CALL (GAS) 0xc0de 3 0 32 0 0) | ||
(MSTORE 0 11) (CALL (GAS) 0xc0de 2 0 32 0 0) | ||
} | ||
storage: {} | ||
'0x000000000000000000000000000000000000c0de': | ||
balance: '0' | ||
nonce: '0' | ||
code: "{ (SELFDESTRUCT (CALLDATALOAD 0)) }" | ||
storage: {} | ||
blocks: | ||
- transactions: | ||
- data: '' | ||
gasLimit: '500000000' | ||
gasPrice: '100' | ||
nonce: '0' | ||
secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8 | ||
to: '0x095e7baea6a6c7c4c2dfeb977efac326af552d87' | ||
value: '0' | ||
uncleHeaders: [] | ||
|