Skip to content

feat: Add checksum of tx to TransactionInfo #670

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kulikthebird
Copy link
Member

No description provided.

@faddat
Copy link
Contributor

faddat commented May 13, 2025

Great!

@kulikthebird kulikthebird force-pushed the tkulik/feat/tx_checksum branch from e76eb20 to e95858d Compare May 13, 2025 15:23
@kulikthebird kulikthebird force-pushed the tkulik/feat/tx_checksum branch from e95858d to de1cb55 Compare May 14, 2025 18:23
@@ -678,7 +678,7 @@ func TestExecutePanic(t *testing.T) {
store.SetGasMeter(gasMeter2)
info = MockInfoBin(t, "fred")
_, _, err = Execute(cache, checksum, env, info, []byte(`{"panic":{}}`), &igasMeter2, store, api, &querier, maxGas, TESTING_PRINT_DEBUG)
require.ErrorContains(t, err, "RuntimeError: Aborted: panicked at 'This page intentionally faulted'")
Copy link
Member Author

Choose a reason for hiding this comment

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

With recompiled contract the panic message contained more info. I reduced the expected msg to the essential part only

@kulikthebird kulikthebird marked this pull request as ready for review May 14, 2025 18:25
@kulikthebird kulikthebird requested a review from chipshort May 14, 2025 18:26
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