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

Add new TPS loader load type: EVM batch transfer #5879

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

janezpodhostnik
Copy link
Contributor

@janezpodhostnik janezpodhostnik commented May 9, 2024

closes: #5745

Added evm-batch-transfer load to do multiple EVM transfers within one FVM transaction

@janezpodhostnik janezpodhostnik self-assigned this May 9, 2024
Base automatically changed from janez/TPS-token-transfer-multi to master May 9, 2024 13:25
@janezpodhostnik janezpodhostnik marked this pull request as ready for review May 9, 2024 16:42
@codecov-commenter
Copy link

codecov-commenter commented May 9, 2024

Codecov Report

Attention: Patch coverage is 70.40816% with 87 lines in your changes are missing coverage. Please review.

Project coverage is 55.84%. Comparing base (2eb52b4) to head (f232061).
Report is 271 commits behind head on master.

Files Patch % Lines
integration/benchmark/load/evm_batch_load.go 78.40% 40 Missing and 17 partials ⚠️
integration/benchmark/contLoadGenerator.go 0.00% 16 Missing ⚠️
integration/benchmark/adjuster.go 0.00% 12 Missing ⚠️
integration/benchmark/load/load_type.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5879      +/-   ##
==========================================
+ Coverage   55.62%   55.84%   +0.22%     
==========================================
  Files        1134     1131       -3     
  Lines       89623    89556      -67     
==========================================
+ Hits        49853    50013     +160     
+ Misses      34981    34774     -207     
+ Partials     4789     4769      -20     
Flag Coverage Δ
unittests 55.84% <70.40%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

}

func (l *EVMBatchTransferLoad) Load(log zerolog.Logger, lc LoadContext) error {
select {
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a way to gracefully shutdown?

var _ io.Closer = (*EVMBatchTransferLoad)(nil)

func (l *EVMBatchTransferLoad) Close() error {
close(l.eoaChan)
Copy link
Contributor

Choose a reason for hiding this comment

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

closing this async will probably result in random panics

@janezpodhostnik janezpodhostnik marked this pull request as draft May 16, 2024 15:27
@janezpodhostnik janezpodhostnik marked this pull request as draft May 16, 2024 15:27
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.

Add EVM batch.run load test
4 participants