Skip to content
3 changes: 3 additions & 0 deletions core/vm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ func (evm *EVM) GetDebug() bool {
}

func (evm *EVM) SetDebug(value bool) {
// Set both of these in sync since they refer to the same config data
// and are interchangeably used in the interpreter & evm.
evm.Config.Debug = value
evm.interpreter.cfg.Debug = value
}

// Call executes the contract associated with the addr with the given input as
Expand Down
27 changes: 27 additions & 0 deletions e2e_test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,33 @@ func TestBlockTracingConcurrentMapAccess(t *testing.T) {
wg.Wait()
}

// Sends and traces a single native transfer.
// Helpful for debugging issues in TestBlockTracingConcurrentMapAccess.
func TestBlockTracingSequentialAccess(t *testing.T) {
ac := test.AccountConfig(1, 2)
gc, ec, err := test.BuildConfig(ac)
require.NoError(t, err)
network, shutdown, err := test.NewNetwork(ac, gc, ec)
require.NoError(t, err)
defer shutdown()
ctx, cancel := context.WithTimeout(context.Background(), time.Second*300)
defer cancel()
n := network[0]
accounts := test.Accounts(ac.DeveloperAccounts(), gc.ChainConfig())
// Send one celo from external account 0 to 1 via node 0.
tx, err := accounts[0].SendCelo(ctx, accounts[1].Address, 1, n)
require.NoError(t, err)
// Wait for the whole network to process the transaction.
err = network.AwaitTransactions(ctx, tx)
require.NoError(t, err)
b := n.Tracker.GetProcessedBlockForTx(tx.Hash())
c, err := rpc.DialContext(ctx, n.WSEndpoint())
require.NoError(t, err)
var result []interface{}
err = c.CallContext(ctx, &result, "debug_traceBlockByNumber", hexutil.EncodeUint64(uint64(int(b.NumberU64()))))
require.NoError(t, err)
}

type rpcCustomTransaction struct {
BlockNumber *hexutil.Big `json:"blockNumber"`
BlockHash *common.Hash `json:"blockHash"`
Expand Down
49 changes: 49 additions & 0 deletions eth/tracers/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,55 @@ func TestTraceTransaction(t *testing.T) {
}
}

// Regression test for debug get/set logic in the EVM & Interpreter.
// Include registry to ensure that Celo-specific EVM Call's within
// Tobin Tax and fee distribution logic are triggered.
func TestTraceTransactionWithRegistryDeployed(t *testing.T) {
t.Parallel()

// Initialize test accounts
accounts := newAccounts(2)
genesis := &core.Genesis{Alloc: core.GenesisAlloc{
accounts[0].addr: {Balance: big.NewInt(params.Ether)},
accounts[1].addr: {Balance: big.NewInt(params.Ether)},
common.HexToAddress("0xce10"): { // Registry Proxy
Code: testutil.RegistryProxyOpcodes,
Storage: map[common.Hash]common.Hash{
common.HexToHash("0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc"): common.HexToHash("0xce11"), // Registry Implementation
common.HexToHash("0x91646b8507bf2e54d7c3de9155442ba111546b81af1cbdd1f68eeb6926b98d58"): common.HexToHash("0xd023"), // Governance Proxy
},
Balance: big.NewInt(0),
},
common.HexToAddress("0xce11"): { // Registry Implementation
Code: testutil.RegistryOpcodes,
Balance: big.NewInt(0),
},
}}

target := common.Hash{}
signer := types.HomesteadSigner{}
api := NewAPI(newTestBackend(t, 1, genesis, func(i int, b *core.BlockGen) {
// Transfer from account[0] to account[1]
// value: 1000 wei
// fee: 0 wei
tx, _ := types.SignTx(types.NewTransaction(uint64(i), accounts[1].addr, big.NewInt(1000), params.TxGas, nil, nil, nil, nil, nil), signer, accounts[0].key)
b.AddTx(tx)
target = tx.Hash()
}))
result, err := api.TraceTransaction(context.Background(), target, nil)
if err != nil {
t.Errorf("Failed to trace transaction %v", err)
}
if !reflect.DeepEqual(result, &ethapi.ExecutionResult{
Gas: params.TxGas,
Failed: false,
ReturnValue: "",
StructLogs: []ethapi.StructLogRes{},
}) {
t.Error("Transaction tracing result is different")
}
}

