Skip to content

Commit

Permalink
updated contract module for v0.5.0 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
svalasovich authored May 18, 2022
1 parent 4e29a9e commit 6d5d794
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions contract/pkg/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ type NodeStatus struct {
type Bucket struct {
OwnerId types.AccountID
ClusterId uint32
Flow Flow
ResourceReserved uint32
}

type Flow struct {
From types.AccountID
Schedule Schedule
}

type Schedule struct {
Rate types.U128
Offset types.U128
Expand Down
1 change: 0 additions & 1 deletion contract/pkg/mock/ddc_bucket_contract_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ func CreateBucket(bucketId uint32, bucketParams string) *pkg.BucketStatus {
Bucket: pkg.Bucket{
OwnerId: types.AccountID{},
ClusterId: 0,
Flow: pkg.Flow{},
ResourceReserved: 0,
},
Params: bucketParams,
Expand Down

0 comments on commit 6d5d794

Please sign in to comment.