Skip to content

Commit 0f34aa8

Browse files
chore: link sdk locally
1 parent b6f79cf commit 0f34aa8

5 files changed

Lines changed: 10 additions & 13 deletions

File tree

typescript/aleo-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"dependencies": {
5050
"@hyperlane-xyz/utils": "19.7.0",
51-
"@provablehq/sdk": "^0.9.11",
51+
"@provablehq/sdk": "portal:../../../sdk/sdk",
5252
"bignumber.js": "^9.1.1"
5353
}
5454
}

typescript/aleo-sdk/src/clients/provider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
Program,
77
ProgramManager,
88
U128,
9-
getOrInitConsensusVersionTestHeights,
109
initThreadPool,
1110
} from '@provablehq/sdk';
1211
import { BigNumber } from 'bignumber.js';
@@ -23,7 +22,6 @@ import {
2322
} from '../utils/helper.js';
2423
import { AleoTransaction } from '../utils/types.js';
2524

26-
getOrInitConsensusVersionTestHeights('0,1,2,3,4,5,6,7,8,9,10');
2725
await initThreadPool();
2826

2927
export class AleoProvider implements AltVM.IProvider {
@@ -673,7 +671,7 @@ export class AleoProvider implements AltVM.IProvider {
673671
mailboxAddress,
674672
});
675673

676-
let quote = new BigNumber(0);
674+
const quote = new BigNumber(0);
677675

678676
for (const hookAddress of [mailbox.requiredHook, mailbox.defaultHook]) {
679677
try {

typescript/aleo-sdk/src/tests/3_post_dispatch.e2e-test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe('3. aleo sdk post dispatch e2e tests', async function () {
2727

2828
const mailbox = await signer.createMailbox({
2929
domainId: domainId,
30-
defaultIsmAddress: '',
3130
});
3231
mailboxAddress = mailbox.mailboxAddress;
3332
});
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// enforce order of test suites
22
// import './1_interchain_security.e2e-test.js';
33
// import './2_core.e2e-test.js';
4-
// import './3_post_dispatch.e2e-test';
5-
import './4_warp.e2e-test';
4+
import './3_post_dispatch.e2e-test.js';
5+
6+
// import './4_warp.e2e-test';

yarn.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8181,7 +8181,7 @@ __metadata:
81818181
"@eslint/js": "npm:^9.31.0"
81828182
"@hyperlane-xyz/tsconfig": "workspace:^"
81838183
"@hyperlane-xyz/utils": "npm:19.7.0"
8184-
"@provablehq/sdk": "npm:^0.9.11"
8184+
"@provablehq/sdk": "portal:../../../sdk/sdk"
81858185
"@types/mocha": "npm:^10.0.1"
81868186
"@typescript-eslint/eslint-plugin": "npm:^8.1.6"
81878187
"@typescript-eslint/parser": "npm:^8.1.6"
@@ -11506,9 +11506,9 @@ __metadata:
1150611506
languageName: node
1150711507
linkType: hard
1150811508

11509-
"@provablehq/sdk@npm:^0.9.11":
11510-
version: 0.9.11
11511-
resolution: "@provablehq/sdk@npm:0.9.11"
11509+
"@provablehq/sdk@portal:../../../sdk/sdk::locator=%40hyperlane-xyz%2Faleo-sdk%40workspace%3Atypescript%2Faleo-sdk":
11510+
version: 0.0.0-use.local
11511+
resolution: "@provablehq/sdk@portal:../../../sdk/sdk::locator=%40hyperlane-xyz%2Faleo-sdk%40workspace%3Atypescript%2Faleo-sdk"
1151211512
dependencies:
1151311513
"@provablehq/wasm": "npm:^0.9.11"
1151411514
"@scure/base": "npm:^2.0.0"
@@ -11517,9 +11517,8 @@ __metadata:
1151711517
mime: "npm:^4.0.6"
1151811518
sync-request: "npm:^6.1.0"
1151911519
xmlhttprequest-ssl: "npm:^3.1.0"
11520-
checksum: 10/5ed79a7a4123091c89f5d55c77c5f2ec9f8e1f2d19d720b5d2a54991e7e5eb2a09ff89106179f0be125d528f26b6d97537ed42e48cf554a44ff823ca24b3c710
1152111520
languageName: node
11522-
linkType: hard
11521+
linkType: soft
1152311522

1152411523
"@provablehq/wasm@npm:0.9.11":
1152511524
version: 0.9.11

0 commit comments

Comments
 (0)