Access gas counter global variable instead of calling gr_gas_available
to control stack/resucsion depth in wasm-gen
#3465
Labels
gr_gas_available
to control stack/resucsion depth in wasm-gen
#3465
This #3391 uses
gr_gas_available
syscall to get info about current gas consumption to decide whether we should return from that recursion/loop block or not. However,gr_gas_available
costs more than reading global variable.The text was updated successfully, but these errors were encountered: