Skip to content

Conversation

@dechdev
Copy link
Contributor

@dechdev dechdev commented Oct 27, 2021

Operations table no longer has the member field associated with it

Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Looks good to me, other than one minor thing noted.

Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Actually, just noticed one thing in operation.go that does need to be changed.

Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

Agree with pulling this out. There might be a multi-tenant scenario in the future where we need tracking of which identity an operation is associated with (beyond the linked object), but until we have the requirement we won't know what the field should look like.

@awrichar
Copy link
Contributor

@peterbroadhurst agreed. Right now it's wildly inconsistent what different operations are storing in that field, and nobody is actually reading it. Better to come back to it when we have a real use case.

@dechdev dechdev requested a review from awrichar October 27, 2021 20:46
@codecov-commenter
Copy link

Codecov Report

Merging #300 (8a45ee1) into main (db94b5e) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #300   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          224       224           
  Lines        12380     12370   -10     
=========================================
- Hits         12380     12370   -10     
Impacted Files Coverage Δ
internal/database/sqlcommon/operation_sql.go 100.00% <ø> (ø)
internal/assets/token_pool.go 100.00% <100.00%> (ø)
internal/assets/token_pool_created.go 100.00% <100.00%> (ø)
internal/assets/token_transfer.go 100.00% <100.00%> (ø)
internal/batchpin/batchpin.go 100.00% <100.00%> (ø)
internal/broadcast/manager.go 100.00% <100.00%> (ø)
internal/privatemessaging/privatemessaging.go 100.00% <100.00%> (ø)
pkg/fftypes/operation.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db94b5e...8a45ee1. Read the comment docs.

@nguyer nguyer merged commit ce179d5 into hyperledger:main Oct 28, 2021
@dechdev dechdev deleted the remove-member-field branch February 11, 2022 16:12
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.

5 participants