stratisproject / StratisCore

MIT License
42 stars 49 forks source link

Discussion - Increase Default Gas Limit #307

Closed mrtpain closed 4 years ago

mrtpain commented 5 years ago

In my testing of the Airdrop contract, even the simplest calls required a bit more than 10_000 gas. Most calls were around 10_500. New contracts or expensive calls reached up to about 14_000.

Maybe a new default around 11_000 would be a good start. 15_000 would be a safe bet to allow tokens, contracts, etc. to not run out of gas.

dev0tion commented 4 years ago

@rowandh @codingupastorm

rowandh commented 4 years ago

Good idea, 10k is the base fee and won't allow you to get anything else done in a contract so we could definitely bump this up. Something around 14-15k I feel would be the sweet spot.

dev0tion commented 4 years ago

Hey @rowandh any progress on this? Does the issue need to remain open? Thanks!

mrtpain commented 4 years ago

@dev0tion I think this is a UI fix, the default limit shown in current wallet versions is 10_000.

dev0tion commented 4 years ago

I know @mrtpain, I'm just wondering if they have discussed increasing it and if yes, to what value.

rowandh commented 4 years ago

Discussed with @codingupastorm and we agree that 15k is a sensible limit.