Skip to content

v2.2.0

Compare
Choose a tag to compare
@sakulstra sakulstra released this 29 Jun 13:07
· 197 commits to master since this release
411ef5d

Breaking changes

As all maintained v3 pools have been upgraded to Protocol Version 3.0.2 the separation between ProtocolV3TestBase and ProtocolV3_0_1TestBase no longer made sense as we noticed ppl picking the wrong. ProtocolV3TestBase is the testbase you want to use everywhere but on harmony.

Therefore ProtocolV3TestBase is now ProtocolV3LegacyTestBase and ProtocolV3_0_1TestBase is now ProtocolV3TestBase.

- Contract is ProtocolV3_0_1TestBase {
+ Contract is ProtocolV3TestBase {
- Contract is ProtocolV3TestBase {
+ Contract is ProtocolV3LegacyTestBase {

TestWithExecutor was removed from the codebase as it was the duplicated functionality as already provided via GovHelper.executePayload()

- Contract is TestWithExecutor {
- _selectPayloadExecutor(address);
- _executePayload(address);
+ GovHelper.executePayload(vm, payloadAddress, executorAddress);

struct Payload previously contained only a subset of payload fields. We added all the missing ones to make is usable for more complex usecases as well.
Most users should not face any issues as all existing methods have been upgraded to return the full set of properties.

Full Changelog: v2.1.0...v2.2.0