Skip to content

Commit e958968

Browse files
authored
Merge branch 'keysets' into feature/node-4940-fix-keyset-ci-times
2 parents 9d49481 + 5e850d1 commit e958968

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

blockchain/contracts/scripts/deploy_lit_node_contracts.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,24 @@ async function deployLitNodeContracts(deployNodeConfig) {
538538
tx = await stakingContract.addRealm();
539539
await tx.wait();
540540

541+
// Ensure the default keyset is set
542+
let realmConfig = {
543+
maxConcurrentRequests: 1000,
544+
maxPresignCount: 25,
545+
minPresignCount: 10,
546+
peerCheckingIntervalSecs: 7,
547+
maxPresignConcurrency: 2,
548+
rpcHealthcheckEnabled: true,
549+
minEpochForRewards: 3,
550+
permittedValidatorsOn: false,
551+
defaultKeySet: DEFAULT_KEY_SET_NAME,
552+
};
553+
// 1000n, 25n, 10n,
554+
// 7n, 2n, true,
555+
// 3n, false, ''
556+
tx = await stakingContract.setRealmConfig(1, realmConfig);
557+
await tx.wait();
558+
541559
// set the default keyset config
542560
let defaultKeysetConfig = {
543561
identifier: DEFAULT_KEY_SET_NAME,

rust/lit-node/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/lit-node/lit-node-testnet/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ impl TestSetupBuilder {
260260
.epoch_length(self.epoch_length)
261261
.max_presign_count_u64(self.max_presign_count)
262262
.min_presign_count_u64(self.min_presign_count)
263-
.default_key_set(Some(DEFAULT_KEY_SET_NAME.to_string()))
264263
.build();
265264

266265
info!(

rust/lit-node/lit-node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lit_node"
3-
version = "2.1.8"
3+
version = "2.1.9"
44
edition.workspace = true
55
default-run = "lit_node"
66

rust/lit-os/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)