-
Notifications
You must be signed in to change notification settings - Fork 157
Conversation
4d86fef
to
1c948fb
Compare
uint256 marketId, | ||
uint32 expiryTime | ||
) = parseCallArgs(data); | ||
ExpiryArg[] memory expiries = abi.decode(data, (ExpiryArg[])); |
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.
Ethlint (aka solium) fails on this line, ruining the whole file duaraghav8/Ethlint#261
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.
"fixed in next release" - Apr 25 😢
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.
63f4d07
to
dd3c3a1
Compare
uint256 marketId, | ||
uint32 expiryTime | ||
) = parseCallArgs(data); | ||
ExpiryArg[] memory expiries = abi.decode(data, (ExpiryArg[])); |
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.
"fixed in next release" - Apr 25 😢
uint256 marketId, | ||
uint32 expiryTime | ||
) = parseCallArgs(data); | ||
ExpiryArg[] memory expiries = abi.decode(data, (ExpiryArg[])); |
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.
85659f1
to
6eb2976
Compare
continue; | ||
} else { | ||
// bound the time by the minimum approved timeDelta | ||
timeDelta = Math.max(minApprovedTimeDelta, exp.timeDelta).to32(); |
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.
Hmm... I wonder if this should do nothing instead of setting it to minApprovedTimeDelta
fef6bdd
to
1d74247
Compare
|
||
// ============ Approval Functions ============ | ||
|
||
function approveSender( |
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.
it's weird you also have to use the "approveSender" function to unapprove someone (by setting minTimeDelta
to 0)
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.
would it better as "setApproval"?
8f002ed
to
9d76bc5
Compare
No description provided.