Skip to content

[Sei] add dex twap custom query#81

Merged
codchen merged 2 commits intomasterfrom
tony-chen-add-custom-queries
Jul 5, 2022
Merged

[Sei] add dex twap custom query#81
codchen merged 2 commits intomasterfrom
tony-chen-add-custom-queries

Conversation

@codchen
Copy link
Collaborator

@codchen codchen commented Jul 4, 2022

Allow CW contracts to query dex module for execution price twap per contract

@codchen codchen requested review from LCyson and udpatil July 4, 2022 03:55
return nil, sdkerrors.Wrap(err, "Error encoding dex twaps as JSON")
}

return bz, nil
Copy link
Contributor

Choose a reason for hiding this comment

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

what does the name bz mean here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's shorthand for bytes (i think)

@codchen codchen merged commit e69d41d into master Jul 5, 2022
masih pushed a commit that referenced this pull request Sep 26, 2025
masih pushed a commit that referenced this pull request Sep 29, 2025
## Describe your changes and provide context
Updates ante handler dependencies 

## Testing performed to validate your change

#354
masih pushed a commit that referenced this pull request Sep 30, 2025
## Describe your changes and provide context
Updates ante handler dependencies 

## Testing performed to validate your change

#354
masih pushed a commit that referenced this pull request Oct 1, 2025
* Fix race condition around consensus state

* Remove write lock since we already acquired it earlier

* Fix lock

---------

Co-authored-by: Yiming Zang <yzang@twitter.com>
masih pushed a commit that referenced this pull request Oct 9, 2025
@masih masih deleted the tony-chen-add-custom-queries branch October 31, 2025 15:52
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