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

TransferAssets payload size 설정 #56

Merged
merged 1 commit into from
Apr 18, 2024
Merged

TransferAssets payload size 설정 #56

merged 1 commit into from
Apr 18, 2024

Conversation

ipdae
Copy link
Member

@ipdae ipdae commented Apr 15, 2024

  • 100으로 고정되있던 TransferAssets의 Recipients 숫자를 설정가능하게 고칩니다.

@ipdae ipdae requested a review from a team April 15, 2024 06:07
@ipdae ipdae self-assigned this Apr 15, 2024
@ipdae ipdae linked an issue Apr 15, 2024 that may be closed by this pull request
result_format = f"world_boss_{raid_id}_{total_count}_{start_nonce}_result"
write_ranking_rewards_csv(file_name, results, raid_id, start_nonce, size)
result_format = (
f"world_boss_{raid_id}_{total_count}_{start_nonce}_{size}_result"
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we save result csv with payload_size? I think actual size delivered is payload_size and this should be saved to result CSV.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since there is a possibility that payload_size may change, left the size used when executing.

@@ -152,7 +153,7 @@ def write_ranking_rewards_csv(
amount,
currency["ticker"],
currency["decimalPlaces"],
start_nonce + int(i / 100),
start_nonce + int(i / size),
Copy link
Contributor

@U-lis U-lis Apr 17, 2024

Choose a reason for hiding this comment

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

int(i / size) : i // size also can do this 😃

@ipdae ipdae merged commit 347bff7 into main Apr 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

transfer_assets tx payload 사이즈 줄이기
2 participants