astar-frame
astar-frame copied to clipboard
XVM - WASM - estimated gas too high
Description
When I want to do an XVM call using XVM chain-extension in a wasm contract. the estimated gas is too high (and execute button is grayed - thus impossible to execute the tx). When I edit this estimated gas and reduce it from 500% to 50% the call works. so it is an estimated gas issue only.

I'm not sure this is a bug in XVM pallet - you're getting this from polkadot-js app.
If I understand correctly, dry-run is performed and gasRequired is extracted from the exec result.
So it shouldn't be possible for gas required to exceed the block limit.