Skip to content

Commit df80823

Browse files
committed
Merge remote-tracking branch 'origin/develop' into lyh/bump-opam-export-develop
2 parents d635567 + 0d23b2c commit df80823

File tree

104 files changed

+2443
-2099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2443
-2099
lines changed

src/app/archive/lib/extensional.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ end
8686
module Zkapp_command = struct
8787
[%%versioned
8888
module Stable = struct
89-
module V1 = struct
89+
module V2 = struct
9090
type t =
9191
{ sequence_no : int
9292
; fee_payer : Account_update.Body.Fee_payer.Stable.V1.t
93-
; account_updates : Account_update.Body.Simple.Stable.V1.t list
93+
; account_updates : Account_update.Body.Simple.Stable.V2.t list
9494
; memo : Signed_command_memo.Stable.V1.t
9595
; hash : Transaction_hash.Stable.V1.t
9696
[@to_yojson Transaction_hash.to_yojson]
@@ -116,7 +116,7 @@ module Block = struct
116116
module Stable = struct
117117
[@@@with_versioned_json]
118118

119-
module V2 = struct
119+
module V3 = struct
120120
(* in accounts_accessed, the int is the ledger index
121121
in tokens_used, the account id is the token owner
122122
*)
@@ -141,11 +141,11 @@ module Block = struct
141141
; timestamp : Block_time.Stable.V1.t
142142
; user_cmds : User_command.Stable.V2.t list
143143
; internal_cmds : Internal_command.Stable.V2.t list
144-
; zkapp_cmds : Zkapp_command.Stable.V1.t list
144+
; zkapp_cmds : Zkapp_command.Stable.V2.t list
145145
; protocol_version : Protocol_version.Stable.V2.t
146146
; proposed_protocol_version : Protocol_version.Stable.V2.t option
147147
; chain_status : Chain_status.Stable.V1.t
148-
; accounts_accessed : (int * Account.Stable.V2.t) list
148+
; accounts_accessed : (int * Account.Stable.V3.t) list
149149
; accounts_created :
150150
(Account_id.Stable.V2.t * Currency.Fee.Stable.V1.t) list
151151
; tokens_used :

src/app/delegation_verify/submission.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module type Data_source = sig
2828
val load_block : submission -> t -> string Deferred.Or_error.t
2929

3030
val verify_blockchain_snarks :
31-
(Mina_wire_types.Mina_state_protocol_state.Value.V2.t * Mina_base.Proof.t)
31+
(Mina_wire_types.Mina_state_protocol_state.Value.V3.t * Mina_base.Proof.t)
3232
list
3333
-> unit Async_kernel__Deferred_or_error.t
3434

src/lib/blockchain_snark/blockchain.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ open Mina_state
44

55
[%%versioned
66
module Stable = struct
7-
module V2 = struct
7+
module V3 = struct
88
module T = struct
99
type t =
10-
{ state : Protocol_state.Value.Stable.V2.t; proof : Proof.Stable.V2.t }
10+
{ state : Protocol_state.Value.Stable.V3.t; proof : Proof.Stable.V2.t }
1111
[@@deriving fields, sexp, yojson]
1212
end
1313

src/lib/blockchain_snark/blockchain.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ open Mina_state
55

66
[%%versioned:
77
module Stable : sig
8-
module V2 : sig
8+
module V3 : sig
99
type t [@@deriving sexp, yojson]
1010
end
1111
end]

src/lib/consensus/consensus_intf.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module type Full = sig
55
module type of Proof_of_stake
66
with module Exported := Proof_of_stake.Exported
77
and type Data.Block_data.t = Proof_of_stake.Data.Block_data.t
8-
and type Data.Consensus_state.Value.Stable.V2.t =
9-
Proof_of_stake.Data.Consensus_state.Value.Stable.V2.t
8+
and type Data.Consensus_state.Value.Stable.V3.t =
9+
Proof_of_stake.Data.Consensus_state.Value.Stable.V3.t
1010

1111
module Proof_of_stake = Proof_of_stake
1212
end

src/lib/consensus/intf.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ module type S = sig
406406
module Stable : sig
407407
[@@@no_toplevel_latest_type]
408408

409-
module V2 : sig
409+
module V3 : sig
410410
type t
411411

412412
val to_latest : t -> t
@@ -489,7 +489,7 @@ module type S = sig
489489
module Value : sig
490490
[%%versioned:
491491
module Stable : sig
492-
module V2 : sig
492+
module V3 : sig
493493
type t [@@deriving hash, equal, compare, sexp, yojson]
494494
end
495495
end]
@@ -620,7 +620,7 @@ module type S = sig
620620
module Epoch_data_for_vrf : sig
621621
[%%versioned:
622622
module Stable : sig
623-
module V2 : sig
623+
module V3 : sig
624624
type t =
625625
{ epoch_ledger : Mina_base.Epoch_ledger.Value.Stable.V1.t
626626
; epoch_seed : Mina_base.Epoch_seed.Stable.V1.t
@@ -629,7 +629,7 @@ module type S = sig
629629
; global_slot_since_genesis :
630630
Mina_numbers.Global_slot_since_genesis.Stable.V1.t
631631
; delegatee_table :
632-
Mina_base.Account.Stable.V2.t
632+
Mina_base.Account.Stable.V3.t
633633
Mina_base.Account.Index.Stable.V1.Table.t
634634
Public_key.Compressed.Stable.V1.Table.t
635635
}

src/lib/consensus/proof_of_stake.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ module Wire_types = Mina_wire_types.Consensus_proof_of_stake
1515
module Make_sig (A : Wire_types.Types.S) = struct
1616
module type S =
1717
Proof_of_stake_intf.Full
18-
with type Data.Consensus_state.Value.Stable.V2.t =
19-
A.Data.Consensus_state.Value.V2.t
18+
with type Data.Consensus_state.Value.Stable.V3.t =
19+
A.Data.Consensus_state.Value.V3.t
2020
end
2121

2222
module Make_str (A : Wire_types.Concrete) = struct
@@ -208,7 +208,7 @@ module Make_str (A : Wire_types.Concrete) = struct
208208
module Stable = struct
209209
[@@@no_toplevel_latest_type]
210210

211-
module V2 = struct
211+
module V3 = struct
212212
type t =
213213
{ epoch_ledger : Mina_base.Epoch_ledger.Value.Stable.V1.t
214214
; epoch_seed : Mina_base.Epoch_seed.Stable.V1.t
@@ -217,7 +217,7 @@ module Make_str (A : Wire_types.Concrete) = struct
217217
; global_slot_since_genesis :
218218
Mina_numbers.Global_slot_since_genesis.Stable.V1.t
219219
; delegatee_table :
220-
Mina_base.Account.Stable.V2.t
220+
Mina_base.Account.Stable.V3.t
221221
Mina_base.Account.Index.Stable.V1.Table.t
222222
Public_key.Compressed.Stable.V1.Table.t
223223
}
@@ -1691,7 +1691,7 @@ module Make_str (A : Wire_types.Concrete) = struct
16911691
module Value = struct
16921692
[%%versioned
16931693
module Stable = struct
1694-
module V2 = struct
1694+
module V3 = struct
16951695
type t =
16961696
( Length.Stable.V1.t
16971697
, Vrf.Output.Truncated.Stable.V1.t
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include
22
Proof_of_stake_intf.Full
3-
with type Data.Consensus_state.Value.Stable.V2.t =
4-
Mina_wire_types.Consensus_proof_of_stake.Data.Consensus_state.Value.V2.t
3+
with type Data.Consensus_state.Value.Stable.V3.t =
4+
Mina_wire_types.Consensus_proof_of_stake.Data.Consensus_state.Value.V3.t

src/lib/consensus/proof_of_stake_intf.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module type Full = sig
1616
module Consensus_state : sig
1717
include
1818
module type of Data.Consensus_state
19-
with type Value.Stable.V2.t = Data.Consensus_state.Value.Stable.V2.t
19+
with type Value.Stable.V3.t = Data.Consensus_state.Value.Stable.V3.t
2020
and type var = Data.Consensus_state.var
2121

2222
val global_slot : Value.t -> Global_slot.t

src/lib/consensus/stake_proof.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ open Signature_lib
66
module Stable = struct
77
[@@@no_toplevel_latest_type]
88

9-
module V2 = struct
9+
module V3 = struct
1010
type t =
1111
{ delegator : Account.Index.Stable.V1.t
1212
; delegator_pk : Public_key.Compressed.Stable.V1.t
1313
; coinbase_receiver_pk : Public_key.Compressed.Stable.V1.t
14-
; ledger : Mina_ledger.Sparse_ledger.Stable.V2.t
14+
; ledger : Mina_ledger.Sparse_ledger.Stable.V3.t
1515
; producer_private_key : Private_key.Stable.V1.t
1616
; producer_public_key : Public_key.Stable.V1.t
1717
}

0 commit comments

Comments
 (0)