fuels-ts icon indicating copy to clipboard operation
fuels-ts copied to clipboard

Investigate using max chain config values for `gasLimit` in dry running

Open nedsalk opened this issue 1 year ago • 1 comments

gasLimit = max_gas_per_tx - (minGas + witnessesGas)

nedsalk avatar Jun 07 '24 10:06 nedsalk

Noting that the dryRun method now accepts an optional gasPrice argument as of [email protected].

After discussion with @Torres-ssf, he was unsure how this field would help us, however noting this here for future investigation.

petertonysmith94 avatar Jun 12 '24 06:06 petertonysmith94

@nedsalk Do you still want to pursue something related to this issue?

arboleya avatar Aug 08 '24 14:08 arboleya

@arboleya I still think there's something to explore here. I plan on checking with the rust sdk team to see how they conceptualize this and, if there's no merit, I can at least summarize my findings for reference. There are also quirks related to the gas nomenclature that should be properly documented for reference as it's unintuitive.

nedsalk avatar Aug 08 '24 18:08 nedsalk