Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gas display and document block gas limit values #182

Merged
merged 4 commits into from
Mar 8, 2023
Merged

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Mar 7, 2023

Before After
localhost_1234_emerald_transactions_0205643075fd26f8d0bbd1993c841bd4406809a515b9b4a6638ccbc898042436 (1) localhost_1234_emerald_transactions_0205643075fd26f8d0bbd1993c841bd4406809a515b9b4a6638ccbc898042436

@lukaw3d lukaw3d requested review from buberdds and csillag March 7, 2023 18:06
transactions: data.transactions.map(tx => {
return {
...tx,
fee: tx.fee ? fromBaseUnits(tx.fee, paraTimesConfig.emerald!.decimals) : undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a parameter called runtime, but we are still using hard-coded emerald values here. Is that intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'll leave that to sapphire migration PRs

Copy link
Contributor

@csillag csillag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. LGTM.

(I had one small question, but it only relates to formatting, so not crucial.)

@cloudflare-pages
Copy link

cloudflare-pages bot commented Mar 8, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: bd92cc3
Status: ✅  Deploy successful!
Preview URL: https://be2f355e.oasis-explorer.pages.dev
Branch Preview URL: https://lw-block-gas.oasis-explorer.pages.dev

View logs

@lukaw3d lukaw3d merged commit 633fae3 into master Mar 8, 2023
@lukaw3d lukaw3d deleted the lw/block-gas branch March 8, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix transaction details gas
2 participants