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

[R4R]log: disable noisy logs since system transaction will cause gas capping #1015

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

unclezoro
Copy link
Collaborator

Description

Just remove noisy warning logs which are expected.

Rationale

BSC get system transaction whose gas limit is 9,223,372,036,854,775,807, which will always exceed the default 50,000,000 cap, so there is no need to warn.

Example

Dismiss the following logs:

t=2022-07-25T12:35:50+0000 lvl=warn msg="Caller gas above allowance, capping"   requested=9,223,372,036,854,775,807 cap=50,000,000

Changes

No

@unclezoro unclezoro merged commit cd46de9 into bnb-chain:develop Jul 25, 2022
This was referenced Jul 28, 2022
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.

4 participants