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

Revert block.Evidence to nested block.Evidence.Evidence #136

Merged
merged 1 commit into from
May 15, 2023
Merged

Conversation

LCyson
Copy link
Contributor

@LCyson LCyson commented May 14, 2023

Describe your changes and provide context

This change reverts https://github.com/tendermint/tendermint/pull/7765/files, which removes the nested Evidence layer.

By adding the EvidenceData layer back, /block endpoint will return

"evidence":{"evidence":[]}

instead of

"evidence":[...]

Testing performed to validate your change

  • unit tests
  • e2e on local node

@LCyson LCyson changed the title Revert block Evidence data type to nested Evidence Revert block.Evidence to nested block.Evidence.Evidence May 14, 2023
@LCyson LCyson merged commit 3558d87 into main May 15, 2023
philipsu522 added a commit that referenced this pull request May 17, 2023
philipsu522 added a commit that referenced this pull request May 17, 2023
Timwood0x10 pushed a commit to Timwood0x10/sei-tendermint that referenced this pull request Jun 7, 2023
## Describe your changes and provide context
This PR adds eventMangaer to the mergeIterator to record resource access
for READ operation that doesn't access to the cache iterator but the
parent (often iavl) iterator.

## Testing performed to validate your change
- Load test
- Tested on local node
- unit test

Co-authored-by: Cyson <[email protected]>
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