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
SMR-1677 Flow Rate #41
SMR-1677 Flow Rate #41
Changes from 45 commits
9c9ecaa
c5bef71
d0326eb
0061c76
d2127d3
3e3d9ff
a952622
43f8499
1cc475d
d7d7bb3
26e1764
4b27639
51a246f
17f7170
ef8f6d4
a1ea466
589fbb7
de763bb
f8aac68
aacca8b
f6cfff8
665998b
a8ab7af
d8c29d9
597c36c
50719dc
9e7da29
a212c68
dbb404b
e7c7d5d
d4b8c7b
e516a76
f9f8218
d19a6f6
6b7aae1
89984eb
7e2232e
2faf0b9
96c8a85
bee0b43
af3c550
20e54cb
1234975
2ecb076
96ec6e8
924306a
9da89ea
ff61a98
919e0fc
6f75222
0b4422f
8448770
9316428
b90de74
e774fec
926bfaf
8a94099
0d2f16e
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 be called multiple times since its not gated by
initializer
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.
what do we want to do about this? should we check if the roles or other variables set on the initialiser are set and if they are revert? so it can only be called once? Or is the fact its internal and only be accessed through the bridge or flowrate initializers enough?
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 being internal is enough
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.
ill just remove the dev comment then :)
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.
Why aren't rootIMXToken and NATIVE_ETH stored in the mapping, so you can check them all at once rather than doing an if/else?
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.
I agree. I recall raising this a while back, in a different PR... the discussions around that are here for context
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.
this will be split out to another ticket as to not hold up this PR
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.
confirming my understanding here:
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.
not sure, i straight ported this file from the other repo. I haven't altered or reviewed this logic