mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
Added code to generate prestate test from RPC nodes
Alchemy and QuickNode offers `debug_traceTransaction` that we need, use one of them with a paid plan to generate prestate tests.
This commit is contained in:
parent
b567b08329
commit
9bf4d2482f
4 changed files with 542 additions and 294 deletions
|
|
@ -0,0 +1,257 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"math/big"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/ethereum/go-ethereum"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/common/math"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"github.com/ethereum/go-ethereum/rpc"
|
||||
"golang.org/x/exp/maps"
|
||||
)
|
||||
|
||||
var configByName = map[string]*params.ChainConfig{
|
||||
"mainnet": params.MainnetChainConfig,
|
||||
"goerli": params.GoerliChainConfig,
|
||||
"sepolia": params.SepoliaChainConfig,
|
||||
"holesky": params.HoleskyChainConfig,
|
||||
}
|
||||
|
||||
func main() {
|
||||
ensure(len(os.Args) == 3, "Usage: generate-prestate <network> <tx-hash>")
|
||||
|
||||
config, found := configByName[os.Args[1]]
|
||||
ensure(found, "Unknown network %q, valid networks are %q", os.Args[1], strings.Join(maps.Keys(configByName), ", "))
|
||||
|
||||
endpoint := os.Getenv("ARCHIVE_ENDPOINT")
|
||||
ensure(endpoint != "", "ARCHIVE_ENDPOINT environment variable is not set")
|
||||
|
||||
txHash := common.HexToHash(os.Args[2])
|
||||
ensure(txHash.Big().Sign() != 0, "Argument %q is not a valid transaction hash", os.Args[1])
|
||||
|
||||
client, err := rpc.DialOptions(context.Background(), endpoint)
|
||||
noError(err, "Failed to connect to RPC server")
|
||||
|
||||
log("Fetching transaction %q...", txHash.Hex())
|
||||
tx, blockHash, err := transactionByHash(context.Background(), client, txHash)
|
||||
noError(err, "Failed to get transaction %q by hash", txHash)
|
||||
|
||||
log("Fetching block %q...", txHash.Hex())
|
||||
block, err := blockByHash(context.Background(), client, blockHash)
|
||||
noError(err, "Failed to get block %q by hash", blockHash)
|
||||
|
||||
log("Fetching parent block %q...", txHash.Hex())
|
||||
parentBlock, err := blockByHash(context.Background(), client, block.ParentHash())
|
||||
noError(err, "Failed to get parent block %q by hash", block.ParentHash())
|
||||
|
||||
log("Collecting transaction prestate trace...")
|
||||
var prestateTrace types.GenesisAlloc
|
||||
err = client.Call(&prestateTrace, "debug_traceTransaction", txHash, map[string]interface{}{
|
||||
"tracer": "prestateTracer",
|
||||
})
|
||||
noError(err, "Failed to trace transaction %q with prestateTracer", txHash)
|
||||
|
||||
prestateTest := &PrestateTest{
|
||||
// Our genesis block is the parent block
|
||||
Genesis: parentBlock,
|
||||
Block: block,
|
||||
Alloc: prestateTrace,
|
||||
Config: config,
|
||||
Tx: tx,
|
||||
}
|
||||
|
||||
output, err := json.MarshalIndent(prestateTest, "", " ")
|
||||
noError(err, "Failed to marshal prestate test to JSON")
|
||||
|
||||
fmt.Println(string(output))
|
||||
}
|
||||
|
||||
type PrestateTest struct {
|
||||
Genesis *rpcBlock
|
||||
Block *rpcBlock
|
||||
Alloc types.GenesisAlloc
|
||||
Config *params.ChainConfig
|
||||
Tx *types.Transaction
|
||||
}
|
||||
|
||||
func (b *PrestateTest) MarshalJSON() ([]byte, error) {
|
||||
genesis := b.Genesis.Fields
|
||||
|
||||
for k, v := range genesis {
|
||||
if v == nil {
|
||||
delete(genesis, k)
|
||||
}
|
||||
}
|
||||
|
||||
delete(genesis, "gasUsed")
|
||||
delete(genesis, "logsBloom")
|
||||
delete(genesis, "parentHash")
|
||||
delete(genesis, "receiptsRoot")
|
||||
delete(genesis, "sha3Uncles")
|
||||
delete(genesis, "size")
|
||||
delete(genesis, "transactions")
|
||||
delete(genesis, "transactionsRoot")
|
||||
delete(genesis, "uncles")
|
||||
|
||||
genesis["gasLimit"] = hexToIntegerString(genesis["gasLimit"].(string))
|
||||
genesis["number"] = hexToIntegerString(genesis["number"].(string))
|
||||
genesis["timestamp"] = hexToIntegerString(genesis["timestamp"].(string))
|
||||
genesis["difficulty"] = hexToIntegerString(genesis["difficulty"].(string))
|
||||
genesis["totalDifficulty"] = hexToIntegerString(genesis["totalDifficulty"].(string))
|
||||
|
||||
if found := genesis["baseFeePerGas"]; found != nil {
|
||||
genesis["baseFeePerGas"] = hexToIntegerString(genesis["baseFeePerGas"].(string))
|
||||
}
|
||||
|
||||
marshaledAlloc, err := json.Marshal(b.Alloc)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var allocOut map[string]any
|
||||
if err = json.Unmarshal(marshaledAlloc, &allocOut); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
for _, account := range allocOut {
|
||||
details := account.(map[string]any)
|
||||
for k, v := range details {
|
||||
if k == "nonce" {
|
||||
details["nonce"] = hexToIntegerString(v.(string))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
genesis["alloc"] = allocOut
|
||||
genesis["config"] = b.Config
|
||||
|
||||
context := map[string]any{
|
||||
"number": hexToIntegerString(b.Block.Fields["number"].(string)),
|
||||
"difficulty": hexToIntegerString(b.Block.Fields["difficulty"].(string)),
|
||||
"timestamp": hexToIntegerString(b.Block.Fields["timestamp"].(string)),
|
||||
"gasLimit": hexToIntegerString(b.Block.Fields["gasLimit"].(string)),
|
||||
"miner": b.Block.Fields["miner"],
|
||||
}
|
||||
|
||||
if found := b.Block.Fields["baseFeePerGas"]; found != nil {
|
||||
context["baseFeePerGas"] = hexToIntegerString(b.Block.Fields["baseFeePerGas"].(string))
|
||||
}
|
||||
|
||||
txBuffer := bytes.NewBuffer(nil)
|
||||
rlp.Encode(txBuffer, b.Tx)
|
||||
|
||||
out := map[string]any{}
|
||||
out["genesis"] = genesis
|
||||
out["context"] = context
|
||||
out["input"] = "0x" + hex.EncodeToString(txBuffer.Bytes())
|
||||
|
||||
return json.Marshal(out)
|
||||
}
|
||||
|
||||
func hexToIntegerString(in string) string {
|
||||
value := math.HexOrDecimal256{}
|
||||
noError(value.UnmarshalText([]byte(in)), "Failed to parse hex value %q", in)
|
||||
|
||||
return (*big.Int)(&value).String()
|
||||
}
|
||||
|
||||
type CallTrace struct {
|
||||
From string `json:"from"`
|
||||
Gas string `json:"gas"`
|
||||
GasUsed string `json:"gasUsed"`
|
||||
To string `json:"to"`
|
||||
Input string `json:"input"`
|
||||
Value string `json:"value"`
|
||||
Type string `json:"type"`
|
||||
Output string `json:"output,omitempty"`
|
||||
|
||||
Calls []CallTrace `json:"calls"`
|
||||
}
|
||||
|
||||
func blockByHash(ctx context.Context, ec *rpc.Client, hash common.Hash) (*rpcBlock, error) {
|
||||
var out rpcBlock
|
||||
err := ec.CallContext(ctx, &out.Fields, "eth_getBlockByHash", hash, false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
} else if out.Fields == nil {
|
||||
return nil, ethereum.NotFound
|
||||
}
|
||||
|
||||
return &out, nil
|
||||
}
|
||||
|
||||
type rpcBlock struct {
|
||||
Fields map[string]any
|
||||
}
|
||||
|
||||
func (b *rpcBlock) ParentHash() common.Hash {
|
||||
return common.HexToHash(b.Fields["parentHash"].(string))
|
||||
}
|
||||
|
||||
func transactionByHash(ctx context.Context, ec *rpc.Client, hash common.Hash) (tx *types.Transaction, blockHash common.Hash, err error) {
|
||||
var json *rpcTransaction
|
||||
err = ec.CallContext(ctx, &json, "eth_getTransactionByHash", hash)
|
||||
if err != nil {
|
||||
return nil, common.Hash{}, err
|
||||
} else if json == nil {
|
||||
return nil, common.Hash{}, ethereum.NotFound
|
||||
} else if _, r, _ := json.tx.RawSignatureValues(); r == nil {
|
||||
return nil, common.Hash{}, errors.New("server returned transaction without signature")
|
||||
}
|
||||
|
||||
if json.BlockHash == nil {
|
||||
return nil, common.Hash{}, errors.New("server returned transaction without block hash")
|
||||
}
|
||||
|
||||
return json.tx, *json.BlockHash, nil
|
||||
}
|
||||
|
||||
type rpcTransaction struct {
|
||||
tx *types.Transaction
|
||||
txExtraInfo
|
||||
}
|
||||
|
||||
type txExtraInfo struct {
|
||||
BlockNumber *string `json:"blockNumber,omitempty"`
|
||||
BlockHash *common.Hash `json:"blockHash,omitempty"`
|
||||
From *common.Address `json:"from,omitempty"`
|
||||
}
|
||||
|
||||
func (tx *rpcTransaction) UnmarshalJSON(msg []byte) error {
|
||||
if err := json.Unmarshal(msg, &tx.tx); err != nil {
|
||||
return err
|
||||
}
|
||||
return json.Unmarshal(msg, &tx.txExtraInfo)
|
||||
}
|
||||
|
||||
func log(message string, args ...interface{}) {
|
||||
fmt.Fprintf(os.Stderr, message+"\n", args...)
|
||||
}
|
||||
|
||||
func ensure(condition bool, message string, args ...interface{}) {
|
||||
if !condition {
|
||||
quit(message, args...)
|
||||
}
|
||||
}
|
||||
|
||||
func noError(err error, message string, args ...interface{}) {
|
||||
if err != nil {
|
||||
quit(message+": "+err.Error(), args...)
|
||||
}
|
||||
}
|
||||
|
||||
func quit(message string, args ...interface{}) {
|
||||
fmt.Printf(message+"\n", args...)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
@ -1,116 +1,13 @@
|
|||
{
|
||||
"genesis": {
|
||||
"baseFeePerGas": "14",
|
||||
"context": {
|
||||
"baseFeePerGas": "13",
|
||||
"difficulty": "0",
|
||||
"extraData": "0x6769756c696f207761732068657265",
|
||||
"gasLimit": "30000000",
|
||||
"hash": "0xff41623ef4e84cea4e957676a0b7e5868f1480e343ad533914133c448157764c",
|
||||
"miner": "0x008b3b2f992c0e14edaa6e2c662bec549caa8df1",
|
||||
"mixHash": "0xf04431d1d4ccb65f5d1b2e88ec010737ae82d68426b287a7158b9b16aa45a0bc",
|
||||
"nonce": "0x0000000000000000",
|
||||
"number": "3727494",
|
||||
"stateRoot": "0xe3f9e4ff1577f21330eded302784f548f6fed4d4ca7a1f6884dde9ad38743279",
|
||||
"timestamp": "1687217016",
|
||||
"totalDifficulty": "17000018015853232",
|
||||
"withdrawals": [
|
||||
{
|
||||
"index": "0xb3bf91",
|
||||
"validatorIndex": "0x38b",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5"
|
||||
"miner": "0x0000006916a87b82333f4245046623b23794c65c",
|
||||
"number": "3727495",
|
||||
"timestamp": "1687217028"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf92",
|
||||
"validatorIndex": "0x38c",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf93",
|
||||
"validatorIndex": "0x38d",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf94",
|
||||
"validatorIndex": "0x38e",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf95",
|
||||
"validatorIndex": "0x38f",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf96",
|
||||
"validatorIndex": "0x390",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf97",
|
||||
"validatorIndex": "0x391",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf98",
|
||||
"validatorIndex": "0x392",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf99",
|
||||
"validatorIndex": "0x393",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x25b2b"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9a",
|
||||
"validatorIndex": "0x394",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9b",
|
||||
"validatorIndex": "0x395",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9c",
|
||||
"validatorIndex": "0x396",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9d",
|
||||
"validatorIndex": "0x397",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9e",
|
||||
"validatorIndex": "0x398",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bf9f",
|
||||
"validatorIndex": "0x399",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a"
|
||||
},
|
||||
{
|
||||
"index": "0xb3bfa0",
|
||||
"validatorIndex": "0x39a",
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2ecf0"
|
||||
}
|
||||
],
|
||||
"withdrawalsRoot": "0xceabf2dc1561db0f29da25b6282082e5353c2f594942cfdcdccfeb176542411c",
|
||||
"genesis": {
|
||||
"alloc": {
|
||||
"0x0000006916a87b82333f4245046623b23794c65c": {
|
||||
"balance": "0x1e728a51547e9fbc10ba7",
|
||||
|
|
@ -131,44 +28,138 @@
|
|||
"nonce": "5"
|
||||
}
|
||||
},
|
||||
"baseFeePerGas": "14",
|
||||
"config": {
|
||||
"berlinBlock": 0,
|
||||
"byzantiumBlock": 0,
|
||||
"cancunTime": 1706655072,
|
||||
"chainId": 11155111,
|
||||
"homesteadBlock": 0,
|
||||
"constantinopleBlock": 0,
|
||||
"daoForkSupport": true,
|
||||
"eip150Block": 0,
|
||||
"eip155Block": 0,
|
||||
"eip158Block": 0,
|
||||
"byzantiumBlock": 0,
|
||||
"constantinopleBlock": 0,
|
||||
"petersburgBlock": 0,
|
||||
"ethash": {},
|
||||
"homesteadBlock": 0,
|
||||
"istanbulBlock": 0,
|
||||
"muirGlacierBlock": 0,
|
||||
"berlinBlock": 0,
|
||||
"londonBlock": 0,
|
||||
"mergeNetsplitBlock": 1735371,
|
||||
"muirGlacierBlock": 0,
|
||||
"petersburgBlock": 0,
|
||||
"shanghaiTime": 1677557088,
|
||||
"cancunTime": 1706655072,
|
||||
"terminalTotalDifficulty": 17000000000000000,
|
||||
"terminalTotalDifficultyPassed": true,
|
||||
"ethash": {}
|
||||
}
|
||||
"terminalTotalDifficultyPassed": true
|
||||
},
|
||||
"context": {
|
||||
"number": "3727495",
|
||||
"difficulty": "0",
|
||||
"timestamp": "1687217028",
|
||||
"extraData": "0x6769756c696f207761732068657265",
|
||||
"gasLimit": "30000000",
|
||||
"miner": "0x0000006916a87b82333f4245046623b23794c65c",
|
||||
"baseFeePerGas": "13"
|
||||
"hash": "0xff41623ef4e84cea4e957676a0b7e5868f1480e343ad533914133c448157764c",
|
||||
"miner": "0x008b3b2f992c0e14edaa6e2c662bec549caa8df1",
|
||||
"mixHash": "0xf04431d1d4ccb65f5d1b2e88ec010737ae82d68426b287a7158b9b16aa45a0bc",
|
||||
"nonce": "0x0000000000000000",
|
||||
"number": "3727494",
|
||||
"stateRoot": "0xe3f9e4ff1577f21330eded302784f548f6fed4d4ca7a1f6884dde9ad38743279",
|
||||
"timestamp": "1687217016",
|
||||
"totalDifficulty": "17000018015853232",
|
||||
"withdrawals": [
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5",
|
||||
"index": "0xb3bf91",
|
||||
"validatorIndex": "0x38b"
|
||||
},
|
||||
"input": "0xf8ab0582028483030d4094dd9f95e2c1053a76089b5017829bb2330cb6ae4780b84440c10f19000000000000000000000000eb3d3d616f3e43e9ed361edd2d0e644d18d179b700000000000000000000000000000000000000000000000000000000000000fa8401546d72a05f0c3834a66571748310717c3f95275d4f4f2ea2fa681a0e5395458a95a955a3a004e74954d34007b7cf040038f2c95a2f6b90775bcec1be36de50da729b9ca2d3",
|
||||
"result": {
|
||||
"from": "0xeb3d3d616f3e43e9ed361edd2d0e644d18d179b7",
|
||||
"gas": "0x30d40",
|
||||
"gasUsed": "0x110e9",
|
||||
"to": "0xdd9f95e2c1053a76089b5017829bb2330cb6ae47",
|
||||
"input": "0x40c10f19000000000000000000000000eb3d3d616f3e43e9ed361edd2d0e644d18d179b700000000000000000000000000000000000000000000000000000000000000fa",
|
||||
"value": "0x0",
|
||||
"type": "CALL"
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf92",
|
||||
"validatorIndex": "0x38c"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf93",
|
||||
"validatorIndex": "0x38d"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf94",
|
||||
"validatorIndex": "0x38e"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf95",
|
||||
"validatorIndex": "0x38f"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf96",
|
||||
"validatorIndex": "0x390"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5",
|
||||
"index": "0xb3bf97",
|
||||
"validatorIndex": "0x391"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf98",
|
||||
"validatorIndex": "0x392"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x25b2b",
|
||||
"index": "0xb3bf99",
|
||||
"validatorIndex": "0x393"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5",
|
||||
"index": "0xb3bf9a",
|
||||
"validatorIndex": "0x394"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf9b",
|
||||
"validatorIndex": "0x395"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5",
|
||||
"index": "0xb3bf9c",
|
||||
"validatorIndex": "0x396"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x244a5",
|
||||
"index": "0xb3bf9d",
|
||||
"validatorIndex": "0x397"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf9e",
|
||||
"validatorIndex": "0x398"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2d66a",
|
||||
"index": "0xb3bf9f",
|
||||
"validatorIndex": "0x399"
|
||||
},
|
||||
{
|
||||
"address": "0xe276bc378a527a8792b353cdca5b5e53263dfb9e",
|
||||
"amount": "0x2ecf0",
|
||||
"index": "0xb3bfa0",
|
||||
"validatorIndex": "0x39a"
|
||||
}
|
||||
],
|
||||
"withdrawalsRoot": "0xceabf2dc1561db0f29da25b6282082e5353c2f594942cfdcdccfeb176542411c"
|
||||
},
|
||||
"input": "0xf8ab0582028483030d4094dd9f95e2c1053a76089b5017829bb2330cb6ae4780b84440c10f19000000000000000000000000eb3d3d616f3e43e9ed361edd2d0e644d18d179b700000000000000000000000000000000000000000000000000000000000000fa8401546d72a05f0c3834a66571748310717c3f95275d4f4f2ea2fa681a0e5395458a95a955a3a004e74954d34007b7cf040038f2c95a2f6b90775bcec1be36de50da729b9ca2d3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue