Documentation ¶
Index ¶
- func AdaptAccountSignature(signature []*felt.Felt) *spec.AccountSignature
- func AdaptAddress(f *felt.Felt) *spec.Address
- func AdaptBlockID(header *core.Header) *spec.BlockID
- func AdaptClass(class core.Class, compiledHash *felt.Felt) *spec.Class
- func AdaptEvent(e *core.Event) *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, classHash, nonce *felt.Felt, diff []core.StorageDiff) *spec.StateDiff_ContractDiff
- func AdaptStorageDiff(diff []core.StorageDiff) []*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 AdaptClass ¶ added in v0.7.4
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 AdaptStateDiff(addr, classHash, nonce *felt.Felt, diff []core.StorageDiff) *spec.StateDiff_ContractDiff
func AdaptStorageDiff ¶ added in v0.7.4
func AdaptStorageDiff(diff []core.StorageDiff) []*spec.ContractStoredValue
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.