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

feat(rpc/otterscan): set total_fees in ots_getBlockDetails #9477

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Jul 12, 2024

wait for alloy new release ref alloy-rs/alloy#1043

Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: jsvisa <delweng@gmail.com>
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty!

@mattsse mattsse added S-blocked This cannot more forward until something else changes A-rpc Related to the RPC implementation labels Jul 12, 2024
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

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

lgtm, will need a rebase tomorrow after the bump

.map(|receipt| receipt.gas_used.saturating_mul(receipt.effective_gas_price))
.sum::<u128>();

Ok(Some(BlockDetails::new(block, Default::default(), U256::from(total_fees))))
Copy link
Member

Choose a reason for hiding this comment

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

looks like the lint err is blocked on alloy bump, which should be coming soon

@mattsse mattsse enabled auto-merge July 16, 2024 21:08
@mattsse mattsse added this pull request to the merge queue Jul 16, 2024
Merged via the queue into paradigmxyz:main with commit fd117d7 Jul 16, 2024
32 checks passed
@jsvisa jsvisa deleted the ots-blockDetail branch July 16, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation S-blocked This cannot more forward until something else changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants