-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: store ipfsCID as a public variable #284
Conversation
not sure what you mean. unaffected compared to what? i haven't properly reviewed it yet, but it doesn't make sense for me to not include it in the struct |
// current API
function createMerkleLockupLL(
MerkleLockup.ConstructorParams memory baseParams,
ISablierV2LockupLinear lockupLinear,
LockupLinear.Durations memory streamDurations,
string memory ipfsCID,
uint256 aggregateAmount,
uint256 recipientsCount
)
external
returns (ISablierV2MerkleLockupLL merkleLockupLL); vs // API if we include ipfsCID in baseParams
function createMerkleLockupLL(
MerkleLockup.ConstructorParams memory baseParams,
ISablierV2LockupLinear lockupLinear,
LockupLinear.Durations memory streamDurations,
uint256 aggregateAmount,
uint256 recipientsCount
)
external
returns (ISablierV2MerkleLockupLL merkleLockupLL); By not including What do you think about this? |
this "current" version is not actually current 😅. we are still developing on the real current API, is already changed since we've added the struct in the first place, meaning the UI already needs to be updated. so, this is why it doesn't make sense to not add it in the struct v2-periphery/src/interfaces/ISablierV2MerkleStreamerFactory.sol Lines 51 to 63 in 53e2590
|
You are right. I think I got lost in an alternate parallel reality where we have already shipped the staging by now 🤣 I'll update the PR today. |
af9fc2f
to
2d83282
Compare
1804e53
to
8276e73
Compare
2d83282
to
d3dd118
Compare
241b49c
to
536be9e
Compare
fix: remove additional implementation of name()
d3dd118
to
09bf5b8
Compare
@andreivladbrg we can merge this one. I have removed its dependency from #282. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, expect for this one question
Closes #281.
Note
ipfsCID
is included in theMerkleLockup.ConstructorParams
struct.ipfsCID
is stored asstring
because of it's nondeterministic CID length.