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

Common sdk merge #665

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build
  • Loading branch information
Jayashsatolia403 committed Jan 12, 2025
commit 8be45f695d53d9fa1540b3c99f902e5e42a2ab81
2 changes: 1 addition & 1 deletion cmd/newallocation.go
Original file line number Diff line number Diff line change
@@ -284,7 +284,7 @@ var newallocationCmd = &cobra.Command{
}

allocationID, _, _, err = sdk.CreateAllocationForOwner(owner, ownerPublicKey, *datashards, *parityshards,
*size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams)
*size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams, 0)
if err != nil {
log.Fatal("Error creating allocation: ", err)
}
2 changes: 2 additions & 0 deletions cmd/updateallocation.go
Original file line number Diff line number Diff line change
@@ -131,6 +131,7 @@ var updateAllocationCmd = &cobra.Command{
allocUnderRepair = true
if txnHash, err := allocationObj.UpdateWithRepair(
size,
0,
extend,
lock,
addBlobberId,
@@ -154,6 +155,7 @@ var updateAllocationCmd = &cobra.Command{
} else {
txnHash, _, err := sdk.UpdateAllocation(
size,
0,
extend,
allocID,
lock,