Skip to content

Commit

Permalink
wip: ConfigParser and ElectorContract to @ton/core
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlkv committed Sep 18, 2023
1 parent 2bac132 commit d8788c3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@release-it/keep-a-changelog": "^3.1.0",
"@ton/core": "^0.49.2",
"@ton/core": "^0.52.2",
"@ton/crypto": "3.2.0",
"@ton/emulator": "^2.1.1",
"@types/jest": "^27.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/config/ConfigParser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { createTestClient4 } from "../utils/createTestClient4";
import { Address } from "ton-core";
import { Address } from "@ton/core";
import { configParse5, configParse13, configParse17, configParse18, configParseValidatorSet, configParseBridge, configParse12, parseFullConfig, loadConfigParamById, loadConfigParamsAsSlice } from "./ConfigParser";

const client = createTestClient4("mainnet");
Expand Down
2 changes: 1 addition & 1 deletion src/config/ConfigParser.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Address, Slice, Cell, Dictionary, DictionaryValue, Builder } from "ton-core";
import { Address, Slice, Cell, Dictionary, DictionaryValue, Builder } from "@ton/core";

export function configParseMasterAddress(slice: Slice | null | undefined) {
if (slice) {
Expand Down
2 changes: 1 addition & 1 deletion src/elector/ElectorContract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { createTestClient4 } from "../utils/createTestClient4";
import { Address } from "ton-core";
import { Address } from "@ton/core";
import { ElectorContract } from "./ElectorContract";

const client = createTestClient4("mainnet");
Expand Down
2 changes: 1 addition & 1 deletion src/elector/ElectorContract.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Address, Cell, Contract, TupleReader, TupleBuilder, Dictionary, DictionaryValue, Slice, Builder, ContractProvider } from "ton-core";
import { Address, Cell, Contract, TupleReader, TupleBuilder, Dictionary, DictionaryValue, Slice, Builder, ContractProvider } from "@ton/core";


const FrozenDictValue: DictionaryValue<{ address: Address, weight: bigint, stake: bigint }> = {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -950,14 +950,14 @@ __metadata:
languageName: node
linkType: hard

"@ton/core@npm:^0.49.2":
version: 0.49.2
resolution: "@ton/core@npm:0.49.2"
"@ton/core@npm:^0.52.2":
version: 0.52.2
resolution: "@ton/core@npm:0.52.2"
dependencies:
symbol.inspect: 1.0.1
peerDependencies:
"@ton/crypto": ">=3.2.0"
checksum: c0bbad44f89664852d2289e073fa5666d38b4738f13cb951b973bd56b635df6d45ee26c6d1d6348c8736172fd84aaa8f5ef3296f45cca2b346c715a92a0cf774
checksum: abd6214a631a398f751dca1562a3f2ee44a5e6ac4582faf9d63d08298f4aeb118a78f91c342f73fa4984f94c97888aa1ff123981081629a2455853f699ec8d05
languageName: node
linkType: hard

Expand Down Expand Up @@ -1000,7 +1000,7 @@ __metadata:
resolution: "@ton/ton@workspace:."
dependencies:
"@release-it/keep-a-changelog": ^3.1.0
"@ton/core": ^0.49.2
"@ton/core": ^0.52.2
"@ton/crypto": 3.2.0
"@ton/emulator": ^2.1.1
"@types/jest": ^27.0.1
Expand Down

0 comments on commit d8788c3

Please sign in to comment.