File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11C2WASM_CLI_HOST = https://hook-buildbox.xrpl.org
2- RIPPLED_ENV = production
2+ RIPPLED_ENV = standalone
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ import {
1717 clearHookStateV3 ,
1818} from '@transia/hooks-toolkit'
1919
20- const namespaces = 'namespace'
20+ const namespace = 'namespace'
2121
2222describe ( '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 ,
You can’t perform that action at this time.
0 commit comments