Skip to content

chore: fix triggers with return values#59

Merged
0xgregthedev merged 2 commits intomasterfrom
gregory/eng-963-bugphoundry-pcl-test-errors-with-classertion-calling
Aug 6, 2025
Merged

chore: fix triggers with return values#59
0xgregthedev merged 2 commits intomasterfrom
gregory/eng-963-bugphoundry-pcl-test-errors-with-classertion-calling

Conversation

@0xgregthedev
Copy link

Fixes bug for triggers with return values.

also executes triggers that were valid and executed against test evm

@0xgregthedev 0xgregthedev requested a review from fredo August 5, 2025 17:18
@linear
Copy link

linear bot commented Aug 5, 2025

@fredo
Copy link

fredo commented Aug 5, 2025

nice! Just to get it right, by validating against test_evm we fix both, return value and committing state (as we discussed in the knowledge transfer), right?

Co-authored-by: Frederik <luehrs.fred@gmail.com>
Signed-off-by: GregTheDev <gbcurtis98@outlook.com>
@0xgregthedev
Copy link
Author

nice! Just to get it right, by validating against test_evm we fix both, return value and committing state (as we discussed in the knowledge transfer), right?

Yep that is correct.

When we force a revert we still need to update journal tx depth for expect revert calls but otherwise should be pretty seamless

@0xgregthedev 0xgregthedev requested a review from fredo August 5, 2025 17:30
@0xgregthedev 0xgregthedev merged commit 359369e into master Aug 6, 2025
6 of 22 checks passed
mateo-mro pushed a commit that referenced this pull request Dec 2, 2025
* chore: fix regressions

* Update crates/cheatcodes/src/credible.rs

Co-authored-by: Frederik <luehrs.fred@gmail.com>
Signed-off-by: GregTheDev <gbcurtis98@outlook.com>

---------

Signed-off-by: GregTheDev <gbcurtis98@outlook.com>
Co-authored-by: Frederik <luehrs.fred@gmail.com>
mateo-mro pushed a commit that referenced this pull request Dec 22, 2025
* chore: fix regressions

* Update crates/cheatcodes/src/credible.rs

Co-authored-by: Frederik <luehrs.fred@gmail.com>
Signed-off-by: GregTheDev <gbcurtis98@outlook.com>

---------

Signed-off-by: GregTheDev <gbcurtis98@outlook.com>
Co-authored-by: Frederik <luehrs.fred@gmail.com>
mateo-mro pushed a commit that referenced this pull request Dec 22, 2025
* chore: fix regressions

* Update crates/cheatcodes/src/credible.rs

Co-authored-by: Frederik <luehrs.fred@gmail.com>
Signed-off-by: GregTheDev <gbcurtis98@outlook.com>

---------

Signed-off-by: GregTheDev <gbcurtis98@outlook.com>
Co-authored-by: Frederik <luehrs.fred@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.

2 participants