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(transaction/validate): advance transaction validation when producing blocks #5575

Conversation

halibobo1205
Copy link
Contributor

close #5564 .

@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.4 milestone Nov 8, 2023
@halibobo1205 halibobo1205 self-assigned this Nov 8, 2023
.nextValidator(contractSizeValidator)
.nextValidator(taposTransactionValidator)
.nextValidator(signatureValidator);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The way you assembled the validator, the coupling is relatively high, can it be changed to a dynamic loading form to reduce the code coupling

@@ -260,6 +261,9 @@ public class Manager {
private ExecutorService filterEs;
private static final String filterEsName = "filter";

@Autowired
TransactionValidator transactionValidator;
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a private modifier for control

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.

Advance transaction validation when producing blocks
2 participants