diff --git a/.github/workflows/build.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/build.yml rename to .github/workflows/test.yml diff --git a/clients/rwa-token-sdk/tests/policies/identity_approval.test.ts b/clients/rwa-token-sdk/tests/policies/identity_approval.test.ts index e69de29..907953b 100644 --- a/clients/rwa-token-sdk/tests/policies/identity_approval.test.ts +++ b/clients/rwa-token-sdk/tests/policies/identity_approval.test.ts @@ -0,0 +1,6 @@ + +import {describe, expect} from 'vitest'; + +describe('test policy setup', () => { + expect(true).toBeTruthy(); +}); diff --git a/clients/rwa-token-sdk/tests/policies/transaction_amount.test.ts b/clients/rwa-token-sdk/tests/policies/transaction_amount.test.ts index e69de29..907953b 100644 --- a/clients/rwa-token-sdk/tests/policies/transaction_amount.test.ts +++ b/clients/rwa-token-sdk/tests/policies/transaction_amount.test.ts @@ -0,0 +1,6 @@ + +import {describe, expect} from 'vitest'; + +describe('test policy setup', () => { + expect(true).toBeTruthy(); +}); diff --git a/clients/rwa-token-sdk/tests/policies/transaction_count.test.ts b/clients/rwa-token-sdk/tests/policies/transaction_count.test.ts index e69de29..907953b 100644 --- a/clients/rwa-token-sdk/tests/policies/transaction_count.test.ts +++ b/clients/rwa-token-sdk/tests/policies/transaction_count.test.ts @@ -0,0 +1,6 @@ + +import {describe, expect} from 'vitest'; + +describe('test policy setup', () => { + expect(true).toBeTruthy(); +}); diff --git a/clients/rwa-token-sdk/tests/policies/transaction_velocity.test.ts b/clients/rwa-token-sdk/tests/policies/transaction_velocity.test.ts index e69de29..907953b 100644 --- a/clients/rwa-token-sdk/tests/policies/transaction_velocity.test.ts +++ b/clients/rwa-token-sdk/tests/policies/transaction_velocity.test.ts @@ -0,0 +1,6 @@ + +import {describe, expect} from 'vitest'; + +describe('test policy setup', () => { + expect(true).toBeTruthy(); +}); diff --git a/clients/rwa-token-sdk/tests/tracker.test.ts b/clients/rwa-token-sdk/tests/tracker.test.ts index f7f5210..ed18445 100644 --- a/clients/rwa-token-sdk/tests/tracker.test.ts +++ b/clients/rwa-token-sdk/tests/tracker.test.ts @@ -1 +1,7 @@ // Test file is going to test the tracker account and if its storing the right amount of data according to the policies attached + +import {describe, expect} from 'vitest'; + +describe('test policy setup', () => { + expect(true).toBeTruthy(); +}); diff --git a/programs/Cargo.lock b/programs/Cargo.lock index 2305fa3..7bbab28 100644 --- a/programs/Cargo.lock +++ b/programs/Cargo.lock @@ -182,6 +182,7 @@ dependencies = [ "anchor-derive-accounts", "anchor-derive-serde", "anchor-derive-space", + "anchor-syn", "arrayref", "base64 0.21.7", "bincode", diff --git a/programs/asset_controller/Cargo.toml b/programs/asset_controller/Cargo.toml index 2cc99d3..f3699e9 100644 --- a/programs/asset_controller/Cargo.toml +++ b/programs/asset_controller/Cargo.toml @@ -15,6 +15,7 @@ no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] default = [] +idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependencies] anchor-lang = { git = "https://git@github.com/bridgesplit/anchor", features = ["interface-instructions", "init-if-needed"] } diff --git a/programs/data_registry/Cargo.toml b/programs/data_registry/Cargo.toml index 79bd188..cd8f4fe 100644 --- a/programs/data_registry/Cargo.toml +++ b/programs/data_registry/Cargo.toml @@ -17,6 +17,7 @@ no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] default = [] +idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependencies] anchor-lang = { git = "https://git@github.com/bridgesplit/anchor" } diff --git a/programs/identity_registry/Cargo.toml b/programs/identity_registry/Cargo.toml index ae953bb..7e04dd5 100644 --- a/programs/identity_registry/Cargo.toml +++ b/programs/identity_registry/Cargo.toml @@ -17,6 +17,7 @@ no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] default = [] +idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependencies] anchor-lang = { git = "https://git@github.com/bridgesplit/anchor" } diff --git a/programs/policy_engine/Cargo.toml b/programs/policy_engine/Cargo.toml index da1d023..fd79423 100644 --- a/programs/policy_engine/Cargo.toml +++ b/programs/policy_engine/Cargo.toml @@ -14,6 +14,7 @@ no-idl = [] no-log-ix-name = [] cpi = ["no-entrypoint"] default = [] +idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependencies] anchor-lang = { git = "https://git@github.com/bridgesplit/anchor" }