Skip to content
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

Fixup transaction validation for 1.2.0 #1460

Merged
merged 5 commits into from
Feb 8, 2022

Conversation

cbeck88
Copy link
Contributor

@cbeck88 cbeck88 commented Feb 8, 2022

Per James, I actually got the release plan wrong for the RTH stuff.
The idea was supposed to be, update all readers first, in 1.2.0,
and only in the next release may writing memos be allowed.

This means that, transaction validation should enforce for now
that memos do not exist in the chain.

In MCIP 26 we may introduce a mechanism to allow turning on the
memos. That is not yet implemented. We will continue to work on that
but by merging this to master now, we make it possible to branch
for release conceivably, and create clients capable of reading memos, while
we could later make a release that accepts writing memos in the
future.

We can discuss separately if the scope for 1.2.0 should be to
include a block_version-aware TransactionBuilder, it's possible
that it should be and then we aren't ready to branch. (We also still
need to adjust some of the memo schemas.) But then this
commit is still a fine basis for future iteration.

Per James, I actually got the release plan wrong for the RTH stuff.
The idea was supposed to be, update all readers first, in 1.2.0,
and only in the next release may writing memos be allowed.

This means that, transaction validation should enforce for now
that memos do not exist in the chain.

In MCIP mobilecoinfoundation#26 we may introduce a mechanism to allow turning on the
memos. That is not yet implemented. We will continue to work on that
but by merging this to master now, we make it possible to branch
for release now, and create clients capable of reading memos, while
we could later make a release that accepts writing memos in the
future.

We can discuss separately if the scope for 1.2.0 should be to
include a `block_version`-aware `TransactionBuilder`, it's possible
that it should be and then we aren't ready to branch. But then this
commit is still a fine basis for future iteration.
@cbeck88 cbeck88 requested review from jcape, mfaulk, eranrund, sugargoat, wjuan-mob and a team February 8, 2022 02:52
transaction/core/src/validation/validate.rs Outdated Show resolved Hide resolved
@cbeck88 cbeck88 merged commit 9143f96 into mobilecoinfoundation:master Feb 8, 2022
@cbeck88 cbeck88 deleted the fixups-for-1.2.0 branch February 8, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants