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

Bump anchor and other dependencies #1570

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Conversation

seanyoung
Copy link
Contributor

@seanyoung seanyoung commented Oct 18, 2023

Update all the crates which can be updated easily.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #1570 (6b049be) into main (6b04c23) will increase coverage by 0.05%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main    #1570      +/-   ##
==========================================
+ Coverage   87.36%   87.41%   +0.05%     
==========================================
  Files         133      133              
  Lines       64125    64130       +5     
==========================================
+ Hits        56021    56060      +39     
+ Misses       8104     8070      -34     
Files Coverage Δ
src/abi/anchor.rs 90.36% <100.00%> (+0.10%) ⬆️
src/bin/idl/mod.rs 77.88% <66.66%> (+11.00%) ⬆️

@seanyoung seanyoung force-pushed the anchor branch 2 times, most recently from 75a7ee3 to 0740817 Compare October 18, 2023 15:33
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Sean Young <sean@mess.org>
@@ -367,6 +367,9 @@ fn idltype_to_solidity(ty: &IdlType, ty_names: &[(String, String)]) -> Result<St
Ok(ty) => Ok(format!("{ty}[{size}]")),
Err(ty) => Err(format!("{ty}[{size}]")),
},
IdlType::Generic(..)
| IdlType::GenericLenArray(..)
| IdlType::DefinedWithTypeArgs { .. } => Err("generics are not supported".into()),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm hoping you are prepared to overlook this warning (note that overall code coverage has increased)

Copy link
Contributor

Choose a reason for hiding this comment

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

I liked this feature of pointing out lines not covered by tests.

@seanyoung seanyoung changed the title Bump anchor and borsh dependencies Bump anchor and other dependencies Oct 19, 2023
Copy link
Contributor

@xermicus xermicus left a comment

Choose a reason for hiding this comment

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

LGTM

@seanyoung seanyoung merged commit b299eae into hyperledger:main Oct 20, 2023
18 of 19 checks passed
@seanyoung seanyoung deleted the anchor branch October 20, 2023 08:15
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.

3 participants