-
Notifications
You must be signed in to change notification settings - Fork 166
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
feat(evm): adding call contract with gas estimation #175
Conversation
@re1ro I've published |
@npty thank you for that! Everything passes on local now. And I've used your fix for
|
package.json
Outdated
@@ -22,8 +22,8 @@ | |||
"license": "ISC", | |||
"dependencies": { | |||
"@axelar-network/axelar-chains-config": "^0.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"@axelar-network/axelar-chains-config": "^0.1.0", | |
"@axelar-network/axelar-chains-config": "^1.2.0", |
IAxelarGasService public immutable gasService; | ||
uint256 public constant GAS_LIMIT = 200000; | ||
|
||
event Executed(string _from, string _message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a getter to estimate gas on this contract for composability? It'll internally call gasService.estimateGas
with the right gas limit set. Calling contracts and the example script can use that instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented!
CallContractGasEstimation
5.7.0