-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration_test: Fix state diff create selfdestruct (#241)
- Loading branch information
Showing
15 changed files
with
3,923 additions
and
3 deletions.
There are no files selected for viewing
Binary file modified
BIN
-461 KB
(47%)
integration/mainnet/trace_replayBlockTransactions/test_14.tar
Binary file not shown.
Binary file modified
BIN
+225 Bytes
(100%)
integration/mainnet/trace_replayBlockTransactions/test_19.tar
Binary file not shown.
Binary file modified
BIN
-914 Bytes
(100%)
integration/mainnet/trace_replayBlockTransactions/test_22.tar
Binary file not shown.
Binary file modified
BIN
+28 Bytes
(100%)
integration/mainnet/trace_replayBlockTransactions/test_24.tar
Binary file not shown.
Binary file not shown.
1,641 changes: 1,641 additions & 0 deletions
1,641
integration/mainnet/trace_replayBlockTransactions/test_27.json
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
1,641 changes: 1,641 additions & 0 deletions
1,641
integration/mainnet/trace_replayBlockTransactions/test_30.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
[ | ||
{ | ||
"request": { | ||
"id": 1, | ||
"jsonrpc": "2.0", | ||
"method": "trace_replayTransaction", | ||
"params": [ | ||
"0x66cfb9b3a5b54702b3a18594a03540c22e43dfb309fbd7ee771fa8e8cfd4f745", | ||
[ | ||
"stateDiff" | ||
] | ||
] | ||
}, | ||
"response": { | ||
"id": 1, | ||
"jsonrpc": "2.0", | ||
"result": { | ||
"output": "0x", | ||
"stateDiff": { | ||
"0x0eb85ab8c95ed4342a942275e2c4ead64e085a10": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": { | ||
"*": { | ||
"from": "0x1", | ||
"to": "0x2" | ||
} | ||
}, | ||
"storage": { | ||
"0xe2f395550274a49934aad176455c767f8f9efe0cfc646d29d178518dd0911b7a": { | ||
"*": { | ||
"from": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"to": "0x0000000000000000000000006fd8afb199f4660916215855c6c0e2767ff6415a" | ||
} | ||
} | ||
} | ||
}, | ||
"0x6fd8afb199f4660916215855c6c0e2767ff6415a": { | ||
"balance": { | ||
"+": "0x0" | ||
}, | ||
"code": { | ||
"+": "0x608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063414004d914610067578063963ca26e146100f757806399f949d714610154578063b4533c92146101e4575b600080fd5b34801561007357600080fd5b5061007c610241565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100bc5780820151818401526020810190506100a1565b50505050905090810190601f1680156100e95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561010357600080fd5b5061010c6102df565b604051808275ffffffffffffffffffffffffffffffffffffffffffff191675ffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561016057600080fd5b50610169610308565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101a957808201518184015260208101905061018e565b50505050905090810190601f1680156101d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f057600080fd5b506101f96103a6565b604051808275ffffffffffffffffffffffffffffffffffffffffffff191675ffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102d75780601f106102ac576101008083540402835291602001916102d7565b820191906000526020600020905b8154815290600101906020018083116102ba57829003601f168201915b505050505081565b6001600a9054906101000a90047601000000000000000000000000000000000000000000000281565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561039e5780601f106103735761010080835404028352916020019161039e565b820191906000526020600020905b81548152906001019060200180831161038157829003601f168201915b505050505081565b600160009054906101000a900476010000000000000000000000000000000000000000000002815600a165627a7a72305820c99b428184ad390ba39678c8d4115b17abd42908e95d737c582d6a0696e224900029" | ||
}, | ||
"nonce": { | ||
"+": "0x1" | ||
}, | ||
"storage": { | ||
"0x0000000000000000000000000000000000000000000000000000000000000000": { | ||
"+": "0x5052443130303032330000000000000000000000000000000000000000000012" | ||
}, | ||
"0x0000000000000000000000000000000000000000000000000000000000000001": { | ||
"+": "0x00000000000000000000000031322e31302e3230313830352e31302e32303138" | ||
}, | ||
"0x0000000000000000000000000000000000000000000000000000000000000002": { | ||
"+": "0x43415354454c504c414e494f0000000000000000000000000000000000000018" | ||
} | ||
} | ||
}, | ||
"0x8eb91ed4836f99d0bd4ad6c361ca9e204517c6a8": { | ||
"balance": { | ||
"*": { | ||
"from": "0x4cd89eb0f098c0", | ||
"to": "0x4717a5d27e6cc0" | ||
} | ||
}, | ||
"code": "=", | ||
"nonce": { | ||
"*": { | ||
"from": "0x30", | ||
"to": "0x31" | ||
} | ||
}, | ||
"storage": {} | ||
}, | ||
"0xea674fdde714fd979de3edf0f56aa9716b898ec8": { | ||
"balance": { | ||
"*": { | ||
"from": "0x240b811241a066c624", | ||
"to": "0x240b86d33a7ed8f224" | ||
} | ||
}, | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": {} | ||
} | ||
}, | ||
"trace": [], | ||
"transactionHash": "0x66cfb9b3a5b54702b3a18594a03540c22e43dfb309fbd7ee771fa8e8cfd4f745", | ||
"vmTrace": null | ||
} | ||
} | ||
} | ||
] |
199 changes: 199 additions & 0 deletions
199
integration/mainnet/trace_replayTransaction/test_32.json
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,199 @@ | ||
[ | ||
{ | ||
"request": { | ||
"id": 1, | ||
"jsonrpc": "2.0", | ||
"method": "trace_replayTransaction", | ||
"params": [ | ||
"0xc6ce2d9e6c6d20a2354bbc08f0da6421798600c2d927efb65f720003b8b295ad", | ||
[ | ||
"stateDiff" | ||
] | ||
] | ||
}, | ||
"response": { | ||
"id": 1, | ||
"jsonrpc": "2.0", | ||
"result": { | ||
"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000000000054ec3f8320000000000000000000000000000000000000000000000005db7201e8bac4ea10000000000000000000000000000000000000000000000000000018a4e319240", | ||
"stateDiff": { | ||
"0x1ad91ee08f21be3de0ba2ba6918e714da6b45836": { | ||
"balance": { | ||
"*": { | ||
"from": "0xdb557eb010e2aef698", | ||
"to": "0xdb55af18ffbf99e298" | ||
} | ||
}, | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": {} | ||
}, | ||
"0x6468e79a80c0eab0f9a2b574c8d5bc374af59414": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x8aae275981f4051722c02ee45902ef5691614292ad657e5aa9b221308e6dacf7": { | ||
"*": { | ||
"from": "0xfffffffffffffffffffffffffffffffffffffffffffff3b6168446c8b5a72513", | ||
"to": "0xffffffffffffffffffffffffffffffffffffffffffffd1d47877ab1d91a72513" | ||
} | ||
}, | ||
"0x98131ac9181f330b05c45473e3d01242de47da73e6ef2e63b80c5412480b1c8b": { | ||
"*": { | ||
"from": "0x0000000000000000000000000000000000000000000024160b99448b88133b14", | ||
"to": "0x0000000000000000000000000000000000000000000002346d8ca8e064133b14" | ||
} | ||
}, | ||
"0xedb43ec9134ec65b68117c70f52ff4aa42a02316a8828283644328e50f148dd4": { | ||
"*": { | ||
"from": "0x0000000000000000000000000000000000000000003066bd9178df64ded72f16", | ||
"to": "0x00000000000000000000000000000000000000000030889f2f857b1002d72f16" | ||
} | ||
} | ||
} | ||
}, | ||
"0x684b00a5773679f88598a19976fbeb25a68e9a5f": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x0000000000000000000000000000000000000000000000000000000000000008": { | ||
"*": { | ||
"from": "0x60919e94000000000000000007a03846eb740000003066bd9178df64ded72f16", | ||
"to": "0x6091a0040000000000000000079ae982f34200000030889f2f857b1002d72f16" | ||
} | ||
}, | ||
"0x0000000000000000000000000000000000000000000000000000000000000009": { | ||
"*": { | ||
"from": "0x00000000000000000000000000000000000000001e21385ac004506d044a96fc", | ||
"to": "0x00000000000000000000000000000000000000001e217255aaa0735a2917934c" | ||
} | ||
}, | ||
"0x000000000000000000000000000000000000000000000000000000000000000a": { | ||
"*": { | ||
"from": "0x00000000000000000006f8f25b92e2e2197667706a8a020aca4256b6e0e373f9", | ||
"to": "0x00000000000000000006f8fb7b451f16c549ae31874c7abb838b06853d5c8039" | ||
} | ||
} | ||
} | ||
}, | ||
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x28c0947f463362aab09a2d7896ccc847fb7e52633a16b978fb2caf3db1a9b8f8": { | ||
"*": { | ||
"from": "0x0000000000000000000000000000000000000000000000000000c85c6a46e6d5", | ||
"to": "0x0000000000000000000000000000000000000000000000000000c861b90adf07" | ||
} | ||
}, | ||
"0xf549ccb0ced49ffd82abc48f7b5682425fced3e45edca2897b43ddc69f2a8e61": { | ||
"*": { | ||
"from": "0x000000000000000000000000000000000000000000000000000007a03846eb74", | ||
"to": "0x0000000000000000000000000000000000000000000000000000079ae982f342" | ||
} | ||
} | ||
} | ||
}, | ||
"0xa52197856025b614ba5c3f88f5cd8739e09f049e": { | ||
"balance": { | ||
"*": { | ||
"from": "0x516f6021aa4271", | ||
"to": "0x21067144bf5671" | ||
} | ||
}, | ||
"code": "=", | ||
"nonce": { | ||
"*": { | ||
"from": "0x2b", | ||
"to": "0x2c" | ||
} | ||
}, | ||
"storage": {} | ||
}, | ||
"0xae1eaae3f627aaca434127644371b67b18444051": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0xe418fcf89c4e29c21e81fac9197d2b27cb0a0c20fc5618fab8cb0a3747aa512b": { | ||
"*": { | ||
"from": "0x000000000000000000000000000000000000000000000000000000721646a400", | ||
"to": "0x000000000000000000000000000000000000000000000000000001fc64783640" | ||
} | ||
}, | ||
"0xf97afa76c28180460b20cf1e4a04537713c21061488f28d7ff70ee21b31d5ec6": { | ||
"*": { | ||
"from": "0x0000000000000000000000000000000000000000000000000000666495dfa7f3", | ||
"to": "0x000000000000000000000000000000000000000000000000000064da47ae15b3" | ||
} | ||
} | ||
} | ||
}, | ||
"0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x0000000000000000000000000000000000000000000000000000000000000008": { | ||
"*": { | ||
"from": "0x60919fff000000000ddcb2780162f39f9a3d0000000000000000c85c6a46e6d5", | ||
"to": "0x6091a004000000000ddc54c0e14467f34b9c0000000000000000c861b90adf07" | ||
} | ||
}, | ||
"0x0000000000000000000000000000000000000000000000000000000000000009": { | ||
"*": { | ||
"from": "0x0000000000000000000000f955914380464ee2f8cc5935793d323046ee2c18e2", | ||
"to": "0x0000000000000000000000f955919c0f041becec95592ec8c9b26c763a759bcf" | ||
} | ||
}, | ||
"0x000000000000000000000000000000000000000000000000000000000000000a": { | ||
"*": { | ||
"from": "0x00000000000000000000000000000000000006c8332fd61c8e106e9a7218cda0", | ||
"to": "0x00000000000000000000000000000000000006c833781b116960926a91279991" | ||
} | ||
} | ||
} | ||
}, | ||
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x88209b72d366f9139c29dea1b0e4def764946acf7c0430a79a2f74b2364e109b": { | ||
"*": { | ||
"from": "0x000000000000000000000000000000000000000000000017e5df184b4701207c", | ||
"to": "0x00000000000000000000000000000000000000000000001843963869d2ad6f1d" | ||
} | ||
}, | ||
"0xb374801ace2c02f5db0425ab5920a2b7ed1d5a00abbcd395fda7530ba1d666c0": { | ||
"*": { | ||
"from": "0x000000000000000000000000000000000000000000000ddcb2780162f39f9a3d", | ||
"to": "0x000000000000000000000000000000000000000000000ddc54c0e14467f34b9c" | ||
} | ||
} | ||
} | ||
}, | ||
"0xd65e975c7d0d5871eff8b079120e43c9f377ada1": { | ||
"balance": "=", | ||
"code": "=", | ||
"nonce": "=", | ||
"storage": { | ||
"0x0000000000000000000000000000000000000000000000000000000000000008": { | ||
"*": { | ||
"from": "0x6091a004000000000017e5df184b4701207c0000000000000000666495dfa7f3", | ||
"to": "0x6091a00400000000001843963869d2ad6f1d000000000000000064da47ae15b3" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"trace": [], | ||
"transactionHash": "0xc6ce2d9e6c6d20a2354bbc08f0da6421798600c2d927efb65f720003b8b295ad", | ||
"vmTrace": null | ||
} | ||
} | ||
} | ||
] |
Oops, something went wrong.