Why Astar/Shibuya gas price is so HIGH?
Lohann opened this issue · 5 comments
I work at analog.one building cross-chain bridges, and recently I develop this Universal Factory contract that allows anyone to deploy the same contract on all EVM compatible chains, it is intended to be deployed using Keyless Deployment, the issue of this method is that I MUST use the exact same transaction on all chains, I can't change a single byte of the transaction otherwise it changes the deployer and the resulting contract address.
So I must set an relative high gas price and gas limit sufficient for this transaction be valid in ALL chains, the issue is that Astar gas price is WAY out of the charts when compared to other EVM chains, this make impossible to Astar to accept even already defined standard such as the EIP-1820, which already set an pessimistic gas price of 100 gwei
, but Astar/Shibuya requires 1200 ~ 2000 gwei
!!!:
As comparison, I estimated the gas fee of different networks using alloy default fee estimator (or eth_gasPrice
when the chain doesn't support EIP1559), the list is ordered from the most expensive to the cheaspest, also notice the token price doesn't really matter when using Keyless Deployment:
Astar
- max fee per gas:
2149 gwei
- max priority fee per gas:
589 gwei
Shibuya
- max fee per gas:
1559 gwei
- max priority fee per gas:
1 wei
Sepolia
- max fee per gas:
290 gwei
- max priority fee per gas:
1 gwei
Ethereum Mainnet
- max fee per gas:
75 gwei
- max priority fee per gas:
0.6 gwei
Avalanche C-Chain
- max fee per gas:
52 gwei
- max priority fee per gas:
1.7 gwei
Avalanche Fuji
- max fee per gas:
51 gwei
- max priority fee per gas:
1.25 gwei
Polygon
- max fee per gas:
31 gwei
- max priority fee per gas:
30 gwei
Polygon Amoy
- max fee per gas:
31 gwei
- max priority fee per gas:
30 gwei
bnb-smart-chain testnet (doesn't support EIP1559)
- gas price:
5 gwei
bnb-smart-chain (doesn't support EIP1559)
- gas price:
3 gwei
Moonbase
- max fee per gas:
1.75 gwei
- max priority fee per gas:
1.5 gwei
Arbitrum One Sepolia
- max fee per gas:
1.45 gwei
- max priority fee per gas:
1 wei
Ethereum Classic (doesn't support EIP1559)
- gas price:
1 gwei
Arbitrum One
- max fee per gas:
0.02 gwei
- max priority fee per gas:
1 wei
Holesky
- max fee per gas:
0.14 gwei
- max priority fee per gas:
0.14 gwei
Hello @Lohann,
the price expressed in GWei is such because of Astar's tokenomics.
The fee is adjusted to the total issuance & inflation.
also notice the token price doesn't really matter when using Keyless Deployment
I understand it doesn't matter for your scenario, but it does matter overall.
The price of gas is high if measurement is wei, however translated to USD it's still pretty low.
the price expressed in GWei is such because of Astar's tokenomics.
I see.
The price of gas is high if measurement is wei, however translated to USD it's still pretty low.
Yeah the issue is that if I use Astar gas price as baseline, the Universal Factory deployment will cost almost 2 ether
on Ethereum Mainnet (~5k USD), well I'll use 100 gwei
as gas price and hope for the best 🤞
Sorry, I missed your reply before.
I understand your issue, but there's nothing we can do for this situation, at least to my knowledge.
With the current low traffic, base fee per gas is 779 gwei
, and it doesn't go lower than that.
Other Polkadot parachains, e.g. Moonbeam (you mentioned Moonbase before which is their testnet) also have 125 gwei
as the base fee which makes them incompatible if price needs to be set to 100 gwei
.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.