alpenlabs / strata

Rust implementation of the Strata protocol
https://docs.stratabtc.org
Apache License 2.0
23 stars 1 forks source link

fix: update L1Status with Network from params #384

Closed Rajil1213 closed 1 month ago

Rajil1213 commented 1 month ago

Description

This PR updates the L1Status channel to receive the network information from the rollup params. Without this update, the bridge deposit duty that is constructed will have the default network of Regtest.

Type of Change

Checklist

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 57.27%. Comparing base (2b1625a) to head (495b1f1). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
bin/strata-client/src/helpers.rs 0.00% 10 Missing :warning:
bin/strata-client/src/main.rs 0.00% 1 Missing :warning:
@@            Coverage Diff             @@
##             main     #384      +/-   ##
==========================================
- Coverage   57.34%   57.27%   -0.08%     
==========================================
  Files         254      254              
  Lines       26936    26940       +4     
==========================================
- Hits        15447    15430      -17     
- Misses      11489    11510      +21     
Files with missing lines Coverage Δ
bin/strata-client/src/main.rs 0.00% <0.00%> (ø)
bin/strata-client/src/helpers.rs 0.00% <0.00%> (ø)

... and 5 files with indirect coverage changes