yeagerai / genlayer-simulator

MIT License
16 stars 8 forks source link

chore: improve contract to contract write #552

Closed AgustinRamiroDiaz closed 1 month ago

AgustinRamiroDiaz commented 1 month ago

Extension of #454

What

Adds self relationship to Transactions to be able to track the triggered transactions I'll try adding more tests through the day if I have time

Why

Testing done

Decisions made

In the UI it's just plain text

image

We could improve this maybe by polling the triggered_transactions. But those transactions could trigger even more transactions, so this needs a bit more of definition prior to working on it

Checks

Reviewing tips

User facing release notes

You can now see the transactions triggered by your Intelligen Contract when writing to other contracts

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.32%. Comparing base (6a6b70a) to head (c5eed9f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #552 +/- ## ======================================= Coverage 16.32% 16.32% ======================================= Files 111 111 Lines 7843 7843 Branches 184 184 ======================================= Hits 1280 1280 Misses 6488 6488 Partials 75 75 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 0.13.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: