Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0-rc.6 release #6314

Merged
merged 10 commits into from
Mar 24, 2023
Merged

v1.0.0-rc.6 release #6314

merged 10 commits into from
Mar 24, 2023

Conversation

dconnolly
Copy link
Contributor

@dconnolly dconnolly commented Mar 14, 2023

Versioning

How to Increment Versions

Zebra follows semantic versioning. Semantic versions look like: MAJOR.MINOR.PATCH[-TAG.PRE-RELEASE]

The draft zebrad changelog will have an automatic version bump. This version is based on the labels on the PRs in the release.

Check that the automatic zebrad version increment is correct:

If we're releasing a mainnet network upgrade, it is a major release:

  1. Increment the major version of all the Zebra crates.
  2. Increment the patch version of the tower crates.

If we're not releasing a mainnet network upgrade, check for features, major changes, deprecations, and removals. If this release has any, it is a minor release:

  1. Increment the minor version of zebrad.
  2. Increment the pre-release version of the other crates.
  3. Increment the patch version of the tower crates.

Otherwise, it is a patch release:

  1. Increment the patch version of zebrad.
  2. Increment the pre-release version of the other crates.
  3. Increment the patch version of the tower crates.

Zebra's Rust API is not stable or supported, so we keep all the crates on the same beta pre-release version.

Version Locations

Once you know which versions you want to increment, you can find them in the:

zebrad (rc):

crates (beta):

  • zebra-* Cargo.tomls

tower (patch):

  • tower-* Cargo.tomls

auto-generated:

  • Cargo.lock: run cargo build after updating all the Cargo.tomls

Version Tooling

You can use fastmod to interactively find and replace versions.

For example, you can do something like:

fastmod --extensions rs,toml,md --fixed-strings '1.0.0-rc.0' '1.0.0-rc.1' zebrad README.md zebra-network/src/constants.rs book/src/user/docker.md
fastmod --extensions rs,toml,md --fixed-strings '1.0.0-beta.15' '1.0.0-beta.16' zebra-*
fastmod --extensions rs,toml,md --fixed-strings '0.2.30' '0.2.31' tower-batch tower-fallback
cargo build

If you use fastmod, don't update versions in CHANGELOG.md or zebra-dependencies-for-audit.md.

README

Update the README to:

  • Remove any "Known Issues" that have been fixed
  • Update the "Build and Run Instructions" with any new dependencies.
    Check for changes in the Dockerfile since the last tag: git diff <previous-release-tag> docker/Dockerfile.
  • If Zebra has started using newer Rust language features or standard library APIs, update the known working Rust version in the README, book, and Cargo.tomls

You can use a command like:

      fastmod --fixed-strings '1.58' '1.65'

Checkpoints

With every release and for performance reasons, we want to update the Zebra checkpoints. More information on how to do this can be found in the zebra-checkpoints README.

To do this you will need a synchronized zcashd node. You can request help from other zebra team members to submit this PR if you can't make it yourself at the moment of the release.

Change Log

Important: Any merge into main deletes any edits to the draft changelog.
Once you are ready to tag a release, copy the draft changelog into CHANGELOG.md.

We use the Release Drafter workflow to automatically create a draft changelog. We follow the Keep a Changelog format.

To create the final change log:

  • Copy the latest draft changelog into CHANGELOG.md (there can be multiple draft releases)
  • Delete any trivial changes. Keep the list of those, to include in the PR
  • Combine duplicate changes
  • Edit change descriptions so they are consistent, and make sense to non-developers
  • Check the category for each change
    • Prefer the "Fix" category if you're not sure

Change Categories

From "Keep a Changelog":

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.

Create the Release

Create the Release PR

After you have the version increments, the updated checkpoints and the updated changelog:

  • Make sure the PR with the new checkpoint hashes is already merged, or make it part of the changelog PR
  • Push the version increments and the updated changelog into a branch
    (for example: bump-v1.0.0-rc.0 - this needs to be different to the tag name)
  • Create a release PR by adding &template=release-checklist.md to the comparing url (Example).
    • Add the list of deleted changelog entries as a comment to make reviewing easier.
  • Turn on Merge Freeze.
  • Once the PR is ready to be merged, unfreeze it here.
    Do not unfreeze the whole repository.
  • Update the PR to the latest main branch using @mergifyio update. Then Mergify should merge it in-place.
    If it makes a merge PR instead, that PR will get cancelled by the merge freeze. So just merge the changelog PR manually.

