mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
e13a318e0b
* evm t8n tool to use ExecuteBlockEphemerally api (#4512) * fix to set V, R, S in legacy transaction * fix to dump post-execution alloc for evm t8n * close tx in evm t8n * populate current difficulty and gas used in output result - update the ExecutionResult to include corresponding info (like Difficulty/GasUsed) * initial attempt at migrating 'evm t8n' to use ExecuteBlockEphemerally * using ExecutionResult in ExecuteBlockEphemerally * bypass validations and integrate with EphemeralExecResult * fixing output of 'evm t8n' - remaining bits are "stateRoot" in results.txt and "balance" field for one account in alloc.txt (for testdata=1) * get ExecuteBlockEphemerally to accept getTracer lambda * fix build failure * test cases for evm t8n * more test cases for evm t8n * fix stateRoot computation in evm t8n * remove reward argument, as EBE itself takes care of it * final cleanups for migration to using ExecuteBlockEphemerally * change EBEforBSC to match EBE * fix linter issues * manually revert an unwanted diff * avoid calculating ReceiptHash twice * linter check * minor correction * remove unnecessary logic in EBEforBsc * fix integration tests * fix build
70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
[
|
|
{
|
|
"input" : "0x",
|
|
"gas" : "0x10000001",
|
|
"nonce" : "0x1",
|
|
"to" : "0x1111111111111111111111111111111111111111",
|
|
"value" : "0x0",
|
|
"v" : "0x0",
|
|
"r" : "0x7a45f00bcde9036b026cdf1628b023cd8a31a95c62b5e4dbbee2fa7debe668fb",
|
|
"s" : "0x3cc9d6f2cd00a045b0263f2d6dad7d60938d5d13d061af4969f95928aa934d4a",
|
|
"secretKey" : "0x41f6e321b31e72173f8ff2e292359e1862f24fba42fe6f97efaf641980eff298",
|
|
"chainId" : "0x1",
|
|
"type" : "0x2",
|
|
"maxFeePerGas" : "0xfa0",
|
|
"maxPriorityFeePerGas" : "0x0",
|
|
"accessList" : [
|
|
]
|
|
},
|
|
{
|
|
"input" : "0x",
|
|
"gas" : "0x10000000",
|
|
"nonce" : "0x2",
|
|
"to" : "0x1111111111111111111111111111111111111111",
|
|
"value" : "0x0",
|
|
"v" : "0x0",
|
|
"r" : "0x4c564b94b0281a8210eeec2dd1fe2e16ff1c1903a8c3a1078d735d7f8208b2af",
|
|
"s" : "0x56432b2593e6de95db1cb997b7385217aca03f1615327e231734446b39f266d",
|
|
"secretKey" : "0x41f6e321b31e72173f8ff2e292359e1862f24fba42fe6f97efaf641980eff298",
|
|
"chainId" : "0x1",
|
|
"type" : "0x2",
|
|
"maxFeePerGas" : "0xfa0",
|
|
"maxPriorityFeePerGas" : "0x0",
|
|
"accessList" : [
|
|
]
|
|
},
|
|
{
|
|
"input" : "0x",
|
|
"gas" : "0x10000000",
|
|
"nonce" : "0x3",
|
|
"to" : "0x1111111111111111111111111111111111111111",
|
|
"value" : "0x0",
|
|
"v" : "0x0",
|
|
"r" : "0x2ed2ef52f924f59d4a21e1f2a50d3b1109303ce5e32334a7ece9b46f4fbc2a57",
|
|
"s" : "0x2980257129cbd3da987226f323d50ba3975a834d165e0681f991b75615605c44",
|
|
"secretKey" : "0x41f6e321b31e72173f8ff2e292359e1862f24fba42fe6f97efaf641980eff298",
|
|
"chainId" : "0x1",
|
|
"type" : "0x2",
|
|
"maxFeePerGas" : "0xfa0",
|
|
"maxPriorityFeePerGas" : "0x0",
|
|
"accessList" : [
|
|
]
|
|
},
|
|
{
|
|
"input" : "0x",
|
|
"gas" : "0x10000000",
|
|
"nonce" : "0x4",
|
|
"to" : "0x1111111111111111111111111111111111111111",
|
|
"value" : "0x0",
|
|
"v" : "0x0",
|
|
"r" : "0x5df7d7f8f8e15b36fc9f189cacb625040fad10398d08fc90812595922a2c49b2",
|
|
"s" : "0x565fc1803f77a84d754ffe3c5363ab54a8d93a06ea1bb9d4c73c73a282b35917",
|
|
"secretKey" : "0x41f6e321b31e72173f8ff2e292359e1862f24fba42fe6f97efaf641980eff298",
|
|
"chainId" : "0x1",
|
|
"type" : "0x2",
|
|
"maxFeePerGas" : "0xfa0",
|
|
"maxPriorityFeePerGas" : "0x0",
|
|
"accessList" : [
|
|
]
|
|
}
|
|
] |