Reputation: 103
What is Near block gas limit/target? I want to know what is the max gas per sec Near protocol can handle. In order to know that I need to know how much gas can fix in the block.
Upvotes: 2
Views: 292
Reputation: 101
Near gas has an approximate relation to compute time, where 1sec corresponds to 1PGas or 10^15 Gas. [1]
1PTgas is also what is allowed per shard per block. This is configured as gas_limit
and it can be looked up through an API call [2] or you can peak at the source on Github [3]
With current progress, having successfully launched Simple Nightshade, there are 4 shards [4]. That gives you 4Pgas / block. But it can scale up as more shards are added.
Upvotes: 2