-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow for attaching non-existant record specs to existing contract spec
* if bootstrapping with the batch size set to 1 (or anything less than a contract's number of records + 1) could lead to a bad bootstrap if the process is interrupted between when the contract spec is created on chain and when the record specifications were created, as a subsequent run of the same code would produce the same hash, resulting in the record spec creation being skipped and subsequent operations using a session of that contract spec could fail due to missing record specs * The bootstrapping process is now smarter and checks for contract spec existence, creates it if it doesn't exist, but also checks for record spec existence and will create any non-existent record specs even if the parent contract spec does exist
- Loading branch information
Showing
1 changed file
with
39 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters