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: add options + retaining oracle data in proposals [BLO-840] #90

Merged
merged 5 commits into from
Feb 8, 2024

Conversation

nivasan1
Copy link
Contributor

@nivasan1 nivasan1 commented Feb 7, 2024

In This PR

  • I add a field retainOracleDataInWrappedHandler which determines whether or not the ProposalHandler shld pass the oracle-data to the wrapped Prepare / ProcessProposalHandler.
  • Previously, our behavior was to inject on Prepare, and not inject in Process -> this led to inconsistencies in dydx / berachain

@nivasan1 nivasan1 changed the title add options + retaining oracle data in proposals feat: add options + retaining oracle data in proposals [BLO-840] Feb 7, 2024
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (63ceb41) 74.92% compared to head (5cc81e3) 74.95%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   74.92%   74.95%   +0.03%     
==========================================
  Files         134      135       +1     
  Lines        5523     5531       +8     
==========================================
+ Hits         4138     4146       +8     
  Misses       1040     1040              
  Partials      345      345              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nivasan1 nivasan1 marked this pull request as ready for review February 7, 2024 23:55
abci/proposals/options.go Outdated Show resolved Hide resolved
@nivasan1 nivasan1 merged commit 578001b into main Feb 8, 2024
9 checks passed
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.

2 participants