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

Separate create and stage tx #358

Merged
merged 3 commits into from
Dec 13, 2024
Merged

Separate create and stage tx #358

merged 3 commits into from
Dec 13, 2024

Conversation

U-lis
Copy link
Collaborator

@U-lis U-lis commented Dec 13, 2024

  • Separate create tx and stage tx
    • Create transactions first and save
    • Then stage it after
      to prevent delivery duplication

resolves #356

- Separate create tx and stage tx
    - Create transactions first and save
    - Then stage it after
- This prevents delivery duplication casud by DB save missing
@U-lis U-lis added the bug Something isn't working label Dec 13, 2024
@U-lis U-lis requested a review from ipdae December 13, 2024 07:13
@U-lis U-lis self-assigned this Dec 13, 2024
ipdae
ipdae previously approved these changes Dec 13, 2024
@@ -16,7 +16,7 @@ def create_unsigned_tx(planet_id: PlanetID, public_key: str, address: str, nonce
# Genesis block hash
b"g": get_genesis_block_hash(planet_id),
# GasLimit (see also GasLimit list section below)
b"l": 1,
b"l": 4,
Copy link
Member

Choose a reason for hiding this comment

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

가스비는 왜 4로 올라간건가요? transfer_asset을 호출하나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

가끔 manual 로 다른 계정(SeasonPass 라던지) 으로 TransferAssets를 할 일이 있어서 limit 를 올려두었습니다

@U-lis U-lis added this to the v260.0.0 milestone Dec 13, 2024
@U-lis U-lis merged commit 1ad1c84 into development Dec 13, 2024
10 checks passed
@U-lis U-lis deleted the bugfix/put-nonce-first branch December 13, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

IAP Tx 중복 처리 의심 로직 수정
2 participants