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

Throw exception when action type is not annotated #144

Merged

Conversation

earlbread
Copy link
Contributor

@earlbread earlbread commented Mar 22, 2019

@earlbread earlbread self-assigned this Mar 22, 2019
@codecov
Copy link

codecov bot commented Mar 22, 2019

Codecov Report

Merging #144 into master will decrease coverage by 2.83%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #144      +/-   ##
==========================================
- Coverage   87.72%   84.89%   -2.84%     
==========================================
  Files          69       70       +1     
  Lines        3250     3263      +13     
==========================================
- Hits         2851     2770      -81     
- Misses        399      493      +94
Impacted Files Coverage Δ
Libplanet/Action/ActionTypeAttribute.cs 100% <100%> (ø) ⬆️
Libplanet/Tx/InvalidActionTypeException.cs 33.33% <33.33%> (ø)
Libplanet/Net/IceServer.cs 0% <0%> (-100%) ⬇️
Libplanet/Net/IceServerException.cs 0% <0%> (-100%) ⬇️
Libplanet/Net/NetworkStreamProxy.cs 0% <0%> (-80.77%) ⬇️
Libplanet/Net/Swarm.cs 85.32% <0%> (-4.25%) ⬇️

CHANGES.md Outdated Show resolved Hide resolved
Libplanet.Tests/Blockchain/BlockChainTest.cs Outdated Show resolved Hide resolved
Libplanet.Tests/Blockchain/BlockChainTest.cs Outdated Show resolved Hide resolved
Libplanet.Tests/Blockchain/BlockChainTest.cs Outdated Show resolved Hide resolved
Libplanet/Tx/Transaction.cs Outdated Show resolved Hide resolved
@earlbread earlbread force-pushed the invalid-action-type-exception branch 2 times, most recently from 6699605 to 9ecf915 Compare March 22, 2019 10:13
@earlbread
Copy link
Contributor Author

I fixed the code. Please take a look. @dahlia @longfin

dahlia
dahlia previously approved these changes Mar 22, 2019
@earlbread earlbread merged commit 90d7413 into planetarium:master Mar 23, 2019
@earlbread earlbread deleted the invalid-action-type-exception branch March 23, 2019 02:37
dahlia pushed a commit to dahlia/libplanet that referenced this pull request Mar 9, 2021
…t-20210105

Bump libplanet to 0.11.0-dev.20201209085742
OnedgeLee pushed a commit to OnedgeLee/libplanet that referenced this pull request Jan 31, 2023
…ests-1669622808

Update main manifests [update-main-manifests-1669622808]
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