mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-14 00:18:03 -05:00
15 lines
533 B
Go
15 lines
533 B
Go
package types
|
|
|
|
import (
|
|
"github.com/scroll-tech/go-ethereum/common"
|
|
"github.com/scroll-tech/go-ethereum/core/types"
|
|
)
|
|
|
|
// WrappedBlock contains the block's Header, Transactions and WithdrawTrieRoot hash.
|
|
type WrappedBlock struct {
|
|
Header *types.Header `json:"header"`
|
|
// Transactions is only used for recover types.Transactions, the from of types.TransactionData field is missing.
|
|
Transactions []*types.TransactionData `json:"transactions"`
|
|
WithdrawTrieRoot common.Hash `json:"withdraw_trie_root,omitempty"`
|
|
}
|