Documentation ¶
Index ¶
- func AdaptAccountSignature(signature []*felt.Felt) *spec.AccountSignature
- func AdaptAddress(f *felt.Felt) *spec.Address
- func AdaptAddressClassHashPair(address felt.Felt, classHash *felt.Felt) *spec.StateDiff_ContractAddrToClassHash
- func AdaptBlockID(header *core.Header) *spec.BlockID
- func AdaptClass(class core.Class) *spec.Class
- func AdaptEvent(e *core.Event, txH *felt.Felt) *spec.Event
- func AdaptExecutionResources(er *core.ExecutionResources) *spec.Receipt_ExecutionResources
- func AdaptFelt(f *felt.Felt) *spec.Felt252
- func AdaptFeltSlice(sl []*felt.Felt) []*spec.Felt252
- func AdaptHash(f *felt.Felt) *spec.Hash
- func AdaptHeader(header *core.Header, commitments *core.BlockCommitments) *spec.BlockHeader
- func AdaptMessageToL1(mL1 *core.L2ToL1Message) *spec.MessageToL1
- func AdaptReceipt(r *core.TransactionReceipt, txn core.Transaction) *spec.Receipt
- func AdaptSignature(sig []*felt.Felt) *spec.ConsensusSignature
- func AdaptStateDiff(addr, nonce *felt.Felt, diff map[felt.Felt]*felt.Felt) *spec.StateDiff_ContractDiff
- func AdaptStorageDiff(diff map[felt.Felt]*felt.Felt) []*spec.ContractStoredValue
- func AdaptTransaction(transaction core.Transaction) *spec.Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptAccountSignature ¶ added in v0.7.2
func AdaptAccountSignature(signature []*felt.Felt) *spec.AccountSignature
func AdaptAddressClassHashPair ¶ added in v0.10.0
func AdaptExecutionResources ¶ added in v0.7.4
func AdaptExecutionResources(er *core.ExecutionResources) *spec.Receipt_ExecutionResources
func AdaptHeader ¶ added in v0.7.2
func AdaptHeader(header *core.Header, commitments *core.BlockCommitments) *spec.BlockHeader
func AdaptMessageToL1 ¶ added in v0.7.4
func AdaptMessageToL1(mL1 *core.L2ToL1Message) *spec.MessageToL1
func AdaptReceipt ¶ added in v0.7.4
func AdaptReceipt(r *core.TransactionReceipt, txn core.Transaction) *spec.Receipt
Core Transaction receipt does not contain all the information required to create p2p spec Receipt, therefore, we have to pass the transaction as well.
func AdaptSignature ¶ added in v0.7.2
func AdaptSignature(sig []*felt.Felt) *spec.ConsensusSignature
func AdaptStateDiff ¶ added in v0.7.4
func AdaptStorageDiff ¶ added in v0.7.4
func AdaptTransaction ¶ added in v0.7.2
func AdaptTransaction(transaction core.Transaction) *spec.Transaction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.