Create the Release

  • Once the PR has been merged, create a new release using the draft release as a base, by clicking the Edit icon in the draft release
  • Set the tag name to the version tag,
    for example: v1.0.0-rc.0
  • Set the release to target the main branch
  • Set the release title to Zebra followed by the version tag,
    for example: Zebra 1.0.0-rc.0
  • Replace the prepopulated draft changelog in the release description with the final changelog you created;
    starting just after the title ## [Zebra ... of the current version being released,
    and ending just before the title of the previous release.
  • Mark the release as 'pre-release', until it has been built and tested
  • Publish the pre-release to GitHub using "Publish Release"
  • Delete all the draft releases from the list of releases

Binary Testing

Blog Post

If the release contains new features (major or minor), or high-priority bug fixes:

  • Ask the team about doing a blog post

Release Failures

If building or running fails after tagging:

  1. Fix the bug that caused the failure
  2. Increment versions again, following these instructions from the start
  3. Update the code and documentation with a new git tag
  4. Update CHANGELOG.md with details about the fix
  5. Tag a new release

@dconnolly dconnolly changed the title Release v1.0.0-rc.6 release Mar 14, 2023
@github-actions github-actions bot added the C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG label Mar 14, 2023
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

Merging #6314 (e84ad13) into main (fc32e68) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6314   +/-   ##
=======================================
  Coverage   77.71%   77.71%           
=======================================
  Files         304      304           
  Lines       39583    39583           
=======================================
+ Hits        30761    30763    +2     
+ Misses       8822     8820    -2     

@oxarbitrage
Copy link
Contributor

@dconnolly do you think you can merge #6295 and add it to the release ?

