Documentation
¶
Index ¶
- func CreateReceipt(t *testing.T, ctx context.Context, client *ent.Client, b ent.Block, ...) *ent.Receipt
- func CreateSchema(ctx context.Context, client *ent.Client) error
- func CreateTestBlock(t *testing.T, ctx context.Context, client *ent.Client, height int) ent.Block
- func CreateTestBlocks(t *testing.T, ctx context.Context, client *ent.Client, count int) []ent.Block
- func CreateTestChain(t *testing.T, ctx context.Context, client *ent.Client, chainID uint64) ent.Chain
- func CreateTestEntClient(t *testing.T) *ent.Client
- func CreateXMsg(t *testing.T, ctx context.Context, client *ent.Client, b ent.Block, ...) *ent.Msg
- func NewPostgressClient(dbURL string) (*ent.Client, error)
- func NewSQLiteClient() (*ent.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateReceipt ¶ added in v0.1.3
func CreateSchema ¶
CreateSchema creates all schema resources and runs all required migrations.
func CreateTestBlock ¶ added in v0.1.3
func CreateTestBlocks ¶ added in v0.1.3
CreateTestBlocks creates n test blocks with n messages and n-1 receipts.
func CreateTestChain ¶ added in v0.1.3
func CreateXMsg ¶ added in v0.1.3
func NewSQLiteClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.