-
Notifications
You must be signed in to change notification settings - Fork 12
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
posdaoTransition spec option #151
Conversation
00ec497
to
e12e388
Compare
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.
Looks correct, but I haven't tested it.
Not sure what's the best approach to testing here: We can't expect the posdao-test-setup
tests to pass before the POSDAO transition block, and I'm not sure the contracts are fully compatible in the first place?
I'll think about it. I will first check the code and unit tests, then try to launch it with |
The code looks good, but I didn't yet test it with test setups. As far as I understand, the |
It is set to 0 in the integration test branch ⬆️ What unit tests are you thinking of? We might need to provide template POSDAO contracts in |
I mean |
Those old tests assume |
No, I just mean that the unit tests worked with the activated posdao features by default before this PR. Now, since the |
I changed the transition to |
Ok, thanks |
We also need to only activate zero gas price for the |
Let's also add an |
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.
Works well but we need to add a couple of additions before merging to aura-pos
: #151 (comment) and #151 (comment)
Yes, I'll add those. |
e7f3ea1
to
4ee9e9e
Compare
I've implemented the two additions. @varasev, can you please check if that's what you need? |
The PR is ready for testing. All the features are now implemented. |
Fixes #141.
This PR can be tested with https://github.com/poanetwork/posdao-test-setup/tree/posdao-transition