Right now the code is merged (#6274) but not the docs so i think it will be good to have both in the same release even if it is not a big deal.

Thanks.

@dconnolly
Copy link
Contributor Author

@dconnolly do you think you can merge #6295 and add it to the release ?

Right now the code is merged (#6274) but not the docs so i think it will be good to have both in the same release even if it is not a big deal.

Thanks.

Approved! Will update the changelog accordingly

@mpguerra mpguerra linked an issue Mar 23, 2023 that may be closed by this pull request
@oxarbitrage
Copy link
Contributor

All these were removed form the changelog. there could be repeated ones, the auto changelog repeated a lot in this release. i think we might need to review what it is doing and we should have a document describing what titles we need to use to have a better changelog.

To be fair there were tons of dependency upgrades that had to be removed.

Trivial TODO: put this in a PR comment, not the CHANGELOG

  • Fix typo (#6328)
  • Show Cargo.lock files in the github diff view (#6249)
  • build(deps): Replace direct dependency on sentry-tracing with 'tracing' feature on sentry (#6227)
  • build(deps): bump actions/add-to-project from 0.4.0 to 0.4.1 (#6238)
  • build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#6221)
  • build(deps): bump actions/checkout from 3.3.0 to 3.4.0 (#6345)
  • build(deps): bump bitflags from 1.3.2 to 2.0.1 (#6346)
  • build(deps): bump bitflags from 2.0.1 to 2.0.2 (#6381)
  • build(deps): bump chrono from 0.4.23 to 0.4.24 (#6300)
  • build(deps): bump dirs from 4.0.0 to 5.0.0 (#6360)
  • build(deps): bump futures from 0.3.26 to 0.3.27 (#6299)
  • build(deps): bump futures-core from 0.3.26 to 0.3.27 (#6303)
  • build(deps): bump hyper from 0.14.24 to 0.14.25 (#6307)
  • build(deps): bump inferno from 0.11.14 to 0.11.15 (#6264)
  • build(deps): bump insta from 1.28.0 to 1.29.0 (#6395)
  • build(deps): bump peter-evans/dockerhub-description from 3.1.2 to 3.3.0 (#6265)
  • build(deps): bump pin-project from 0.4.30 to 1.0.12 (#6222)
  • build(deps): bump prost from 0.11.7 to 0.11.8 (#6239)
  • build(deps): bump rayon from 1.6.1 to 1.7.0 (#6268)
  • build(deps): bump reddsa from 0.4.0 to 0.5.0 (#6293)
  • build(deps): bump regex from 1.7.1 to 1.7.2 (#6371)
  • build(deps): bump reqwest from 0.11.14 to 0.11.15 (#6361)
  • build(deps): bump semver from 1.0.16 to 1.0.17 (#6301)
  • build(deps): bump sentry from 0.29.3 to 0.30.0 (#6223)
  • build(deps): bump serde from 1.0.152 to 1.0.154 (#6284)
  • build(deps): bump serde from 1.0.154 to 1.0.156 (#6316)
  • build(deps): bump serde from 1.0.156 to 1.0.158 (#6358)
  • build(deps): bump serde-big-array from 0.5.0 to 0.5.1 (#6267)
  • build(deps): bump serde_json from 1.0.93 to 1.0.94 (#6269)
  • build(deps): bump serde_with from 2.2.0 to 2.3.0 (#6292)
  • build(deps): bump serde_with from 2.3.0 to 2.3.1 (#6308)
  • build(deps): bump tempfile from 3.3.0 to 3.4.0 (#6240)
  • build(deps): bump thiserror from 1.0.38 to 1.0.39 (#6266)
  • build(deps): bump thiserror from 1.0.39 to 1.0.40 (#6359)
  • build(deps): bump tj-actions/changed-files from 35.5.6 to 35.6.0 (#6237)
  • build(deps): bump tj-actions/changed-files from 35.6.0 to 35.6.4 (#6291)
  • build(deps): bump tj-actions/changed-files from 35.6.4 to 35.7.1 (#6331)
  • build(deps): bump tj-actions/changed-files from 35.7.1 to 35.7.2 (#6354)
  • build(deps): bump tokio from 1.25.0 to 1.26.0 (#6263)
  • build(deps): bump toml from 0.7.2 to 0.7.3 (#6317)
  • build(deps): bump w9jds/firebase-action from 11.22.0 to 11.24.1 (#6290)
  • build(deps): bump zcash_primitives from 0.10.0 to 0.10.1 (#6276)
  • build(deps): bump zcash_primitives from 0.10.1 to 0.10.2 (#6355)
  • change(doc): Add "incompatible with nightly Rust (1.69)" to the README known issues (#6231)
  • change(docs): Document how to get external PRs to merge (#6252)
  • change(state): Condense CodeTimer::start() and Span::current() calls in state service (#6337)
  • cleanup(lint): cleanup duplicate dependency exceptions (#6369)
  • fix(ci): Split lightwalletd full sync into two jobs (#6364)
  • fix(ci): Switch CI to a GCP zone with available instances (#6365)

To me this are trivial too, they were in other sections. Can have duplicates.

  • build(deps): bump tempfile from 3.3.0 to 3.4.0 (#6240)
  • change(doc): Add "incompatible with nightly Rust (1.69)" to the README known issues (#6231)
  • build(deps): bump actions/add-to-project from 0.4.0 to 0.4.1 (#6238)
  • change(doc): Add "incompatible with nightly Rust (1.69)" to the README known issues (#6231)
  • Show Cargo.lock files in the github diff view (#6249)
  • build(deps): bump tj-actions/changed-files from 35.5.6 to 35.6.0 (#6237)
  • build(deps): bump tj-actions/changed-files from 35.6.0 to 35.6.4 (#6291)
  • build(deps): bump tj-actions/changed-files from 35.6.4 to 35.7.1 (#6331)
  • build(deps): bump tj-actions/changed-files from 35.7.1 to 35.7.2 (#6354)
  • change(doc): Add "incompatible with nightly Rust (1.69)" to the README known issues (#6231)
  • change(docs): Document how to get external PRs to merge (#6252)
  • change(state): Condense CodeTimer::start() and Span::current() calls in state service (#6337)
  • fix(ci): Split lightwalletd full sync into two jobs (#6364)
  • fix(ci): Switch CI to a GCP zone with available instances (#6365)
  • fix(consensus): bump incrementalmerkletree from 0.3.0 to 0.3.1, resolving a consensus bug on 32-bit platforms (#6258)
  • fix(deps): Remove unused dependencies, and check for them in CI (#6216)

@oxarbitrage oxarbitrage marked this pull request as ready for review March 23, 2023 19:42
@oxarbitrage oxarbitrage requested review from a team as code owners March 23, 2023 19:42
@oxarbitrage oxarbitrage requested review from arya2 and teor2345 and removed request for a team March 23, 2023 19:42
@oxarbitrage oxarbitrage self-assigned this Mar 23, 2023
@oxarbitrage oxarbitrage added P-High 🔥 and removed C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG labels Mar 23, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@teor2345
Copy link
Contributor

All these were removed form the changelog. there could be repeated ones, the auto changelog repeated a lot in this release. i think we might need to review what it is doing

We've talked about doing this a few times in meetings, maybe it would help to open a ticket so we can schedule that work in a sprint?

we should have a document describing what titles we need to use to have a better changelog.

I thought we had something like this, but I can't find it. Maybe it's in a google doc. We could move it from the google doc or write it again when we split out the release reference from the release checklist?

Or we could add a note about naming the PR to the pull request template:
https://github.com/ZcashFoundation/zebra/blob/main/.github/pull_request_template.md?plain=1

Co-authored-by: teor <[email protected]>
@github-actions github-actions bot added the C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG label Mar 23, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Deirdre Connolly <[email protected]>
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: teor <[email protected]>
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

It seems like we're ready to go here, thanks for working on all these changes!

@teor2345
Copy link
Contributor

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Mar 23, 2023

update

✅ Branch has been successfully updated

@teor2345
Copy link
Contributor

teor2345 commented Mar 23, 2023

I've un-frozen the PR and updated it to the latest main branch, anyone can merge the PR and do the release after CI passes.

(Mergify should merge it automatically in-place, but if it makes a merge PR and that gets blocked by merge freeze, we can merge this PR manually.)

@mergify mergify bot merged commit c3273e4 into main Mar 24, 2023
@mergify mergify bot deleted the release-1.0.0-rc.6 branch March 24, 2023 01:24
@teor2345
Copy link
Contributor

I'm doing the release now

@teor2345
Copy link
Contributor

The release seems to work well:

$ docker run --tty --interactive zfnd/zebra:1.0.0-rc.6                                                                                                                                  Unable to find image 'zfnd/zebra:1.0.0-rc.6' locally
1.0.0-rc.6: Pulling from zfnd/zebra                                                                                                                                                                        f1f26f570256: Pull complete            
ef50fd37b8f4: Pull complete                                                                                                                                                                                87ce5429b69c: Pull complete                                                                          
0336ebf41871: Pull complete                                                                                                                                                                                7e9d59f591df: Pull complete                                                                          
3977d9c9edfb: Pull complete                                                                          
Digest: sha256:8838310ed8a9059563d65f23fad97873eba4cd77809fef0ef01160ac409009b8              
Status: Downloaded newer image for zfnd/zebra:1.0.0-rc.6                                                                                                                                                   [sentry] initialized disabled sentry client due to disabled or invalid DSN             
2023-03-24T04:59:42.316440Z  INFO zebrad::components::tracing::component: started tracing component filter="info" TRACING_STATIC_MAX_LEVEL=LevelFilter::INFO LOG_STATIC_MAX_LEVEL=Info                     2023-03-24T04:59:42.316565Z  INFO zebrad::components::tracing::component: installed sentry tracing layer
2023-03-24T04:59:42.316576Z  INFO zebrad::application: Diagnostic Metadata:                         
version: 1.0.0-rc.6                                                                                                                                                                                        
Zcash network: Mainnet                                                                                                                                                                                     
state version: 25                                                                                                                                                                                          
target triple: x86_64-unknown-linux-gnu                                                                                                                                                                    
build profile: release                                                                                                                                                                                     
2023-03-24T04:59:42.316583Z  INFO zebrad::application: loaded zebrad config config_path=Some("/etc/zebra/zebrad.toml") config=ZebradConfig { consensus: Config { checkpoint_sync: true, debug_skip_paramete
r_preload: false }, metrics: Config { endpoint_addr: None }, network: Config { listen_addr: 0.0.0.0:8233, network: Mainnet, initial_mainnet_peers: {"dnsseed.z.cash:8233", "dnsseed.str4d.xyz:8233", "mainn
et.seeder.zfnd.org:8233", "mainnet.is.yolo.money:8233"}, initial_testnet_peers: {"dnsseed.testnet.z.cash:18233", "testnet.seeder.zfnd.org:18233", "testnet.is.yolo.money:18233"}, peerset_initial_target_si
ze: 25, crawl_new_peer_interval: 61s }, state: Config { cache_dir: "/zebrad-cache", ephemeral: false, debug_stop_at_height: None, delete_old_database: true }, tracing: Config { use_color: true, force_use
_color: false, filter: None, buffer_limit: 128000, endpoint_addr: None, flamegraph: None, use_journald: false }, sync: Config { download_concurrency_limit: 50, checkpoint_verify_concurrency_limit: 1000, 
full_verify_concurrency_limit: 20, parallel_cpu_threads: 0 }, mempool: Config { tx_cost_limit: 80000000, eviction_memory_time: 3600s, debug_enable_at_height: None }, rpc: Config { listen_addr: None, parallel_cpu_threads: 0, debug_force_finished_sync: false } }                              
2023-03-24T04:59:42.317276Z  INFO {net="Main"}: zebrad::application: initialized rayon thread pool for CPU-bound tasks num_threads=36                                                                      2023-03-24T04:59:42.318583Z  INFO {net="Main"}: zebrad::commands::start: Starting zebrad
2023-03-24T04:59:42.318682Z  INFO {net="Main"}: zebrad::commands::start: initializing node state                                                                                                           
2023-03-24T04:59:42.323520Z  INFO {net="Main"}: zebrad::commands::start: opening database, this may take a few minutes                                                                            
2023-03-24T04:59:42.324353Z  INFO zebra_state::service::finalized_state::disk_db: the open file limit is high enough for Zebra current_limit=1048576 min_limit=512 ideal_limit=1024                        2023-03-24T04:59:42.400115Z  INFO zebra_state::service::finalized_state::disk_db: Opened Zebra state cache at /zebrad-cache/state/v25/mainnet
2023-03-24T04:59:42.400766Z  INFO zebra_state::service::finalized_state: loaded Zebra state cache tip=None                                                                                        
2023-03-24T04:59:42.401134Z  INFO zebra_state::service: starting legacy chain check                                                                                                                        
2023-03-24T04:59:42.401161Z  INFO zebra_state::service: cached state consensus branch is valid: no legacy chain found                           
2023-03-24T04:59:42.401287Z  INFO {net="Main"}: zebrad::commands::start: initializing network                                                                                                              
2023-03-24T04:59:42.401349Z  INFO {net="Main"}:open_listener{addr=0.0.0.0:8233}: zebra_network::peer_set::initialize: Trying to open Zcash protocol endpoint at 0.0.0.0:8233...
2023-03-24T04:59:42.401395Z  INFO {net="Main"}:open_listener{addr=0.0.0.0:8233}: zebra_network::peer_set::initialize: Opened Zcash protocol endpoint at 0.0.0.0:8233
2023-03-24T04:59:42.401477Z  INFO {net="Main"}: zebra_network::address_book_updater: starting the address book updater
2023-03-24T04:59:42.433690Z  INFO {net="Main"}:add_initial_peers: zebra_network::config: resolved seed peer IP addresses seed="mainnet.is.yolo.money:8233" remote_ip_count=4
2023-03-24T04:59:42.607089Z  INFO {net="Main"}:add_initial_peers: zebra_network::config: resolved seed peer IP addresses seed="dnsseed.z.cash:8233" remote_ip_count=25
2023-03-24T04:59:42.792485Z  INFO {net="Main"}:add_initial_peers: zebra_network::config: resolved seed peer IP addresses seed="mainnet.seeder.zfnd.org:8233" remote_ip_count=25
2023-03-24T04:59:42.915355Z  INFO {net="Main"}:add_initial_peers: zebra_network::config: resolved seed peer IP addresses seed="dnsseed.str4d.xyz:8233" remote_ip_count=25
2023-03-24T04:59:42.915425Z  INFO {net="Main"}:add_initial_peers: zebra_network::peer_set::initialize: limiting the initial peers list from 65 to 25
2023-03-24T04:59:42.915519Z  INFO {net="Main"}:add_initial_peers: zebra_network::peer_set::initialize: connecting to initial peer set initial_peer_count=25 initial_peers={144.217.11.155:8233, 34.196.173.
50:8233, 51.77.64.51:8233, 50.116.43.190:8233, 116.203.188.195:8233, 195.201.111.115:8233, 5.9.74.158:8233, 51.178.66.112:8233, 95.216.115.54:8233, 62.210.69.194:8233, 23.88.71.118:8233, 47.254.176.240:8
233, 23.16.98.249:8233, 3.17.147.189:8233, 157.245.172.190:8233, 20.47.97.70:8233, 50.62.181.98:8233, 209.141.47.197:8233, 85.15.179.171:8233, 54.84.155.205:8233, 188.166.173.215:8233, 44.199.61.199:8233
, 13.228.124.191:8233, 8.210.14.154:8233, 15.235.85.30:8233}
2023-03-24T04:59:43.546119Z  INFO {net="Main"}:add_initial_peers: zebra_network::peer_set::initialize: an initial peer connection failed successes=3 errors=1 addr=209.141.47.197:8233 e=Connection refused
 (os error 111)
2023-03-24T04:59:43.739788Z  INFO {net="Main"}:add_initial_peers: zebra_network::peer_set::initialize: an initial peer connection failed successes=10 errors=2 addr=85.15.179.171:8233 e=Connection refused
 (os error 111)
2023-03-24T04:59:44.071457Z  INFO {net="Main"}:add_initial_peers: zebra_network::peer_set::initialize: finished connecting to initial seed peers handshake_success_total=23 handshake_error_total=2 outboun
d_connections=23
2023-03-24T04:59:44.071634Z  INFO {net="Main"}: zebra_network::peer_set::initialize: sending initial request for peers active_initial_peer_count=23
2023-03-24T04:59:44.072044Z  INFO {net="Main"}: zebrad::commands::start: initializing verifiers
2023-03-24T04:59:44.072075Z  INFO {net="Main"}:crawl_and_dial{new_peer_interval=61s}: zebra_network::peer_set::initialize: starting the peer address crawler crawl_new_peer_interval=61s outbound_connectio
ns=23
2023-03-24T04:59:44.072136Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::chai
n: starting state checkpoint validation
2023-03-24T04:59:44.072467Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::prim
itives::groth16::params: checking and loading Zcash Sapling and Sprout parameters
2023-03-24T04:59:44.075875Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::chai
n: initializing chain verifier tip=None max_checkpoint_height=Height(2024043)
2023-03-24T04:59:44.075912Z  INFO {net="Main"}: zebrad::commands::start: initializing syncer
2023-03-24T04:59:44.075956Z  INFO {net="Main"}: zebrad::commands::start: initializing mempool
2023-03-24T04:59:44.075957Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::chai
n: state is not fully synced yet, remaining checkpoints will be verified during syncing
2023-03-24T04:59:44.075979Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::chai
n: finished state checkpoint validation
2023-03-24T04:59:44.076008Z  INFO {net="Main"}: zebrad::commands::start: spawned initial Zebra tasks
2023-03-24T04:59:44.076017Z  INFO {net="Main"}: zebrad::components::sync::gossip: initializing block gossip task
2023-03-24T04:59:44.076054Z  INFO {net="Main"}: zebrad::components::mempool::crawler: initializing mempool crawler task
2023-03-24T04:59:44.076092Z  INFO {net="Main"}: zebrad::components::mempool::queue_checker: initializing mempool queue checker task
2023-03-24T04:59:44.076095Z  INFO {net="Main"}: zebrad::components::mempool::gossip: initializing transaction gossip task
2023-03-24T04:59:44.076138Z  INFO {net="Main"}: zebra_state::config: checking for old database versions
2023-03-24T04:59:44.076149Z  INFO {net="Main"}:sync: zebrad::components::sync: starting genesis block download and verify
2023-03-24T04:59:44.079438Z  INFO {net="Main"}: zebrad::components::sync::progress: initial sync is waiting to download the genesis block sync_percent=0.000 % current_height=None
2023-03-24T04:59:44.085642Z  INFO {net="Main"}: zebra_state::config: finished old database version cleanup task
2023-03-24T04:59:44.478767Z  INFO {net="Main"}:sync:checkpoint: zebra_consensus::checkpoint: verified checkpoint range block_count=1 current_range=(Unbounded, Included(Height(0)))
2023-03-24T04:59:44.542595Z  INFO {net="Main"}:sync:try_to_sync: zebrad::components::sync: starting sync, obtaining new tips state_tip=Some(Height(0))
2023-03-24T04:59:44.916358Z  INFO {net="Main"}:init{config=Config { checkpoint_sync: true, debug_skip_parameter_preload: false } network=Mainnet debug_skip_parameter_preload=false}: zebra_consensus::prim
itives::groth16::params: Zcash Sapling and Sprout parameters downloaded and/or verified
2023-03-24T04:59:49.269905Z  INFO {net="Main"}:sync:try_to_sync:obtain_tips:checkpoint: zebra_consensus::checkpoint: verified checkpoint range block_count=400 current_range=(Excluded(Height(0)), Included
(Height(400)))
2023-03-24T04:59:49.651252Z  INFO {net="Main"}:sync:try_to_sync: zebrad::components::sync: extending tips tips.len=1 in_flight=371 extra_hashes=0 lookahead_limit=1000 state_tip=Some(Height(400))
2023-03-24T04:59:54.872971Z  INFO {net="Main"}:sync:try_to_sync: zebrad::components::sync: extending tips tips.len=1 in_flight=741 extra_hashes=0 lookahead_limit=1000 state_tip=Some(Height(400))
2023-03-24T05:00:03.991588Z  INFO {net="Main"}:sync:try_to_sync:extend_tips:checkpoint: zebra_consensus::checkpoint: verified checkpoint range block_count=400 current_range=(Excluded(Height(400)), Includ
ed(Height(800)))
2023-03-24T05:00:04.001421Z  INFO {net="Main"}:sync:try_to_sync: zebrad::components::sync: extending tips tips.len=1 in_flight=999 extra_hashes=0 lookahead_limit=1000 state_tip=Some(Height(496))
^C2023-03-24T05:00:07.403215Z  INFO {net="Main"}:sig{kind=SignalKind(2) name="SIGINT"}: zebrad::signal: received SIGINT, starting shutdown
2023-03-24T05:00:07.403402Z  INFO {net="Main"}: zebrad::components::tokio: waiting for async tokio tasks to shut down TOKIO_SHUTDOWN_TIMEOUT=20s
2023-03-24T05:00:07.403524Z  INFO zebra_state::service::finalized_state::disk_db: forcing shutdown of a state database with multiple active instances path="/zebrad-cache/state/v25/mainnet"
2023-03-24T05:00:07.403528Z  INFO zebra_state::service::write: StateService closed the block reset channel. Is Zebra shutting down?
2023-03-24T05:00:07.403643Z  INFO {net="Main"}: zebra_network::address_book_updater: stopping address book updater error=Err(AllAddressBookUpdaterSendersClosed)
2023-03-24T05:00:07.404023Z  INFO zebra_state::service: waiting for the block write task to finish
2023-03-24T05:00:07.413233Z  INFO {net="Main"}: zebrad::components::tokio: shutting down Zebra
2023-03-24T05:00:07.413247Z  INFO {net="Main"}: zebrad::commands::start: stopping zebrad

@teor2345
Copy link
Contributor

The release is done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-trivial Category: A trivial change that is not worth mentioning in the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tag Zebra 1.0.0-rc.6 release
3 participants