Skip to content

Commit

Permalink
Merge pull request #265 from Concordium/fix-bigint-exp
Browse files Browse the repository at this point in the history
Fix bigint exp
  • Loading branch information
shjortConcordium authored Sep 8, 2023
2 parents 9488e2c + d2f3dd4 commit c8e5030
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/ccd-js-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@concordium/common-sdk": "9.3.0",
"@concordium/common-sdk": "9.4.0",
"buffer": "^6.0.3",
"commander": "^11.0.0",
"ts-morph": "^19.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 9.4.0

### Added

Expand All @@ -11,6 +11,7 @@

### Fixed
- Added missing fields to `getBlockChainParameters` response. (rootKeys, level1Keys, level2Keys)
- Use of bigint exponentiation causing issues in web.

## 9.3.0

Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/common-sdk",
"version": "9.3.0",
"version": "9.4.0",
"license": "Apache-2.0",
"engines": {
"node": ">=14.16.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/web3Proofs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import {
} from './web3IdHelpers';

export const MAX_STRING_BYTE_LENGTH = 31;
export const MAX_U64 = 2n ** 64n - 1n;
export const MAX_U64 = 18446744073709551615n; // 2n ** 64n - 1n
export const MIN_DATE_ISO = '-262144-01-01T00:00:00Z';
export const MAX_DATE_ISO = '+262143-12-31T23:59:59.999999999Z';
export const MIN_DATE_TIMESTAMP = Date.parse(MIN_DATE_ISO);
Expand Down
4 changes: 4 additions & 0 deletions packages/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.4.0

- Bumped @concordium/common-sdk to 9.4.0.

## 9.3.0

- Bumped @concordium/common-sdk to 9.3.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/node-sdk",
"version": "9.3.0",
"version": "9.4.0",
"description": "Helpers for interacting with the Concordium node",
"repository": {
"type": "git",
Expand Down Expand Up @@ -60,7 +60,7 @@
"build-dev": "tsc"
},
"dependencies": {
"@concordium/common-sdk": "9.3.0",
"@concordium/common-sdk": "9.4.0",
"@grpc/grpc-js": "^1.3.4",
"@protobuf-ts/grpc-transport": "^2.8.2",
"buffer": "^6.0.3",
Expand Down
4 changes: 4 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.4.0

- Bumped @concordium/common-sdk to 9.4.0.

## 6.3.0

- Bumped @concordium/common-sdk to 9.3.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/web-sdk",
"version": "6.3.0",
"version": "6.4.0",
"license": "Apache-2.0",
"browser": "lib/concordium.min.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -48,7 +48,7 @@
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@concordium/common-sdk": "9.3.0",
"@concordium/common-sdk": "9.4.0",
"@concordium/rust-bindings": "1.2.0",
"@grpc/grpc-js": "^1.3.4",
"@protobuf-ts/grpcweb-transport": "^2.8.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/ccd-js-gen@workspace:packages/ccd-js-gen"
dependencies:
"@concordium/common-sdk": 9.3.0
"@concordium/common-sdk": 9.4.0
"@types/node": ^20.5.0
"@typescript-eslint/eslint-plugin": ^4.28.1
"@typescript-eslint/parser": ^4.28.1
Expand All @@ -1334,7 +1334,7 @@ __metadata:
languageName: unknown
linkType: soft

"@concordium/common-sdk@9.3.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
"@concordium/common-sdk@9.4.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
version: 0.0.0-use.local
resolution: "@concordium/common-sdk@workspace:packages/common"
dependencies:
Expand Down Expand Up @@ -1402,7 +1402,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/node-sdk@workspace:packages/nodejs"
dependencies:
"@concordium/common-sdk": 9.3.0
"@concordium/common-sdk": 9.4.0
"@grpc/grpc-js": ^1.3.4
"@noble/ed25519": ^1.7.1
"@protobuf-ts/grpc-transport": ^2.8.2
Expand Down Expand Up @@ -1441,7 +1441,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/web-sdk@workspace:packages/web"
dependencies:
"@concordium/common-sdk": 9.3.0
"@concordium/common-sdk": 9.4.0
"@concordium/rust-bindings": 1.2.0
"@grpc/grpc-js": ^1.3.4
"@protobuf-ts/grpcweb-transport": ^2.8.2
Expand Down

0 comments on commit c8e5030

Please sign in to comment.