func TestTraceBlock(t *testing.T) {
t.Parallel()

Expand Down
11 changes: 6 additions & 5 deletions eth/tracers/testdata/call_tracer/create.json

Large diffs are not rendered by default.

19 changes: 7 additions & 12 deletions eth/tracers/testdata/call_tracer/deep_calls.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions eth/tracers/testdata/call_tracer/delegatecall.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"nonce": "1",
"storage": {}
},
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0xa529806c67cc6486d4d62024471772f47f6fd672": {
"balance": "0x67820e39ac8fe9800",
"code": "0x",
"nonce": "68",
Expand All @@ -43,7 +43,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
"hash": "0x0855914bdc581bccdc62591fd438498386ffb59ea4d5361ed5c3702e26e2c72f",
Expand All @@ -54,7 +55,7 @@
"timestamp": "1479735912",
"totalDifficulty": "90744064339"
},
"input": "0xf88a448504a817c800832dc6c08094269296dddce321a6bcbaa2f0181127593d732cba80a47065cb480000000000000000000000001523e55a1ca4efbae03355775ae89f8d7699ad9e2aa06abe4fd776b91cb479599b946e0a813be4fed0787c4f6cca12b3a8b64f996c7aa075e77565fccca9e28c79f4656d6da115d3bd358f0cd1b25d39ef6d7accdbfa2d",
"input": "0xf889448504a817c800832dc6c094269296dddce321a6bcbaa2f0181127593d732cba80a47065cb480000000000000000000000001523e55a1ca4efbae03355775ae89f8d7699ad9e29a080ed81e4c5e9971a730efab4885566e2c868cd80bd4166d0ed8c287fdf181650a069d7c49215e3d4416ad239cd09dbb71b9f04c16b33b385d14f40b618a7a65115",
"result": {
"calls": [
{
Expand All @@ -63,7 +64,7 @@
"from": "0x13204f5d64c28326fd7bd05fd4ea855302d7f2ff",
"gas": "0x2bf459",
"gasUsed": "0x2aa",
"input": "0x7d65837a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"input": "0x7d65837a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a529806c67cc6486d4d62024471772f47f6fd672",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"to": "0x42b02b5deeb78f34cd5ac896473b63e6c99a71a2",
"type": "DELEGATECALL"
Expand All @@ -72,18 +73,17 @@
"from": "0x269296dddce321a6bcbaa2f0181127593d732cba",
"gas": "0x2cae73",
"gasUsed": "0xa9d",
"input": "0x5dbe47e8000000000000000000000000a94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"input": "0x5dbe47e8000000000000000000000000a529806c67cc6486d4d62024471772f47f6fd672",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
"to": "0x13204f5d64c28326fd7bd05fd4ea855302d7f2ff",
"type": "CALL",
"value": "0x0"
}
],
"from": "0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"from": "0xa529806c67cc6486d4d62024471772f47f6fd672",
"gas": "0x2d6e28",
"gasUsed": "0x64bd",
"input": "0x7065cb480000000000000000000000001523e55a1ca4efbae03355775ae89f8d7699ad9e",
"output": "0x",
"to": "0x269296dddce321a6bcbaa2f0181127593d732cba",
"type": "CALL",
"value": "0x0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3451177886",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
1 change: 1 addition & 0 deletions eth/tracers/testdata/call_tracer/inner_instafail.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"config": {
"chainId": 3,
"homesteadBlock": 0,
"donutBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
Expand Down
11 changes: 6 additions & 5 deletions eth/tracers/testdata/call_tracer/inner_throw_outer_revert.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x000000000000000000000000000000000000000000000000000000005a3b38e6"
}
},
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0xd4fcab9f0a6dc0493af47c864f6f17a8a5e2e826": {
"balance": "0x2a2dd979a35cf000",
"code": "0x",
"nonce": "0",
Expand All @@ -38,7 +38,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x566961425443",
"hash": "0x6f37eb930a25da673ea1bb80fd9e32ddac19cdf7cd4bb2eac62cc13598624077",
Expand All @@ -49,22 +50,22 @@
"timestamp": "1513681246",
"totalDifficulty": "7162347056825919"
},
"input": "0xf86e808504e3b292008307dfa6809433056b5dcac09a9b4becad0e1dcf92c19bd0af76880e92596fd6290000802aa02984625ecd92a9c9b0e64e11354ac402fe46be84e76b0cb321daaf017c562169a01a6d683dec97fc72bf90b220281c963af825e1b103dfe4176ac87393847b5aa4",
"input": "0xf86d808504e3b292008307dfa69433056b5dcac09a9b4becad0e1dcf92c19bd0af76880e92596fd62900008029a0e5f27bb66431f7081bb7f1f242003056d7f3f35414c352cd3d1848b52716dac2a07d0be78980edb0bd2a0678fc53aa90ea9558ce346b0d947967216918ac74ccea",
"result": {
"calls": [
{
"error": "invalid opcode: opcode 0xfe not defined",
"from": "0x33056b5dcac09a9b4becad0e1dcf92c19bd0af76",
"gas": "0x75fe3",
"gasUsed": "0x75fe3",
"input": "0xa9059cbb000000000000000000000000a94f5374Fce5edBC8E2a8697C15331677e6EbF0B00000000000000000000000000000000000000000000000000000000000002f4",
"input": "0xa9059cbb000000000000000000000000d4fcab9f0a6dc0493af47c864f6f17a8a5e2e82600000000000000000000000000000000000000000000000000000000000002f4",
"to": "0xe819f024b41358d2c08e3a868a5c5dd0566078d4",
"type": "CALL",
"value": "0x0"
}
],
"error": "execution reverted",
"from": "0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"from": "0xd4fcab9f0a6dc0493af47c864f6f17a8a5e2e826",
"gas": "0x78d9e",
"gasUsed": "0x76fc0",
"input": "0x",
Expand Down
9 changes: 5 additions & 4 deletions eth/tracers/testdata/call_tracer/oog.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"0x296b66049cc4f9c8bf3d4f14752add261d1a980b39bdd194a7897baf39ac7579": "0x0000000000000000000000000000000000000000033b2e3c9fc9653f9e72b1e0"
}
},
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0x94194bc2aaf494501d7880b61274a169f6502a54": {
"balance": "0xea8c39a876d19888d",
"code": "0x",
"nonce": "265",
Expand All @@ -29,7 +29,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0x03a0f62a8106793dafcfae7b75fd2654322062d585a19cea568314d7205790dc",
Expand All @@ -40,10 +41,10 @@
"timestamp": "1513675347",
"totalDifficulty": "7160543502214733"
},
"input": "0xf8ac820109855d21dba00082ca1d809443064693d3d38ad6a7cb579e0d6d9718c8aa6b6280b844a9059cbb000000000000000000000000e77b1ac803616503510bed0086e3a7be2627a69900000000000000000000000000000000000000000000000000000009502f90002aa0484a5afb71cdbc5c9430658ce75cd5020beb704312edd40a426222a3179bfa69a063323c4addf3df546cf5b4738cc3c1560ac280d949dabfacd521417e45a8af2f",
"input": "0xf8ab820109855d21dba00082ca1d9443064693d3d38ad6a7cb579e0d6d9718c8aa6b6280b844a9059cbb000000000000000000000000e77b1ac803616503510bed0086e3a7be2627a69900000000000000000000000000000000000000000000000000000009502f90001ba0ce3ad83f5530136467b7c2bb225f406bd170f4ad59c254e5103c34eeabb5bd69a0455154527224a42ab405cacf0fe92918a75641ce4152f8db292019a5527aa956",
"result": {
"error": "out of gas",
"from": "0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"from": "0x94194bc2aaf494501d7880b61274a169f6502a54",
"gas": "0x7045",
"gasUsed": "0x7045",
"input": "0xa9059cbb000000000000000000000000e77b1ac803616503510bed0086e3a7be2627a69900000000000000000000000000000000000000000000000000000009502f9000",
Expand Down
9 changes: 5 additions & 4 deletions eth/tracers/testdata/call_tracer/revert.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"genesis": {
"alloc": {
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0x0f6cef2b7fbb504782e35aa82a2207e816a2b7a9": {
"balance": "0x2a3fc32bcc019283",
"code": "0x",
"nonce": "10",
Expand All @@ -27,7 +27,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
"hash": "0xa07b3d6c6bf63f5f981016db9f2d1d93033833f2c17e8bf7209e85f1faf08076",
Expand All @@ -38,10 +39,10 @@
"timestamp": "1513673552",
"totalDifficulty": "7160066586979149"
},
"input": "0xf9018c0a8505d21dba00832dc6c08094abbcd5b340c80b5f1c0545c04c987b87310296ae80b9012473b40a5c000000000000000000000000400de2e016bda6577407dfc379faba9899bc73ef0000000000000000000000002cc31912b2b0f3075a87b3640923d45a26cef3ee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d79d8e6c7265636f76657279416464726573730000000000000000000000000000000000000000000000000000000000383e3ec32dc0f66d8fe60dbdc2f6815bdf73a988383e3ec32dc0f66d8fe60dbdc2f6815bdf73a9880000000000000000000000000000000000000000000000000000000000000000000000000000000029a0f73975fdfee7eefd964700992ff4c084980ab08c7f425f8e0786ba168505ec90a01f6aa24088453a5762e4281af7bf111be5b62cb64f58e6aaa85dc5137a50e6a4",
"input": "0xf9018b0a8505d21dba00832dc6c094abbcd5b340c80b5f1c0545c04c987b87310296ae80b9012473b40a5c000000000000000000000000400de2e016bda6577407dfc379faba9899bc73ef0000000000000000000000002cc31912b2b0f3075a87b3640923d45a26cef3ee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d79d8e6c7265636f76657279416464726573730000000000000000000000000000000000000000000000000000000000383e3ec32dc0f66d8fe60dbdc2f6815bdf73a988383e3ec32dc0f66d8fe60dbdc2f6815bdf73a988000000000000000000000000000000000000000000000000000000000000000000000000000000001ba0fd659d76a4edbd2a823e324c93f78ad6803b30ff4a9c8bce71ba82798975c70ca06571eecc0b765688ec6c78942c5ee8b585e00988c0141b518287e9be919bc48a",
"result": {
"error": "execution reverted",
"from": "0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B",
"from": "0x0f6cef2b7fbb504782e35aa82a2207e816a2b7a9",
"gas": "0x2d55e8",
"gasUsed": "0xc3",
"input": "0x73b40a5c000000000000000000000000400de2e016bda6577407dfc379faba9899bc73ef0000000000000000000000002cc31912b2b0f3075a87b3640923d45a26cef3ee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d79d8e6c7265636f76657279416464726573730000000000000000000000000000000000000000000000000000000000383e3ec32dc0f66d8fe60dbdc2f6815bdf73a988383e3ec32dc0f66d8fe60dbdc2f6815bdf73a98800000000000000000000000000000000000000000000000000000000000000000000000000000000",
Expand Down
5 changes: 3 additions & 2 deletions eth/tracers/testdata/call_tracer/revert_reason.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand All @@ -54,7 +55,7 @@
"error": "execution reverted",
"from": "0xf7579c3d8a669c89d5ed246a22eb6db8f6fedbf1",
"gas": "0x2d7308",
"gasUsed": "0x588",
"gasUsed": "0x330",
"input": "0x5c19a95c000000000000000000000000f7579c3d8a669c89d5ed246a22eb6db8f6fedbf1",
"to": "0xf58833cf0c791881b494eb79d461e08a1f043f52",
"type": "CALL",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/testdata/call_tracer/selfdestruct.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/testdata/call_tracer/simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3509749784",
"extraData": "0x4554482e45544846414e532e4f52472d4641313738394444",
Expand Down
9 changes: 5 additions & 4 deletions eth/tracers/testdata/call_tracer/throw.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"genesis": {
"alloc": {
"0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B": {
"0x70c9217d814985faef62b124420f8dfbddd96433": {
"balance": "0x4ecd70668f5d854a",
"code": "0x",
"nonce": "1638",
Expand All @@ -19,7 +19,7 @@
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x0000000000000000000000002cccf5e0538493c235d1c5ef6580f77d99e91396",
"0x0000000000000000000000000000000000000000000000000000000000000002": "0x00000000000000000000000000000000000000000000000000000000000061a9",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x000000000000000000000000a94f5374Fce5edBC8E2a8697C15331677e6EbF0B"
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x00000000000000000000000070c9217d814985faef62b124420f8dfbddd96433"
}
}
},
Expand All @@ -31,7 +31,8 @@
"eip150Hash": "0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d",
"eip155Block": 10,
"eip158Block": 10,
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
"hash": "0xe23e8d4562a1045b70cbc99fefb20c101a8f0fc8559a80d65fea8896e2f1d46e",
Expand All @@ -41,7 +42,7 @@
"timestamp": "1479891641",
"totalDifficulty": "1896347038589"
},
"input": "f88c8206668504a817c8008303d0908094c212e03b9e060e36facad5fd8f4435412ca22e6b80a451a34eb8000000000000000000000000000000000000000000000027fad02094277c000029a0c6eaa9538e3b268ded218604fc7d54cd27a9d83236aad7b7527fffff9407a37ba002e6c5dd5e86ed2e432116c62af4ae7d4300f1c63d0b053ea2747849bf4d2ccb",
"input": "0xf88b8206668504a817c8008303d09094c212e03b9e060e36facad5fd8f4435412ca22e6b80a451a34eb8000000000000000000000000000000000000000000000027fad02094277c000029a0692a3b4e7b2842f8dd7832e712c21e09f451f416c8976d5b8d02e8c0c2b4bea9a07645e90fc421b63dd755767fd93d3c03b4ec0c4d8fafa059558d08cf11d59750",
"result": {
"error": "invalid jump destination",
"from": "0x70c9217d814985faef62b124420f8dfbddd96433",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/testdata/call_tracer_legacy/create.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "3757315409",
"extraData": "0x566961425443",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/testdata/call_tracer_legacy/deep_calls.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "117124093",
"extraData": "0xd5830105008650617269747986312e31322e31826d61",
Expand Down
3 changes: 2 additions & 1 deletion eth/tracers/testdata/call_tracer_legacy/delegatecall.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"eip155Block": 10,
"eip158Block": 10,
"ethash": {},
"homesteadBlock": 0
"homesteadBlock": 0,
"donutBlock": 0
},
"difficulty": "31912170",
"extraData": "0xd783010502846765746887676f312e372e33856c696e7578",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"petersburgBlock": 4939394,
"istanbulBlock": 6485846,
"muirGlacierBlock": 7117117,
"donutBlock": 0,
"ethash": {}
}
},
Expand Down
Loading