Skip to content

Commit 625e9e4

Browse files
authored
bump max page id (#199)
# Goal The goal of this PR is address the max page id issue discovered via running the simulation Closes #198 # WARNING This should not get merged until frequency-chain/frequency#1959 is merged and Deployed on Frequency mainnet # Discussion - This is companion PR related to the change on frequency chain frequency-chain/frequency#1959 # Checklist - [x] Tests updated
1 parent e713efd commit 625e9e4

File tree

12 files changed

+28
-28
lines changed

12 files changed

+28
-28
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridge/common/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "dsnp-graph-sdk-common"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
77

88
[dependencies]
9-
dsnp-graph-core = { version = "1.1.2", path = "../../core" }
10-
dsnp-graph-config = { version = "1.1.2", path = "../../config" }
9+
dsnp-graph-core = { version = "1.1.3", path = "../../core" }
10+
dsnp-graph-config = { version = "1.1.3", path = "../../config" }
1111
libc = "0.2.153"
1212
protobuf = { version = "3.4.0", features = ["with-bytes"] }

bridge/ffi/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dsnp-graph-sdk-ffi"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
@@ -10,8 +10,8 @@ name = "dsnp_graph_sdk_ffi"
1010
crate-type = ["staticlib"]
1111

1212
[dependencies]
13-
dsnp-graph-core = { version = "1.1.2", path = "../../core" }
14-
dsnp-graph-config = { version = "1.1.2", path = "../../config" }
13+
dsnp-graph-core = { version = "1.1.3", path = "../../core" }
14+
dsnp-graph-config = { version = "1.1.3", path = "../../config" }
1515
libc = "0.2.153"
1616
lazy_static = "1.4.0"
1717
anyhow = "1.0.80"

bridge/jni/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dsnp-graph-sdk-jni"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
@@ -10,9 +10,9 @@ name = "dsnp_graph_sdk_jni"
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
dsnp-graph-core = { version = "1.1.2", path = "../../core" }
14-
dsnp-graph-config = { version = "1.1.2", path = "../../config" }
15-
dsnp-graph-sdk-common = { version = "1.1.2", path = "../common" }
13+
dsnp-graph-core = { version = "1.1.3", path = "../../core" }
14+
dsnp-graph-config = { version = "1.1.3", path = "../../config" }
15+
dsnp-graph-sdk-common = { version = "1.1.3", path = "../common" }
1616
jni = "0.21.1"
1717
cfg-if = "1.0.0"
1818
log = { version = "^0.4.21", features = ["std", "max_level_debug", "release_max_level_debug"] }

bridge/node/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dsnp-graph-sdk-node"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
edition = "2021"
55
license = "Apache-2.0"
66
publish = false
@@ -11,8 +11,8 @@ name = "dsnp_graph_sdk_node"
1111
crate-type = ["cdylib"]
1212

1313
[dependencies]
14-
dsnp-graph-core = { version = "1.1.2", path = "../../core" }
15-
dsnp-graph-config = { version = "1.1.2", path = "../../config" }
14+
dsnp-graph-core = { version = "1.1.3", path = "../../core" }
15+
dsnp-graph-config = { version = "1.1.3", path = "../../config" }
1616
neon = { version = "1.0.0", default-features = false, features = ["napi-6"] }
1717
serde = { version = "1.0.197", features = ["derive"] }
1818
serde_json = "1.0.114"

bridge/node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dsnp/graph-sdk",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"author": "Amplica Labs",
55
"license": "Apache-2.0",
66
"description": "dsnp-graph-sdk-node",
@@ -55,6 +55,6 @@
5555
},
5656
"homepage": "https://github.com/LibertyDSNP/graph-sdk/bridge/node/README.md",
5757
"customProperties": {
58-
"uploadedBinariesVersion": "v1.1.2"
58+
"uploadedBinariesVersion": "v1.1.3"
5959
}
6060
}

config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage = "https://spec.dsnp.org"
55
license = "Apache-2.0"
66
publish = false
77
repository = "https://github.com/libertyDSNP/graph-sdk/"
8-
version = "1.1.2"
8+
version = "1.1.3"
99

1010
[lib]
1111
name = "dsnp_graph_config"

config/resources/configs/frequency-rococo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"sdkMaxUsersGraphSize" : 10000,
33
"sdkMaxStaleFriendshipDays" : 90,
44
"maxGraphPageSizeBytes": 1024,
5-
"maxPageId": 16,
5+
"maxPageId": 32,
66
"maxKeyPageSizeBytes": 65536,
77
"graphPublicKeySchemaId": 18,
88
"schemaMap": [

config/resources/configs/frequency-testnet-paseo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"sdkMaxUsersGraphSize": 10000,
33
"sdkMaxStaleFriendshipDays": 90,
44
"maxGraphPageSizeBytes": 1024,
5-
"maxPageId": 16,
5+
"maxPageId": 32,
66
"maxKeyPageSizeBytes": 65536,
77
"graphPublicKeySchemaId": 7,
88
"schemaMap": [

config/resources/configs/frequency.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"sdkMaxUsersGraphSize" : 10000,
33
"sdkMaxStaleFriendshipDays" : 90,
44
"maxGraphPageSizeBytes": 1024,
5-
"maxPageId": 16,
5+
"maxPageId": 32,
66
"maxKeyPageSizeBytes": 65536,
77
"graphPublicKeySchemaId": 7,
88
"schemaMap": [

config/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ mod config_tests {
274274
let expected_config = Config {
275275
sdk_max_stale_friendship_days: 90,
276276
max_graph_page_size_bytes: 1024,
277-
max_page_id: 16,
277+
max_page_id: 32,
278278
max_key_page_size_bytes: 65536,
279279
dsnp_versions: vec![DsnpVersion::Version1_0],
280280
graph_public_key_schema_id: 7,

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ homepage = "https://spec.dsnp.org"
55
license = "Apache-2.0"
66
publish = false
77
repository = "https://github.com/libertyDSNP/graph-sdk/"
8-
version = "1.1.2"
8+
version = "1.1.3"
99

1010
[lib]
1111
name = "dsnp_graph_core"
@@ -16,7 +16,7 @@ doctest = false
1616
anyhow = "1.0.69"
1717
apache-avro = { version = "0.16.0", features = ["snappy"] }
1818
dryoc = "0.5.3"
19-
dsnp-graph-config = { version = "1.1.2", path = "../config" }
19+
dsnp-graph-config = { version = "1.1.3", path = "../config" }
2020
lazy_static = "1.4.0"
2121
log = { version = "^0.4.21", features = ["std", "max_level_debug", "release_max_level_debug"] }
2222
log-result-proc-macro = { path = "../log-result-proc-macro" }

0 commit comments

Comments
 (0)