Skip to content

Commit 11a1dc5

Browse files
authored
Reintroduce acp_EXISTS / acp_EXISTS_NEW columns for state manager (#598)
1 parent 20bdc81 commit 11a1dc5

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

hub/constraints/consistency/account/columns.lisp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
acp_CODE_HASH_LO_NEW
3232
acp_CODE_SIZE
3333
acp_CODE_SIZE_NEW
34+
acp_EXISTS
35+
acp_EXISTS_NEW
3436
acp_WARMTH
3537
acp_WARMTH_NEW
3638
acp_DEPLOYMENT_NUMBER
@@ -64,6 +66,8 @@
6466
account/CODE_HASH_LO_NEW
6567
account/CODE_SIZE
6668
account/CODE_SIZE_NEW
69+
account/EXISTS
70+
account/EXISTS_NEW
6771
account/WARMTH
6872
account/WARMTH_NEW
6973
account/DEPLOYMENT_NUMBER

hub/constraints/consistency/account/constraints.lisp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,21 @@
134134
(defconstraint account-consistency---linking---conflation-level---balance
135135
(:guard acp_AGAIN_IN_CNF)
136136
;;;;;;;;;;;;;;;;;;;;;;;;;;;
137-
(begin
138-
(eq! acp_BALANCE (prev acp_BALANCE_NEW) )))
137+
(eq! acp_BALANCE (prev acp_BALANCE_NEW) ))
139138

140139
(defconstraint account-consistency---linking---conflation-level---code
141140
(:guard acp_AGAIN_IN_CNF)
142141
;;;;;;;;;;;;;;;;;;;;;;;;;;;
143142
(begin
144-
(eq! acp_CODE_SIZE (prev acp_CODE_SIZE_NEW) )
145-
(eq! acp_CODE_HASH_HI (prev acp_CODE_HASH_HI_NEW) )
146-
(eq! acp_CODE_HASH_LO (prev acp_CODE_HASH_LO_NEW) )
147-
;;
148-
(eq! acp_IS_PRECOMPILE (prev acp_IS_PRECOMPILE) )))
143+
(eq! acp_CODE_SIZE (prev acp_CODE_SIZE_NEW) )
144+
(eq! acp_CODE_HASH_HI (prev acp_CODE_HASH_HI_NEW) )
145+
(eq! acp_CODE_HASH_LO (prev acp_CODE_HASH_LO_NEW) )
146+
(debug (eq! acp_EXISTS (prev acp_EXISTS_NEW) ))))
147+
148+
(defconstraint account-consistency---linking---conflation-level---precompile-status
149+
(:guard acp_AGAIN_IN_CNF)
150+
;;;;;;;;;;;;;;;;;;;;;;;;;;;
151+
(eq! acp_IS_PRECOMPILE (prev acp_IS_PRECOMPILE) ))
149152

150153
(defconstraint account-consistency---linking---conflation-level---deployment-number-and-status
151154
(:guard acp_AGAIN_IN_CNF)

0 commit comments

Comments
 (0)