Skip to content

Commit

Permalink
[force-upgrade] Commit for rollback for barnard
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Apr 16, 2024
1 parent 4c24388 commit 3915e74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions kube/manifest/starcoin-barnard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
starcoin/node-pool: seed-pool
containers:
- name: starcoin
image: ghcr.io/starcoinorg/starcoin:v1.13.8
image: ghcr.io/starcoinorg/starcoin:barnard_rollback_block_fix_force_upgrade
imagePullPolicy: Always
command:
- bash
Expand Down Expand Up @@ -67,7 +67,7 @@ spec:
livenessProbe:
tcpSocket:
port: 9840
initialDelaySeconds: 10
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 3
Expand All @@ -79,7 +79,7 @@ spec:
- -c
- >-
/starcoin/starcoin -n barnard -d /sc-data node sync status|grep Synchronized
initialDelaySeconds: 10
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 3
Expand Down
5 changes: 3 additions & 2 deletions storage/src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ use std::cmp::Ordering;

pub struct DBUpgrade;

pub static BARNARD_HARD_FORK_HEIGHT: BlockNumber = 16057420;

pub static BARNARD_HARD_FORK_HEIGHT: BlockNumber = 16113030;
pub static BARNARD_HARD_FORK_HASH: Lazy<HashValue> = Lazy::new(|| {
HashValue::from_hex_literal(
"0x602bb269e3a221510f82b0b812304e767457f73ac3203663bd401ef3d29bcc97",
"0x367e3151a9f056dd9993df8d5c25634ccf419a08e14ceb36582760f6c26d5d21",
)
.expect("")
});
Expand Down

0 comments on commit 3915e74

Please sign in to comment.