Repository navigation
test: check the discount and an unregistered buy - #64
Conversation
Signed-off-by: sadiq1971 <sadiqurr8@gmail.com>
Signed-off-by: sadiq1971 <sadiqurr8@gmail.com>
moritzkiefer-da
left a comment
There was a problem hiding this comment.
similar to the other comment, let's test that as part of the normal integration test not localnet.
…n test [ci] Signed-off-by: sadiq1971 <sadiqurr8@gmail.com>
done |
moritzkiefer-da
left a comment
There was a problem hiding this comment.
why do we need to integration test this? doesn't the daml script test already give us the right coverage here? Or do you see backend logic that matter for this?
From the user story I wanted to cover all the cases in the integration tests. I can drop this if it is not required. |
moritzkiefer-da
left a comment
There was a problem hiding this comment.
thx seems simple enough that I don't mind the integration test here.
Signed-off-by: sadiq1971 <sadiqurr8@gmail.com>
Closes ChainSafe/canton-extending-mainnet#137
Summary: the sync operator integration test registers the synchronizer at a 0.5 discount, checks the purchase costs half the global synchronizer's price, and checks that a buy for an unregistered synchronizer is refused.