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

Use estimateGas in msg debugger #1109

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

nambrot
Copy link
Contributor

@nambrot nambrot commented Sep 22, 2022

Description

On the suggestion of @jmrossy , changed this to the estimateGas which should properly throw an exception in all reversion cases.

Related issues

Backward compatibility

Yes

Testing

Tried with yarn ts-node scripts/debug-message.ts --tx-hash 0x17d6cb51afa2c2ab10be0ce78496c9ffc0899dc25f2943dc332f4b1bcdee856c --origin-chain fuji -e testnet2

@nambrot nambrot merged commit 3459846 into main Sep 22, 2022
@nambrot nambrot deleted the nambrot/get-revert-reason-in-msg-debugger branch September 22, 2022 19:39
yorhodes pushed a commit that referenced this pull request Sep 26, 2022
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