Skip to content

core/state: kill diffguard Tier-1 survivors on V2 PDB hot paths

0c26b08
Select commit
Loading
Failed to load commit list.
Open

core, blockstm, state: add BlockSTM v2 parallel transaction execution #2210

core/state: kill diffguard Tier-1 survivors on V2 PDB hot paths
0c26b08
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 5, 2026 in 1m 6s

Annotations

Check failure on line 1305 in core/mainnet_witness_benchmark_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vQQTy0jLCvpuDx&open=AZ32n4vQQTy0jLCvpuDx&pullRequest=2210

Check failure on line 14 in core/state/invariants_off.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4rNQTy0jLCvpuDf&open=AZ32n4rNQTy0jLCvpuDf&pullRequest=2210

Check warning on line 868 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD8&open=AZ32n4vqQTy0jLCvpuD8&pullRequest=2210

Check failure on line 66 in core/state/v2_fuzz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 55 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4nMQTy0jLCvpuDW&open=AZ32n4nMQTy0jLCvpuDW&pullRequest=2210

Check warning on line 137 in core/blockstm/v2_executor_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4swQTy0jLCvpuDn&open=AZ32n4swQTy0jLCvpuDn&pullRequest=2210

Check failure on line 1688 in core/mainnet_witness_benchmark_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vQQTy0jLCvpuD0&open=AZ32n4vQQTy0jLCvpuD0&pullRequest=2210

Check failure on line 1227 in core/mainnet_witness_benchmark_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vQQTy0jLCvpuDw&open=AZ32n4vQQTy0jLCvpuDw&pullRequest=2210

Check warning on line 643 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD5&open=AZ32n4vqQTy0jLCvpuD5&pullRequest=2210

Check warning on line 946 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD-&open=AZ32n4vqQTy0jLCvpuD-&pullRequest=2210

Check warning on line 49 in core/blockstm/v2_executor_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4swQTy0jLCvpuDm&open=AZ32n4swQTy0jLCvpuDm&pullRequest=2210

Check warning on line 894 in core/state/parallel_statedb_coverage_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4pvQTy0jLCvpuDX&open=AZ32n4pvQTy0jLCvpuDX&pullRequest=2210

Check warning on line 919 in core/state/parallel_statedb_coverage_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4pvQTy0jLCvpuDY&open=AZ32n4pvQTy0jLCvpuDY&pullRequest=2210

Check warning on line 113 in core/state/v2_executor_differential_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4rXQTy0jLCvpuDg&open=AZ32n4rXQTy0jLCvpuDg&pullRequest=2210

Check failure on line 1107 in core/state/statedb.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4r-QTy0jLCvpuDh&open=AZ32n4r-QTy0jLCvpuDh&pullRequest=2210

Check warning on line 932 in core/state/parallel_statedb_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4sSQTy0jLCvpuDi&open=AZ32n4sSQTy0jLCvpuDi&pullRequest=2210

Check warning on line 315 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 9 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD2&open=AZ32n4vqQTy0jLCvpuD2&pullRequest=2210

Check warning on line 133 in core/blockstm/v2_executor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'context.Context' field and pass context as a parameter to methods that need it.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4s8QTy0jLCvpuDo&open=AZ32n4s8QTy0jLCvpuDo&pullRequest=2210

Check warning on line 904 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 12 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD9&open=AZ32n4vqQTy0jLCvpuD9&pullRequest=2210

Check warning on line 743 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 13 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuD7&open=AZ32n4vqQTy0jLCvpuD7&pullRequest=2210

Check failure on line 15 in core/blockstm/invariants_off.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4tEQTy0jLCvpuDp&open=AZ32n4tEQTy0jLCvpuDp&pullRequest=2210

Check failure on line 1123 in core/mainnet_witness_benchmark_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vQQTy0jLCvpuDu&open=AZ32n4vQQTy0jLCvpuDu&pullRequest=2210

Check failure on line 434 in core/parallel_state_processor_review_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Defer the cancel function 'cancel' after this context creation to prevent resource leaks.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4tlQTy0jLCvpuDr&open=AZ32n4tlQTy0jLCvpuDr&pullRequest=2210

Check failure on line 788 in core/mainnet_witness_benchmark_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vQQTy0jLCvpuDt&open=AZ32n4vQQTy0jLCvpuDt&pullRequest=2210

Check warning on line 1177 in core/parallel_state_processor.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4vqQTy0jLCvpuEA&open=AZ32n4vqQTy0jLCvpuEA&pullRequest=2210

Check failure on line 68 in core/state/v2_executor_fuzz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 58 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ32n4rDQTy0jLCvpuDe&open=AZ32n4rDQTy0jLCvpuDe&pullRequest=2210