Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
♻️ Add sample asset
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed Jun 4, 2020
1 parent b3372a0 commit 6b6297d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions elements/lisk-transactions/test/helpers/test_transaction_class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ export class TestTransaction extends BaseTransaction {

export class TestTransactionBasicImpl extends BaseTransaction {
public static TYPE = 1;
public static ASSET_SCHEMA = {
$id: 'basic-sample',
type: 'object',
properties: {
foo: {
dataType: 'string',
fieldNumber: 1,
},
},
};

public async applyAsset(): Promise<TransactionError[]> {
return [];
Expand Down

0 comments on commit 6b6297d

Please sign in to comment.