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

Make rdk compatible with tendermint #1115

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

Mdaiki0730
Copy link
Member

@Mdaiki0730 Mdaiki0730 commented Sep 6, 2023

Description

closes: #XXXX

Currently, finschia-rdk is built on the premise of using BeginRecheckTx, EndRecheckTx, CheckTxAsync defined in ostracon.
#49
#155

Compatibility with tendermint is created by updating checkState at commit time, and rdk can obtain compatibility with both ostracon and tendermint.
One option is to remove compatibility with ostracon and not consider simultaneous execution of CheckTx, but it is an option to keep it as an option when considering simultaneous execution with blockchain core compatible with Ramus or tendermint in the future. I think it's good.

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@Mdaiki0730 Mdaiki0730 self-assigned this Sep 6, 2023
@Mdaiki0730 Mdaiki0730 changed the base branch from main to for-ramus-sdk September 6, 2023 10:45
@Mdaiki0730 Mdaiki0730 marked this pull request as ready for review September 6, 2023 10:59
@ulbqb
Copy link
Member

ulbqb commented Sep 7, 2023

Can you add test about this issue?

@Mdaiki0730
Copy link
Member Author

@ulbqb
Thank you for your comment. I added a test to check for update of checkState.

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

❗ No coverage uploaded for pull request base (for-ramus-sdk@ae53464). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             for-ramus-sdk    #1115   +/-   ##
================================================
  Coverage                 ?   48.01%           
================================================
  Files                    ?       96           
  Lines                    ?     9208           
  Branches                 ?        0           
================================================
  Hits                     ?     4421           
  Misses                   ?     4503           
  Partials                 ?      284           

Copy link
Contributor

@shiki-tak shiki-tak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Mdaiki0730 Mdaiki0730 merged commit f2293da into for-ramus-sdk Sep 8, 2023
@Mdaiki0730 Mdaiki0730 deleted the fix/adapt-to-tendermint-abci branch September 8, 2023 01:08
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