Skip to content

Commit

Permalink
Adapted tests to changed AccountData models
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed May 6, 2024
1 parent f6f3e60 commit c922159
Show file tree
Hide file tree
Showing 5 changed files with 418 additions and 469 deletions.
2 changes: 1 addition & 1 deletion pkg/protocol/engine/accounts/mana/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestManager_GetManaOnAccountOverflow(t *testing.T) {
), true, nil
default:
return accounts.NewAccountData(id,
accounts.WithCredits(accounts.NewBlockIssuanceCredits(iotago.MaxBlockIssuanceCredits/2, 0)),
accounts.WithCredits(accounts.NewBlockIssuanceCredits(iotago.MaxBlockIssuanceCredits/2+iotago.MaxBlockIssuanceCredits/4, 0)),
accounts.WithExpirySlot(iotago.MaxSlotIndex),
accounts.WithOutputID(iotago.OutputID{}),
accounts.WithBlockIssuerKeys(nil),
Expand Down
Loading

0 comments on commit c922159

Please sign in to comment.