Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ZIP-0 Part I #862
ZIP-0 Part I #862
Changes from 99 commits
0c3e70d
7e77047
b16eb03
d20682d
999a2fc
2d69ad2
19585bf
1e7fd66
c9adaf3
500060d
d438701
26b5dde
52fa258
d74c949
773fe57
8428c24
ec9260c
e724498
db7670d
8b015f7
535ea00
81db3ee
a02b3c9
fedd819
818c68a
4a4f2d4
722d29c
7281007
7059171
39b2bbf
04fce1b
55dc26c
e54dc31
3466a73
556d0f5
45e51ba
9654780
27721f6
56d0319
6628a46
a725181
31af8e8
09ab27b
02ecf9c
7f6bc00
7c7098c
b618605
25d2cfd
5e29644
fbf45ab
b038a96
a948faa
30ce824
d539bf6
a99b8bc
580bc07
846d926
8a8c4b9
346d892
0c00e8f
e8761d2
ac8a7e5
e603788
1812e19
5fbec34
65be714
e5d59ed
fb48a7e
7657bf6
5f036d3
5f3fb41
de1c7d2
f9eb238
0f3b1e1
9d7f8e2
ccfa04f
cb038d8
8b81a11
eb7b533
05fdef7
9d8d3cb
c127139
9aa93c4
c4b623a
2398ce0
532b686
193dc1b
bce0c39
ceddfa9
29a684d
7a6eaad
2651517
33b554b
c67a4a1
956f3f4
8c79cf6
c46c579
aad23fc
b41af6a
aea06f8
7ba0801
cfc576a
d328b2f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
can't we cover the case when it shouldn't be called with some Error?
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.
Good question. I'm okay either way, but an error might be cleaner than "hoping" that the caller never messes up.
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.
Honestly, we could also remove
resolve
completely, since we don't use it at the moment 😄 . It is just, that we only have current scenarios, in which markets should resolve in the future.But I can imagine, that this function is pretty useful and logical. I used it first, when I restructured
authorized
. The idea was to resolve the market directly, when the authority made its report.It is up to you. Do we want to remove this API method?
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.
Malte suggested to leave it in, because it's useful and a common thing to resolve a market directly.