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

feat(rpc): v.0.8 only allows v3 transactions in the write api #2508

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

CHr15F0x
Copy link
Member

@CHr15F0x CHr15F0x commented Jan 22, 2025

Fixes: #2498

I decided to add a "filtering layer" in v08 specific implementations instead of fiddling with deserialization, which would be against existing convention, ie. we deserialize older transaction versions correctly and then return UnsupportedTxVersion.

Most of the code is just test related boilerplate which could be shrunk, but then I'd have to litter all the dtos with #[cfg_attr(test, derive(Dummy))] which I'm not sure is better in this case.

@CHr15F0x CHr15F0x marked this pull request as ready for review January 22, 2025 12:25
@CHr15F0x CHr15F0x requested a review from a team as a code owner January 22, 2025 12:25
@CHr15F0x CHr15F0x merged commit f29a5ec into main Jan 22, 2025
8 checks passed
@CHr15F0x CHr15F0x deleted the chris/v3-txs-in-write-api-0.8 branch January 22, 2025 13:54
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.

Remove pre-v3 transaction support from the write API
3 participants