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

Print debug messages in integration tests #434

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

Lbqds
Copy link
Member

@Lbqds Lbqds commented Oct 17, 2024

No description provided.

@@ -1876,7 +1876,11 @@ export async function signExecuteMethod<I extends ContractInstance, F extends Fi
gasPrice: params.gasPrice
}

return await signer.signAndSubmitExecuteScriptTx(signerParams)
const result = await signer.signAndSubmitExecuteScriptTx(signerParams)
if (await contract.contract.isDevnet(signer)) {
Copy link
Member

Choose a reason for hiding this comment

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

It seems better to check isContractDebugMessageEnabled here, so it's more efficient if it's disabled.

@polarker polarker merged commit 95c2272 into master Oct 17, 2024
7 checks passed
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