Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump coretime-utils from 0.2.6 to 0.2.8 #61

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@scio-labs/use-inkathon": "^0.0.1-alpha.44",
"@types/humanize-duration": "^3.27.3",
"clsx": "^1.1.1",
"coretime-utils": "^0.2.6",
"coretime-utils": "^0.2.8",
"date-fns": "^3.3.1",
"decimal.js": "^10.4.3",
"humanize-duration": "^3.31.0",
Expand Down Expand Up @@ -63,4 +63,4 @@
"typescript": "^4.7.4",
"webpack": "^5.81.0"
}
}
}
2 changes: 1 addition & 1 deletion src/components/Modals/Interlace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const InterlaceModal = ({
const onInterlace = async () => {
if (!api || !activeAccount || !activeSigner) return;

const mask = CoreMask.fromBin(newMask).getMask();
const mask = CoreMask.fromBin(newMask).toRawHex();

const txInterlace = api.tx.broker.interlace(
regionMetadata.region.getOnChainRegionId(),
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/regions/native/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const fetchRegion = async (
await coretimeApi.query.broker.regions({
begin: regionId.begin,
core: regionId.core,
mask: regionId.mask.getMask(),
mask: regionId.mask.toRawHex(),
})
).toHuman();

Expand Down
2 changes: 1 addition & 1 deletion src/utils/native/init.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function initRegionMetadata(
begin: region.getBegin(),
end: region.getEnd(),
core: region.getCore(),
mask: region.getMask().getMask(),
mask: region.getMask().toRawHex(),
};

await contractTx(
Expand Down
Loading