diff --git a/anchor/Anchor.toml b/anchor/Anchor.toml index 15fb9214..73afa0a6 100644 --- a/anchor/Anchor.toml +++ b/anchor/Anchor.toml @@ -27,9 +27,9 @@ cluster = "localnet" wallet = "~/.config/solana/id.json" [scripts] -#test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern glam_investor" -test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern glam_crud" -#test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern devnet" +#test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern glam_investor" +test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern glam_crud" +#test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern devnet" [test] startup_wait = 50000 diff --git a/anchor/target/idl/glam.json b/anchor/target/idl/glam.json index e56572ad..1c6392de 100644 --- a/anchor/target/idl/glam.json +++ b/anchor/target/idl/glam.json @@ -50,11 +50,11 @@ ], "args": [ { - "name": "name", + "name": "fundName", "type": "string" }, { - "name": "symbol", + "name": "fundUri", "type": "string" }, { @@ -66,6 +66,18 @@ { "name": "activate", "type": "bool" + }, + { + "name": "shareName", + "type": "string" + }, + { + "name": "shareSymbol", + "type": "string" + }, + { + "name": "shareUri", + "type": "string" } ] }, @@ -91,7 +103,7 @@ } }, { - "name": "symbol", + "name": "uri", "type": { "option": "string" } @@ -587,7 +599,7 @@ "type": "string" }, { - "name": "symbol", + "name": "uri", "type": "string" }, { diff --git a/anchor/target/types/glam.ts b/anchor/target/types/glam.ts index 35ffd158..ba92e376 100644 --- a/anchor/target/types/glam.ts +++ b/anchor/target/types/glam.ts @@ -50,11 +50,11 @@ export type Glam = { ], "args": [ { - "name": "name", + "name": "fundName", "type": "string" }, { - "name": "symbol", + "name": "fundUri", "type": "string" }, { @@ -66,6 +66,18 @@ export type Glam = { { "name": "activate", "type": "bool" + }, + { + "name": "shareName", + "type": "string" + }, + { + "name": "shareSymbol", + "type": "string" + }, + { + "name": "shareUri", + "type": "string" } ] }, @@ -91,7 +103,7 @@ export type Glam = { } }, { - "name": "symbol", + "name": "uri", "type": { "option": "string" } @@ -587,7 +599,7 @@ export type Glam = { "type": "string" }, { - "name": "symbol", + "name": "uri", "type": "string" }, { @@ -721,11 +733,11 @@ export const IDL: Glam = { ], "args": [ { - "name": "name", + "name": "fundName", "type": "string" }, { - "name": "symbol", + "name": "fundUri", "type": "string" }, { @@ -737,6 +749,18 @@ export const IDL: Glam = { { "name": "activate", "type": "bool" + }, + { + "name": "shareName", + "type": "string" + }, + { + "name": "shareSymbol", + "type": "string" + }, + { + "name": "shareUri", + "type": "string" } ] }, @@ -762,7 +786,7 @@ export const IDL: Glam = { } }, { - "name": "symbol", + "name": "uri", "type": { "option": "string" } @@ -1258,7 +1282,7 @@ export const IDL: Glam = { "type": "string" }, { - "name": "symbol", + "name": "uri", "type": "string" }, { diff --git a/anchor/tests/policy.spec.ts b/anchor/tests-old/policy.spec.ts similarity index 100% rename from anchor/tests/policy.spec.ts rename to anchor/tests-old/policy.spec.ts diff --git a/anchor/tests/pyth.spec.ts b/anchor/tests-old/pyth.spec.ts similarity index 100% rename from anchor/tests/pyth.spec.ts rename to anchor/tests-old/pyth.spec.ts