oasisprotocol / explorer

Official explorer for the Oasis Network.
https://explorer.oasis.io
Apache License 2.0
8 stars 7 forks source link

Add gasPrice calculation in runtime tx detail view #1469

Closed lubej closed 2 months ago

lubej commented 2 months ago

Description

Quote from API docs: "For EVM transactions this is calculated as charged_fee = gas_price * gas_used, where gas_price = fee / gas_limit, for compatibility with Ethereum."

Resources

image

github-actions[bot] commented 2 months ago

Deployed to Cloudflare Pages

Latest commit: 8e9d209e4b10bcfb494d27ed58adebf7d6c7c078
Status:✅ Deploy successful!
Preview URL: https://fcb8d49a.oasis-explorer.pages.dev
lubej commented 2 months ago

@donouwens could you take a quick glance on how the Gas price is displayed. Particularly the (0.0000001 ROSE) part.

donouwens commented 2 months ago

@donouwens could you take a quick glance on how the Gas price is displayed. Particularly the (0.0000001 ROSE) part.

Seems a bit light, could we try the regular font color (#000062) and match it with the the GWEI?