-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(*): disable market transaction #6499
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
base: release_v4.8.1
Are you sure you want to change the base?
Conversation
| testAllowTvmSelfdestructRestrictionProposal(); | ||
|
|
||
| thrown = assertThrows(ContractValidateException.class, r1); | ||
| assertEquals("Bad chain parameter id [ALLOW_MARKET_TRANSACTION]", thrown.getMessage()); |
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.
Should the boundary version be explicitly set here?
forkUtils.getManager().getDynamicPropertiesStore().statsByVersion(
ForkBlockVersionEnum.VERSION_4_8_1.getValue(), stats);
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.
done
| ThrowingRunnable open = () -> ProposalUtil.validator(dynamicPropertiesStore, forkUtils, | ||
| ProposalType.ALLOW_MARKET_TRANSACTION.getCode(), 1); | ||
|
|
||
| ContractValidateException thrown = assertThrows(ContractValidateException.class, open); |
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.
Is there implicit version information 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.
Bad chain parameter id [ALLOW_MARKET_TRANSACTION] since 4.8.1, like this?
I noticed that the previous notice lacked version information. Is the newly added version information meant to distinguish between versions before 4.1 and versions 4.8.1 and later?
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’s also fine to keep it as is now.
waynercheung
left a comment
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.
LGTM
What does this PR do?
Disable market transaction since 4.8.1.
Why are these changes required?
Market transaction is not used.
This PR has been tested by:
Follow up
Extra details