Documentation
¶
Index ¶
- func GetTestTransactions[C, P any](t *testing.T, network *utils.Network, factories ...factory[C, P]) ([]C, []P)
- func StripCompilerFields(t *testing.T, class core.Class)
- type TransactionBuilder
- func (b *TransactionBuilder[C, P]) GetTestDeclareTransaction(t *testing.T, network *utils.Network) (C, P)
- func (b *TransactionBuilder[C, P]) GetTestDeployAccountTransaction(t *testing.T, network *utils.Network) (C, P)
- func (b *TransactionBuilder[C, P]) GetTestInvokeTransaction(t *testing.T, network *utils.Network) (C, P)
- func (b *TransactionBuilder[C, P]) GetTestL1HandlerTransaction(t *testing.T, network *utils.Network) (C, P)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestTransactions ¶
Types ¶
type TransactionBuilder ¶
type TransactionBuilder[C, P any] struct { ToCore toCoreType[C] ToP2PDeclare toP2PType[P, *transaction.DeclareV3WithClass] ToP2PDeploy toP2PType[P, *transaction.DeployAccountV3] ToP2PInvoke toP2PType[P, *transaction.InvokeV3] ToP2PL1Handler toP2PType[P, *transaction.L1HandlerV0] }
func (*TransactionBuilder[C, P]) GetTestDeclareTransaction ¶
func (b *TransactionBuilder[C, P]) GetTestDeclareTransaction(t *testing.T, network *utils.Network) (C, P)
func (*TransactionBuilder[C, P]) GetTestDeployAccountTransaction ¶
func (b *TransactionBuilder[C, P]) GetTestDeployAccountTransaction(t *testing.T, network *utils.Network) (C, P)
func (*TransactionBuilder[C, P]) GetTestInvokeTransaction ¶
func (b *TransactionBuilder[C, P]) GetTestInvokeTransaction(t *testing.T, network *utils.Network) (C, P)
func (*TransactionBuilder[C, P]) GetTestL1HandlerTransaction ¶
func (b *TransactionBuilder[C, P]) GetTestL1HandlerTransaction(t *testing.T, network *utils.Network) (C, P)
Click to show internal directories.
Click to hide internal directories.