Skip to content

Conversation

@tomek0123456789
Copy link
Contributor

@tomek0123456789 tomek0123456789 commented Sep 6, 2023

Closes #981

Introduced changes

  • added Trace API
  • changed devnet to 0.6.2 and cairo-lang to 0.12.2

  • This PR contains breaking changes
  • development-related change: some variables are now dependent on environmental variables (those can be set by an .env file)

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Patch coverage: 97.83% and project coverage change: +0.42% 🎉

Comparison is base (14c69e8) 97.08% compared to head (3c0016c) 97.51%.

Additional details and impacted files
@@               Coverage Diff               @@
##           development    #1175      +/-   ##
===============================================
+ Coverage        97.08%   97.51%   +0.42%     
===============================================
  Files               92       92              
  Lines             4489     4661     +172     
===============================================
+ Hits              4358     4545     +187     
+ Misses             131      116      -15     
Files Changed Coverage Δ
starknet_py/conftest.py 100.00% <ø> (ø)
starknet_py/contract.py 99.62% <ø> (ø)
starknet_py/net/networks.py 81.25% <ø> (ø)
starknet_py/net/schemas/common.py 89.89% <75.00%> (-2.88%) ⬇️
starknet_py/net/client.py 91.76% <100.00%> (ø)
starknet_py/net/client_models.py 100.00% <100.00%> (ø)
starknet_py/net/full_node_client.py 92.00% <100.00%> (+4.55%) ⬆️
starknet_py/net/gateway_client.py 96.81% <100.00%> (ø)
starknet_py/net/schemas/gateway.py 99.39% <100.00%> (+0.30%) ⬆️
starknet_py/net/schemas/rpc.py 98.03% <100.00%> (+1.28%) ⬆️
... and 1 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@DelevoXDG DelevoXDG left a comment

Choose a reason for hiding this comment

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

Nice work! 👍🏻 Added some comments, some of them are subjective, so someone please TAL.

Copy link
Contributor

@DelevoXDG DelevoXDG left a comment

Choose a reason for hiding this comment

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

Left few suggestions, otherwise looks good

Copy link
Contributor

@DelevoXDG DelevoXDG left a comment

Choose a reason for hiding this comment

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

lgtm 🔥
@drknzz could you please TAL?

Copy link
Contributor

@drknzz drknzz left a comment

Choose a reason for hiding this comment

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

giga job 💯

Setup
-----

In order to compile contracts, you need to create ``manifest-path`` file in ``starknet_py/tests/e2e/`` directory and pass the path to Cairo compiler.
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we have a message redirecting to the docs about this or directly in the message say about the manifest-path file? I mean to check before the manifest-path is fetched from the file, whether it's even set and if not just throw an error with some information

@tomek0123456789 tomek0123456789 merged commit ff2639e into development Sep 18, 2023
@tomek0123456789 tomek0123456789 deleted the tomek/981-trace-api branch September 18, 2023 09:30
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.

RPC Trace Api

4 participants