-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
eth_estimateGas
opts to fallback estimation for contract revert (
#2834) * fix: `eth_estimateGas` opts to fallback estimation when a contract reverts Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * fix: `eth_estimateGas` opts to fallback estimation when a contract reverts Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * fix: `eth_estimateGas` opts to fallback estimation when a contract reverts Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * test: extend tests in eth_estimateGas.spec.ts to cover the new logic Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * test: fix failing postman tests due to missing 'from' field Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * fix: throw predefined.CONTRACT_REVERT only for CONTRACT_REVERT_EXECUTED error message Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> * fix: use `Status.ContractRevertExecuted` from `@hashgraph/sdk` Signed-off-by: Victor Yanev <victor.yanev@limechain.tech> --------- Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
- Loading branch information
1 parent
f66ba3e
commit 1c75656
Showing
6 changed files
with
167 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters