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

Cover missing statements #648

Merged
merged 3 commits into from Jan 10, 2023

Conversation

Solpatium
Copy link
Contributor

No description provided.

@Solpatium Solpatium force-pushed the feat/cover-all-serializer-lines branch from 34ee08c to 6fec9d2 Compare January 9, 2023 12:01
@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Base: 97.73% // Head: 97.89% // Increases project coverage by +0.15% 🎉

Coverage data is based on head (6fec9d2) compared to base (aaf2daa).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@                      Coverage Diff                      @@
##           refactor/data-transformer     #648      +/-   ##
=============================================================
+ Coverage                      97.73%   97.89%   +0.15%     
=============================================================
  Files                             75       75              
  Lines                           3230     3232       +2     
=============================================================
+ Hits                            3157     3164       +7     
+ Misses                            73       68       -5     
Impacted Files Coverage Δ
starknet_py/cairo/type_parser.py 100.00% <ø> (+5.12%) ⬆️
starknet_py/cairo/felt.py 94.73% <66.66%> (-2.41%) ⬇️
starknet_py/net/account/account_client.py 95.83% <0.00%> (+0.52%) ⬆️
starknet_py/proxy/contract_abi_resolver.py 95.71% <0.00%> (+1.42%) ⬆️
starknet_py/cairo/serialization/_context.py 100.00% <0.00%> (+2.85%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

starknet_py/cairo/type_parser.py Outdated Show resolved Hide resolved
Co-authored-by: war-in <61014013+war-in@users.noreply.github.com>
@Solpatium Solpatium merged commit fc90643 into refactor/data-transformer Jan 10, 2023
@Solpatium Solpatium deleted the feat/cover-all-serializer-lines branch January 10, 2023 08:32
cptartur added a commit that referenced this pull request Jan 23, 2023
* Add cairo type parser (#566)

* Add ABI module (#571)

* Add transformation context (#576)

* Add TupleDataclass (#590)

* Add cairo.serializer module (#593)

* Add fix to nested errors (#599)

* Feat/payload serializer (#601)

* Add tuple serializers (#612)

* Add struct & uin256 serilaizer (#613)

* Add FunctionSerializationAdapter (#614)

* Add cycle check in parser (#630)

* Add serializer factory functions (#629)

* Use new serializer in contract (#637)

* Replace data transfomer in some modules (#642)

* Replace data transfomer in some modules

* Simplify structure in account

* Remove more dependencies on data_transfomer

* Remove string typed types in contract

* Cover missing statements (#648)

* Cover missing statements

* Change deprecation text in felt.py

* Update starknet_py/cairo/type_parser.py

Co-authored-by: war-in <61014013+war-in@users.noreply.github.com>

Co-authored-by: war-in <61014013+war-in@users.noreply.github.com>

* Add missing dots (#652)

* Deprecate data_transformer module (#654)

* Add simple examples in documentation of serializers (#653)

* Add test for complex abi (#663)

* Support {low, high} dict in uint256 serializer (#668)

* Support {low, high} dict in uint256 serializer

* Replace ^ with **

* Add basic docs for serializers (#679)

* Add basic docs for serializers

* Add more docs

* Adjust comment

* Move abi and serialization to top level modules

* Add TupleDataclass to api

* Fix docs

* Fix serializing example

* Fix lint

* Use header consistent with the rest of the api

* Remove unnecessary pylint disable, unify disables

* Update comment

* Format

* Update docs/guide/serialization.rst

Co-authored-by: Kamil Jankowski <kamil.jankowski.x@gmail.com>

Co-authored-by: Artur Michalek <artur.michalek@swmansion.com>
Co-authored-by: Artur Michałek <52135326+cptartur@users.noreply.github.com>
Co-authored-by: Kamil Jankowski <kamil.jankowski.x@gmail.com>

* Apply suggestions from code review

Co-authored-by: war-in <61014013+war-in@users.noreply.github.com>

* Make deployer.py variables private

Co-authored-by: war-in <61014013+war-in@users.noreply.github.com>
Co-authored-by: Artur Michalek <artur.michalek@swmansion.com>
Co-authored-by: Artur Michałek <52135326+cptartur@users.noreply.github.com>
Co-authored-by: Kamil Jankowski <kamil.jankowski.x@gmail.com>
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.

None yet

3 participants