Skip to content

add(txpool): add max code init size check in txpool#68

Merged
bladehan1 merged 1 commit intobttcprotocol:developfrom
bladehan1:fea-size-check
Mar 6, 2024
Merged

add(txpool): add max code init size check in txpool#68
bladehan1 merged 1 commit intobttcprotocol:developfrom
bladehan1:fea-size-check

Conversation

@bladehan1
Copy link
Copy Markdown
Contributor

No description provided.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #68 (c15349e) into develop (97ef7d9) will increase coverage by 0.27%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop      #68      +/-   ##
===========================================
+ Coverage    13.62%   13.90%   +0.27%     
===========================================
  Files           11       11              
  Lines         1431     1431              
===========================================
+ Hits           195      199       +4     
+ Misses        1180     1176       -4     
  Partials        56       56              

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment thread core/tx_pool.go
}
// Check whether the init code size has been exceeded.
// (TODO): Add a hardfork check here while pulling upstream changes.
if tx.To() == nil && len(tx.Data()) > params.MaxInitCodeSize {

This comment was marked as resolved.

@bladehan1 bladehan1 merged commit b48bfb3 into bttcprotocol:develop Mar 6, 2024
@bladehan1 bladehan1 deleted the fea-size-check branch May 16, 2024 01:10
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