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 test for partial sgt #83

Merged
merged 1 commit into from
Nov 4, 2024
Merged

add test for partial sgt #83

merged 1 commit into from
Nov 4, 2024

Conversation

blockchaindevsh
Copy link

This PR adds 3 testcases for SGT:

  1. tx.value > acc.balance & tx.cost < acc.balance + acc.sgt_balance, should fail
  2. tx.cost > acc.balance + acc.sgt_balance, should fail
  3. tx.value <= acc.balance && tx.cost <= acc.balance + acc.sgt_balance, should succeed

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.

3 participants