Skip to content

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

Merged
unclezoro merged 1 commit intobnb-chain:developfrom
unclezoro:walt/remove_log
Jul 25, 2022
Merged

[R4R]log: disable noisy logs since system transaction will cause gas capping#1015
unclezoro merged 1 commit intobnb-chain:developfrom
unclezoro:walt/remove_log

Conversation

@unclezoro
Copy link
Copy Markdown
Contributor

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