Skip to content

Conversation

@dkijania
Copy link
Member

@dkijania dkijania commented Jan 22, 2026

as title

dkijania and others added 30 commits November 25, 2025 12:01
…inance

patch binance archive issue - release/3.3.0
This change only adds Deferred to the signature of the method that will
populate a root ledger from a genesis ledger.
This method works like a checkpoint, but does not throw an exception if
the source and destination backings are different. It will instead
ensure that the backing at the destination is what is requested, by
migrating the primary database at the destination or avoiding
checkpointing the migrated database.
The daemon no longer expects that the genesis ledgers have the same
backing as the root ledger; if they differ, either the stable genesis
ledger database will be copied and migrated at the destination (if the
root ledger should have a converting backing), or the migrated genesis
ledger database will not be copied (if the root ledger should have a
stable backing).
This change lets us avoid keeping migrated genesis ledger databases
around on disk. This does require the daemon to migrate these ledgers
whenever it wants to bootstrap from genesis, but this operation should
be very infrequent (usually happening at most once during startup, and
only if the frontier on disk is sufficiently behind the network).
- added --redirect-to-logs option, so output from nodes are not polluting console output
@dkijania dkijania changed the base branch from compatible to mesa January 22, 2026 11:27
@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

1 similar comment
@dkijania
Copy link
Member Author

!ci-build-me

@glyh glyh changed the title Port compatible to mesa Port compatible+develop to mesa - 2026.1.23 Jan 23, 2026
@glyh
Copy link
Member

glyh commented Jan 23, 2026

!ci-build-me

@glyh
Copy link
Member

glyh commented Jan 23, 2026

I think we might want some eyes from @cjjdespres on 106423b as I'm removing tests he implemented here.

@glyh
Copy link
Member

glyh commented Jan 23, 2026

This PR should be merged after #18352 is merged so to retain the branching rules.

@glyh
Copy link
Member

glyh commented Jan 23, 2026

It's interesting to see this PR needs all those reviewers. I thought we don't have a branch protection rule on mesa?

}

(* This function converts Berkeley account to Mesa account *)
let migrate_from_berkeley ~hardfork_slot (account : Stable.Latest.t) : t =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed this to migrate_from_berkeley -> migrate_to_mesa because the original name only make sense if we're working on a berkeley branch.

; permissions = account.permissions
; zkapp = Option.map ~f:Zkapp_account.Hardfork.to_stable_exn account.zkapp
(* This function converts current account to Mesa account *)
let migrate_to_mesa ~hardfork_slot:_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just Fn.id now we've on a mesa branch.

type t = Zkapp_basic.F.Stable.V1.t V.t
[@@deriving sexp, equal, hash, compare, yojson, bin_io_unversioned]

let of_stable (value : Value.Stable.Latest.t) : t =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think these functions matter any more.

@dkijania
Copy link
Member Author

!ci-build-me

@glyh
Copy link
Member

glyh commented Jan 26, 2026

!ci-build-me

@glyh
Copy link
Member

glyh commented Jan 26, 2026

Apparantly CI being green here is a false-positive. Don't merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants