Skip to content

Conversation

@gsteenkamp89
Copy link
Contributor

@gsteenkamp89 gsteenkamp89 commented Sep 9, 2025

Motivation

Per the MOOv2 contract, admin may set customLiveness and customBond after request time.
Update the request Price entity at propose time.

Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
log.info("State: {}", [priceRequestEntity.state!]);
});

test("Custom bond and liveness are applied to RequestPrice entity at PROPOSE time", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also test custom bond updates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
@gsteenkamp89 gsteenkamp89 requested a review from md0x September 10, 2025 12:11
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
@gsteenkamp89 gsteenkamp89 merged commit b0a18ca into master Sep 11, 2025
2 checks passed
@gsteenkamp89 gsteenkamp89 deleted the feat/handle-custom-values-at-propose-time branch September 11, 2025 08:38
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.

4 participants