Skip to content

Commit 73634d1

Browse files
committed
fix
1 parent e0697a0 commit 73634d1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
C2WASM_CLI_HOST=https://hook-buildbox.xrpl.org
2-
RIPPLED_ENV=production
2+
RIPPLED_ENV=standalone

test/index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ import {
1717
clearHookStateV3,
1818
} from '@transia/hooks-toolkit'
1919

20-
const namespaces = 'namespace'
20+
const namespace = 'namespace'
2121

2222
describe('test', () => {
2323
let testContext: XrplIntegrationTestContext
2424

2525
beforeAll(async () => {
2626
testContext = await setupClient(serverUrl)
2727
const hook = {
28-
CreateCode: readHookBinaryHexFromNS('../hook/index.wasm'),
28+
CreateCode: readHookBinaryHexFromNS('../build/index'),
2929
Flags: SetHookFlags.hsfOverride,
3030
HookOn: calculateHookOn(['Invoke']),
31-
HookNamespace: hexNamespace(namespaces),
31+
HookNamespace: hexNamespace(namespace),
3232
HookApiVersion: 0,
3333
} as iHook
3434
await setHooksV3({
@@ -41,7 +41,7 @@ describe('test', () => {
4141
afterAll(async () => {
4242
const clearHook = {
4343
Flags: SetHookFlags.hsfNSDelete,
44-
HookNamespace: hexNamespace(namespaces),
44+
HookNamespace: hexNamespace(namespace),
4545
} as iHook
4646
await clearHookStateV3({
4747
client: testContext.client,

0 commit comments

Comments
 (0)