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

Always reset state between proposals #285

Merged
merged 5 commits into from
Jun 14, 2023
Merged

Always reset state between proposals #285

merged 5 commits into from
Jun 14, 2023

Conversation

BrandonWeng
Copy link
Contributor

@BrandonWeng BrandonWeng commented Jun 13, 2023

Describe your changes and provide context

Similar changes to here:
cosmos/cosmos-sdk#15487

Our fork of cosmos-sdk has a custom integration to get ABCI++ working so I'd like @codchen to take a second look

Testing performed to validate your change

Unit tests

Copy link
Contributor

@philipsu522 philipsu522 left a comment

Choose a reason for hiding this comment

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

What issues are we seeing / are we susceptible to by not having this in?

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Yes, this is necessary for clean state in case the proposal is rejected and needs to be created again.

@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #285 (25f2b87) into main (19db353) will increase coverage by 0.18%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #285      +/-   ##
==========================================
+ Coverage   54.99%   55.18%   +0.18%     
==========================================
  Files         619      619              
  Lines       51565    51569       +4     
==========================================
+ Hits        28357    28456      +99     
+ Misses      21163    21062     -101     
- Partials     2045     2051       +6     
Impacted Files Coverage Δ
baseapp/abci.go 64.06% <100.00%> (+10.26%) ⬆️

... and 2 files with indirect coverage changes

@BrandonWeng BrandonWeng requested a review from philipsu522 June 14, 2023 15:47
@BrandonWeng BrandonWeng merged commit db47ec3 into main Jun 14, 2023
@BrandonWeng BrandonWeng deleted the bweng-add-unit-test branch June 14, 2023 17:17
BrandonWeng added a commit that referenced this pull request Jun 15, 2023
## Describe your changes and provide context
Similar changes to here:
cosmos/cosmos-sdk#15487

Our fork of cosmos-sdk has a custom integration to get ABCI++ working so
I'd like @codchen to take a second look
## Testing performed to validate your change
Unit tests
BrandonWeng added a commit that referenced this pull request Jun 15, 2023
BrandonWeng added a commit that referenced this pull request Jun 15, 2023
This reverts commit db47ec3.

## Describe your changes and provide context
With optimistic processing this is not applicable on our side 

## Testing performed to validate your change
Launched a cluster with 3.0.3, with only this change applied and see
that it app hashes

![image](https://github.com/sei-protocol/sei-cosmos/assets/18161326/5d6b0606-aba5-4556-b2c9-6417572eee26)
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.

5 participants