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

Intercept Cadence Runtime Logs #296

Merged

Conversation

DylanTinianov
Copy link
Contributor

@DylanTinianov DylanTinianov commented Jun 22, 2023

Closes: #295

Description

Created a log interceptor to capture runtime logging during contract deployments along with transaction and script executions.


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the standards mentioned here.
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@DylanTinianov DylanTinianov self-assigned this Jun 22, 2023
@DylanTinianov DylanTinianov marked this pull request as ready for review June 22, 2023 19:09
Copy link
Contributor

@bthaile bthaile left a comment

Choose a reason for hiding this comment

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

Lgtm

@DylanTinianov DylanTinianov merged commit 767fd19 into improvement/flowkit-refactor-base Jun 22, 2023
@DylanTinianov DylanTinianov deleted the flowkit/refactor-logs branch June 22, 2023 19:48
DylanTinianov added a commit that referenced this pull request Jul 27, 2023
* Initialize flowKit

* Refactor

* Compile and pass most blockchain tests

* extract types

* Bootstrap standard contracts

* move graphQL handler

* Bootstrap standard contracts

* Fix contract redeployment rollback

* Fix e2e tests

* Fix e2e tests

* Pass test & lint

* Update Makefile

* Update Makefile

* Update contract loading

* Remove emulator

* tidy

* tidy

* Implement flow.json exporting (#276)

* Implement flow.json exporting

* Update ci workflow

* Update ci workflow

* Add flowkit state building

* Add flowkit state building

* Add core contracts to flow.json

* Fix replica account indexing

* lint

* Remove core contracts temporarily

* Remove core contracts temporarily

* Fix testing block height

* Enable contract init args (#291)

* Intercept Cadence Runtime Logs (#296)

* Intercept runtime logs

* tidy

* Enable Project State Reset (#297)

* Intercept runtime logs

* tidy

* Reset project state

* Add script logs test

* Verify logs

* Fix transaction signers (#301)

* Add signers

* Add signers

* Add signers

* Add multi-signer test

* Increase test timeout

* Fix cache invalidation logic

* Support new import syntax (#307)

* Enable new import syntax

* Enable new import syntax

* Account storage iteration + Remove FUSD (#311)

* Parse Account Storage

* Return account storage string

* Add headers

* Remove FUSD

* Bootstrap contracts from emulator (#313)

* Upgrade go version

* Update gcr to latest

* Update libc

* Fix Libc Deployment Issues (#314)

* Remove distroless image

* Remove distroless image

* Remove distroless image
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.

2 participants